basememory.py
来自「linux下基于c++的处理器仿真平台。具有处理器流水线」· Python 代码 · 共 16 行
PY
16 行
from m5 import *from BaseMem import BaseMemclass BaseMemory(BaseMem): type = 'BaseMemory' abstract = True compressed = Param.Bool(False, "This memory stores compressed data.") do_writes = Param.Bool(False, "update memory") in_bus = Param.Bus(NULL, "incoming bus object") snarf_updates = Param.Bool(True, "update memory on cache-to-cache transfers") uncacheable_latency = Param.Latency('0ns', "uncacheable latency") if build_env['FULL_SYSTEM']: func_mem = Param.FunctionalMemory(Parent.physmem, "corresponding functional memory object")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?