1 from m5
.SimObject
import SimObject
2 from m5
.params
import *
4 class ConsoleListener(SimObject
):
5 type = 'ConsoleListener'
6 port
= Param
.TcpPort(3456, "listen port")
8 class SimConsole(SimObject
):
10 append_name
= Param
.Bool(True, "append name() to filename")
11 intr_control
= Param
.IntrControl(Parent
.any
, "interrupt controller")
12 listener
= Param
.ConsoleListener("console listener")
13 number
= Param
.Int(0, "console number")
14 output
= Param
.String('console', "file to dump output to")