CPU: Get rid of two more duplicated CPU params.
This commit is contained in:
@@ -35,8 +35,6 @@ class AtomicSimpleCPU(BaseSimpleCPU):
|
||||
width = Param.Int(1, "CPU width")
|
||||
simulate_data_stalls = Param.Bool(False, "Simulate dcache stall cycles")
|
||||
simulate_inst_stalls = Param.Bool(False, "Simulate icache stall cycles")
|
||||
function_trace = Param.Bool(False, "Enable function trace")
|
||||
function_trace_start = Param.Tick(0, "Cycle to start function trace")
|
||||
icache_port = Port("Instruction Port")
|
||||
dcache_port = Port("Data Port")
|
||||
physmem_port = Port("Physical Memory Port")
|
||||
|
||||
@@ -32,8 +32,6 @@ from BaseSimpleCPU import BaseSimpleCPU
|
||||
|
||||
class TimingSimpleCPU(BaseSimpleCPU):
|
||||
type = 'TimingSimpleCPU'
|
||||
function_trace = Param.Bool(False, "Enable function trace")
|
||||
function_trace_start = Param.Tick(0, "Cycle to start function trace")
|
||||
icache_port = Port("Instruction Port")
|
||||
dcache_port = Port("Data Port")
|
||||
_mem_ports = BaseSimpleCPU._mem_ports + ['icache_port', 'dcache_port']
|
||||
|
||||
Reference in New Issue
Block a user