alphatlb.py
来自「M5,一个功能强大的多处理器系统模拟器.很多针对处理器架构,性能的研究都使用它作」· Python 代码 · 共 21 行
PY
21 行
from m5.SimObject import SimObjectfrom m5.params import *class AlphaTLB(SimObject): type = 'AlphaTLB' abstract = True size = Param.Int("TLB size")class AlphaDTB(AlphaTLB): type = 'AlphaDTB' cxx_namespace = 'AlphaISA' cxx_class = 'DTB' size = 64class AlphaITB(AlphaTLB): type = 'AlphaITB' cxx_namespace = 'AlphaISA' cxx_class = 'ITB' size = 48
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?