summaryrefslogtreecommitdiff
path: root/src/mem/CommMonitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/CommMonitor.py')
-rw-r--r--src/mem/CommMonitor.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mem/CommMonitor.py b/src/mem/CommMonitor.py
index 4e8cfe270..ba871357d 100644
--- a/src/mem/CommMonitor.py
+++ b/src/mem/CommMonitor.py
@@ -53,6 +53,13 @@ class CommMonitor(MemObject):
master = MasterPort("Master port")
slave = SlavePort("Slave port")
+ # Boolean to enable or disable the trace. Writes to an a file named based on
+ # SimObject hierarchy.
+ trace_enable = Param.Bool(False, "Enable trace capture")
+
+ # Boolean to compress the trace or not.
+ trace_compress = Param.Bool(True, "Enable trace compression")
+
# packet trace output file, disabled by default
trace_file = Param.String("", "Packet trace output file")