1 from m5
.params
import *
2 from m5
.SimObject
import SimObject
4 class RubyDebug(SimObject
):
8 filter_string
= Param
.String('none',
9 "a string for filtering debugging output (see Debug.h)")
10 verbosity_string
= Param
.String('none',
11 "filters debugging messages based on priority (low, med, high)")
12 output_filename
= Param
.String('none',
13 "sends debugging messages to a file")
14 start_time
= Param
.Tick(1,
15 "filters debugging messages based on a ruby time")
16 # For debugging purposes, one can enable a trace of all the protocol
17 # state machine changes. Unfortunately, the code to generate the
18 # trace is protocol specific. To enable the code for some of the
20 # 1. change protocol_trace = true
21 # 2. enable debug in the Ruby Makefile
22 protocol_trace
= Param
.Bool(False,
23 "enable protocol state machine trace")