📄 simpleconfig.py
字号:
from m5 import *class L1Cache(BaseCache): size = '64kB' assoc = 2 block_size = 64 latency = Parent.clock.period mshrs = 4 tgts_per_mshr = 8 protocol = CoherenceProtocol(protocol='msi')class CPU(SimpleCPU): icache = L1Cache(out_bus=Parent.toMembus) dcache = L1Cache(out_bus=Parent.toMembus)class SimpleStandAlone(Root): cpu = CPU() hier = HierParams(do_data=False, do_events=False) toMembus = Bus(width=16, clock=1*Parent.clock.period) dram = BaseMemory(in_bus=Parent.toMembus, latency=100*Parent.clock.period, uncacheable_latency=1000*Parent.clock.period)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -