and resulting recursive import trickiness. --HG-- extra : convert_revision : 1ea93861eb8d260c9f3920dda0b8106db3e03705
15 lines
546 B
Python
15 lines
546 B
Python
from m5.SimObject import SimObject
|
|
from m5.params import *
|
|
from m5.proxy 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")
|