simconsole.py

来自「linux下基于c++的处理器仿真平台。具有处理器流水线」· Python 代码 · 共 13 行

PY
13
字号
from m5 import *class ConsoleListener(SimObject):    type = 'ConsoleListener'    port = Param.TcpPort(3456, "listen port")class SimConsole(SimObject):    type = 'SimConsole'    append_name = Param.Bool(True, "append name() to filename")    intr_control = Param.IntrControl(Parent.any, "interrupt controller")    listener = Param.ConsoleListener("console listener")    number = Param.Int(0, "console number")    output = Param.String('console', "file to dump output to")

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?