From 8e4235939a41d32e505173e9f870fd5a76e2d2ca Mon Sep 17 00:00:00 2001 From: Peter Gadfort Date: Tue, 9 Jul 2024 15:25:18 -0400 Subject: [PATCH] remove trace by default --- umi/lumi/testbench/test_lumi.py | 3 +-- umi/lumi/testbench/test_lumi_rnd.py | 2 +- umi/umi/testbench/test_crossbar.py | 3 +-- umi/umi/testbench/test_fifo.py | 3 +-- umi/umi/testbench/test_fifo_flex.py | 3 +-- umi/umi/testbench/test_mem_agent.py | 3 +-- umi/umi/testbench/test_regif.py | 3 +-- umi/umi/testbench/test_umi_ram.py | 3 +-- umi/utils/testbench/test_umi2axilite.py | 3 +-- umi/utils/testbench/test_umi2tl_np.py | 3 +-- umi/utils/testbench/test_umi_address_remap.py | 3 +-- umi/utils/testbench/test_umi_packet_merge_greedy.py | 3 +-- 12 files changed, 12 insertions(+), 23 deletions(-) diff --git a/umi/lumi/testbench/test_lumi.py b/umi/lumi/testbench/test_lumi.py index a06f826..0ab114f 100755 --- a/umi/lumi/testbench/test_lumi.py +++ b/umi/lumi/testbench/test_lumi.py @@ -13,7 +13,7 @@ def build_testbench(topo="2d", trace=False): - dut = SbDut('testbench', trace=False, trace_type='fst', default_main=True) + dut = SbDut('testbench', trace=trace, trace_type='fst', default_main=True) # Set up inputs dut.input('lumi/testbench/testbench_lumi.sv', package='umi') @@ -39,7 +39,6 @@ def build_testbench(topo="2d", trace=False): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/lumi/testbench/test_lumi_rnd.py b/umi/lumi/testbench/test_lumi_rnd.py index bf2fbe8..118f692 100755 --- a/umi/lumi/testbench/test_lumi_rnd.py +++ b/umi/lumi/testbench/test_lumi_rnd.py @@ -13,7 +13,7 @@ def build_testbench(topo="2d", trace=False): - dut = SbDut('testbench', trace=False, trace_type='fst', default_main=True) + dut = SbDut('testbench', trace=trace, trace_type='fst', default_main=True) # Set up inputs dut.input('lumi/testbench/testbench_lumi.sv', package='umi') diff --git a/umi/umi/testbench/test_crossbar.py b/umi/umi/testbench/test_crossbar.py index 251c205..d43e584 100755 --- a/umi/umi/testbench/test_crossbar.py +++ b/umi/umi/testbench/test_crossbar.py @@ -12,7 +12,7 @@ def build_testbench(): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('umi/testbench/testbench_crossbar.sv', package='umi') @@ -31,7 +31,6 @@ def build_testbench(): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/umi/testbench/test_fifo.py b/umi/umi/testbench/test_fifo.py index e6b5fe7..d4b3d24 100755 --- a/umi/umi/testbench/test_fifo.py +++ b/umi/umi/testbench/test_fifo.py @@ -11,7 +11,7 @@ def build_testbench(): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('umi/testbench/testbench_fifo.sv', package='umi') @@ -30,7 +30,6 @@ def build_testbench(): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/umi/testbench/test_fifo_flex.py b/umi/umi/testbench/test_fifo_flex.py index 25415c8..5437674 100755 --- a/umi/umi/testbench/test_fifo_flex.py +++ b/umi/umi/testbench/test_fifo_flex.py @@ -11,7 +11,7 @@ def build_testbench(split=False): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('umi/testbench/testbench_fifo_flex.sv', package='umi') @@ -32,7 +32,6 @@ def build_testbench(split=False): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/umi/testbench/test_mem_agent.py b/umi/umi/testbench/test_mem_agent.py index a091716..e90b8ef 100755 --- a/umi/umi/testbench/test_mem_agent.py +++ b/umi/umi/testbench/test_mem_agent.py @@ -10,7 +10,7 @@ def build_testbench(): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('umi/testbench/testbench_mem_agent.sv', package='umi') @@ -29,7 +29,6 @@ def build_testbench(): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/umi/testbench/test_regif.py b/umi/umi/testbench/test_regif.py index dccd6c3..1b855bc 100755 --- a/umi/umi/testbench/test_regif.py +++ b/umi/umi/testbench/test_regif.py @@ -11,7 +11,7 @@ def build_testbench(): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('umi/testbench/testbench_regif.sv', package='umi') @@ -29,7 +29,6 @@ def build_testbench(): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/umi/testbench/test_umi_ram.py b/umi/umi/testbench/test_umi_ram.py index af10913..96fb499 100755 --- a/umi/umi/testbench/test_umi_ram.py +++ b/umi/umi/testbench/test_umi_ram.py @@ -10,7 +10,7 @@ def build_testbench(): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('umi/testbench/testbench_umi_ram.sv', package='umi') @@ -30,7 +30,6 @@ def build_testbench(): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/utils/testbench/test_umi2axilite.py b/umi/utils/testbench/test_umi2axilite.py index e200c03..23dda57 100755 --- a/umi/utils/testbench/test_umi2axilite.py +++ b/umi/utils/testbench/test_umi2axilite.py @@ -11,7 +11,7 @@ def build_testbench(): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs dut.input('utils/testbench/testbench_umi2axilite.sv', package='umi') @@ -29,7 +29,6 @@ def build_testbench(): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/utils/testbench/test_umi2tl_np.py b/umi/utils/testbench/test_umi2tl_np.py index af7d77b..85c6aba 100755 --- a/umi/utils/testbench/test_umi2tl_np.py +++ b/umi/utils/testbench/test_umi2tl_np.py @@ -12,7 +12,7 @@ def build_testbench(topo="2d"): - dut = SbDut('testbench', default_main=False) + dut = SbDut('testbench', trace=False, default_main=False) # Set up inputs if topo == '2d': @@ -39,7 +39,6 @@ def build_testbench(topo="2d"): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/utils/testbench/test_umi_address_remap.py b/umi/utils/testbench/test_umi_address_remap.py index d69a302..6297379 100755 --- a/umi/utils/testbench/test_umi_address_remap.py +++ b/umi/utils/testbench/test_umi_address_remap.py @@ -9,7 +9,7 @@ def build_testbench(topo="2d"): - dut = SbDut('testbench', default_main=True) + dut = SbDut('testbench', trace=False, default_main=True) # Set up inputs if topo == '2d': @@ -30,7 +30,6 @@ def build_testbench(topo="2d"): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator diff --git a/umi/utils/testbench/test_umi_packet_merge_greedy.py b/umi/utils/testbench/test_umi_packet_merge_greedy.py index 90dcfa1..6c86ead 100755 --- a/umi/utils/testbench/test_umi_packet_merge_greedy.py +++ b/umi/utils/testbench/test_umi_packet_merge_greedy.py @@ -8,7 +8,7 @@ def build_testbench(topo="2d"): - dut = SbDut('testbench', default_main=False) + dut = SbDut('testbench', trace=False, default_main=False) # Set up inputs if topo == '2d': @@ -32,7 +32,6 @@ def build_testbench(topo="2d"): dut.add('tool', 'verilator', 'task', 'compile', 'option', '-Wall') # Settings - enable tracing - dut.set('option', 'trace', False) dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst') # Build simulator