summaryrefslogtreecommitdiff
path: root/tests/configs/tgen-simple-mem.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/configs/tgen-simple-mem.py')
-rw-r--r--tests/configs/tgen-simple-mem.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/configs/tgen-simple-mem.py b/tests/configs/tgen-simple-mem.py
index 1e07efe2c..be700ac7a 100644
--- a/tests/configs/tgen-simple-mem.py
+++ b/tests/configs/tgen-simple-mem.py
@@ -54,9 +54,11 @@ system = System(cpu = cpu, physmem = SimpleMemory(),
voltage_domain =
VoltageDomain()))
-# add a communication monitor, and also trace all the packets
+# add a communication monitor, and also trace all the packets and
+# calculate and verify stack distance
system.monitor = CommMonitor(trace_file = "monitor.ptrc.gz",
- trace_enable = True)
+ trace_enable = True,
+ stack_dist_calc = StackDistCalc(verify = True))
# connect the traffic generator to the bus via a communication monitor
system.cpu.port = system.monitor.slave