From c5837daa2f04842b4dd4a9b5b7ee8bc45ce2ed7a Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 13 Jun 2018 22:26:10 -0700 Subject: [PATCH] Update testbenches to use instances() --- tb/axis_ep.py | 4 ++-- tb/ll_ep.py | 4 ++-- tb/test_arbiter.py | 2 +- tb/test_arbiter_rr.py | 2 +- tb/test_axis_adapter_64_8.py | 2 +- tb/test_axis_adapter_8_64.py | 2 +- tb/test_axis_arb_mux_4.py | 2 +- tb/test_axis_arb_mux_4_64.py | 2 +- tb/test_axis_async_fifo.py | 2 +- tb/test_axis_async_fifo_64.py | 2 +- tb/test_axis_async_frame_fifo.py | 2 +- tb/test_axis_async_frame_fifo_64.py | 2 +- tb/test_axis_cobs_decode.py | 2 +- tb/test_axis_cobs_encode.py | 2 +- tb/test_axis_cobs_encode_zero_frame.py | 2 +- tb/test_axis_crosspoint_4x4.py | 2 +- tb/test_axis_crosspoint_4x4_64.py | 2 +- tb/test_axis_demux_4.py | 2 +- tb/test_axis_demux_4_64.py | 2 +- tb/test_axis_fifo.py | 2 +- tb/test_axis_fifo_64.py | 2 +- tb/test_axis_frame_fifo.py | 2 +- tb/test_axis_frame_fifo_64.py | 2 +- tb/test_axis_frame_join_4.py | 2 +- tb/test_axis_frame_length_adjust_64.py | 2 +- tb/test_axis_frame_length_adjust_8.py | 2 +- tb/test_axis_frame_length_adjust_fifo.py | 2 +- tb/test_axis_frame_length_adjust_fifo_64.py | 2 +- tb/test_axis_ll_bridge.py | 2 +- tb/test_axis_mux_4.py | 2 +- tb/test_axis_mux_4_64.py | 2 +- tb/test_axis_rate_limit.py | 2 +- tb/test_axis_rate_limit_64.py | 2 +- tb/test_axis_register.py | 2 +- tb/test_axis_register_64.py | 2 +- tb/test_axis_srl_fifo.py | 2 +- tb/test_axis_srl_fifo_64.py | 2 +- tb/test_axis_srl_register.py | 2 +- tb/test_axis_srl_register_64.py | 2 +- tb/test_axis_stat_counter.py | 2 +- tb/test_axis_switch_4x4.py | 2 +- tb/test_axis_switch_4x4_64.py | 2 +- tb/test_axis_tap.py | 2 +- tb/test_axis_tap_64.py | 2 +- tb/test_ll_axis_bridge.py | 2 +- tb/test_priority_encoder.py | 2 +- 46 files changed, 48 insertions(+), 48 deletions(-) diff --git a/tb/axis_ep.py b/tb/axis_ep.py index 75356b54d..de4528efb 100644 --- a/tb/axis_ep.py +++ b/tb/axis_ep.py @@ -366,7 +366,7 @@ class AXIStreamSource(object): tvalid_int.next = True tlast.next = len(data) == 0 - return logic, pause_logic + return instances() class AXIStreamSink(object): @@ -508,5 +508,5 @@ class AXIStreamSink(object): user = [] first = True - return logic, pause_logic + return instances() diff --git a/tb/ll_ep.py b/tb/ll_ep.py index 4dc45d4f6..c3e7e9aae 100644 --- a/tb/ll_ep.py +++ b/tb/ll_ep.py @@ -93,7 +93,7 @@ class LocalLinkSource(object): sof_out_n.next = False eof_out_n.next = len(frame) != 0 - return logic, pause_logic + return instances() class LocalLinkSink(object): @@ -158,5 +158,5 @@ class LocalLinkSink(object): print("[%s] Got frame %s" % (name, repr(frame))) frame = [] - return logic, pause_logic + return instances() diff --git a/tb/test_arbiter.py b/tb/test_arbiter.py index f75aa6940..6c2db5ac8 100755 --- a/tb/test_arbiter.py +++ b/tb/test_arbiter.py @@ -163,7 +163,7 @@ def bench(): raise StopSimulation - return dut, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_arbiter_rr.py b/tb/test_arbiter_rr.py index 4db2219e5..983ef5566 100755 --- a/tb/test_arbiter_rr.py +++ b/tb/test_arbiter_rr.py @@ -223,7 +223,7 @@ def bench(): raise StopSimulation - return dut, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_adapter_64_8.py b/tb/test_axis_adapter_64_8.py index 15aea7c0f..8319dd1c6 100755 --- a/tb/test_axis_adapter_64_8.py +++ b/tb/test_axis_adapter_64_8.py @@ -311,7 +311,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_adapter_8_64.py b/tb/test_axis_adapter_8_64.py index d734bff95..679e759e6 100755 --- a/tb/test_axis_adapter_8_64.py +++ b/tb/test_axis_adapter_8_64.py @@ -311,7 +311,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_arb_mux_4.py b/tb/test_axis_arb_mux_4.py index 3604e682a..9e56080c0 100755 --- a/tb/test_axis_arb_mux_4.py +++ b/tb/test_axis_arb_mux_4.py @@ -564,7 +564,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_arb_mux_4_64.py b/tb/test_axis_arb_mux_4_64.py index 6117fbc9c..5e9b85f01 100755 --- a/tb/test_axis_arb_mux_4_64.py +++ b/tb/test_axis_arb_mux_4_64.py @@ -564,7 +564,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_async_fifo.py b/tb/test_axis_async_fifo.py index 91e64d52d..f61e2137b 100755 --- a/tb/test_axis_async_fifo.py +++ b/tb/test_axis_async_fifo.py @@ -488,7 +488,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, input_clkgen, output_clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_async_fifo_64.py b/tb/test_axis_async_fifo_64.py index 019a0b0cf..14be052a3 100755 --- a/tb/test_axis_async_fifo_64.py +++ b/tb/test_axis_async_fifo_64.py @@ -488,7 +488,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, input_clkgen, output_clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_async_frame_fifo.py b/tb/test_axis_async_frame_fifo.py index d08f026f1..dbd1ec2e9 100755 --- a/tb/test_axis_async_frame_fifo.py +++ b/tb/test_axis_async_frame_fifo.py @@ -659,7 +659,7 @@ def bench(): raise StopSimulation - return dut, monitor_1, monitor_2, source_logic, sink_logic, input_clkgen, output_clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_async_frame_fifo_64.py b/tb/test_axis_async_frame_fifo_64.py index ec6de8397..886032143 100755 --- a/tb/test_axis_async_frame_fifo_64.py +++ b/tb/test_axis_async_frame_fifo_64.py @@ -659,7 +659,7 @@ def bench(): raise StopSimulation - return dut, monitor_1, monitor_2, source_logic, sink_logic, input_clkgen, output_clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_cobs_decode.py b/tb/test_axis_cobs_decode.py index 381b91355..ceb92c787 100755 --- a/tb/test_axis_cobs_decode.py +++ b/tb/test_axis_cobs_decode.py @@ -446,7 +446,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): sim = Simulation(bench()) diff --git a/tb/test_axis_cobs_encode.py b/tb/test_axis_cobs_encode.py index ccba256c4..db2419eb4 100755 --- a/tb/test_axis_cobs_encode.py +++ b/tb/test_axis_cobs_encode.py @@ -345,7 +345,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): sim = Simulation(bench()) diff --git a/tb/test_axis_cobs_encode_zero_frame.py b/tb/test_axis_cobs_encode_zero_frame.py index 924bb7570..5f1642b06 100755 --- a/tb/test_axis_cobs_encode_zero_frame.py +++ b/tb/test_axis_cobs_encode_zero_frame.py @@ -346,7 +346,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): sim = Simulation(bench()) diff --git a/tb/test_axis_crosspoint_4x4.py b/tb/test_axis_crosspoint_4x4.py index 53d69421c..bb707b7d7 100755 --- a/tb/test_axis_crosspoint_4x4.py +++ b/tb/test_axis_crosspoint_4x4.py @@ -474,7 +474,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_0_logic, sink_1_logic, sink_2_logic, sink_3_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_crosspoint_4x4_64.py b/tb/test_axis_crosspoint_4x4_64.py index a07287fa0..ba0b5068a 100755 --- a/tb/test_axis_crosspoint_4x4_64.py +++ b/tb/test_axis_crosspoint_4x4_64.py @@ -474,7 +474,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_0_logic, sink_1_logic, sink_2_logic, sink_3_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_demux_4.py b/tb/test_axis_demux_4.py index 47fd50a9e..3eb5ee55b 100755 --- a/tb/test_axis_demux_4.py +++ b/tb/test_axis_demux_4.py @@ -519,7 +519,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_0_logic, sink_1_logic, sink_2_logic, sink_3_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_demux_4_64.py b/tb/test_axis_demux_4_64.py index 431cf5b34..7b814a3b6 100755 --- a/tb/test_axis_demux_4_64.py +++ b/tb/test_axis_demux_4_64.py @@ -519,7 +519,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_0_logic, sink_1_logic, sink_2_logic, sink_3_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_fifo.py b/tb/test_axis_fifo.py index c7d83b45f..9c20622af 100755 --- a/tb/test_axis_fifo.py +++ b/tb/test_axis_fifo.py @@ -477,7 +477,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_fifo_64.py b/tb/test_axis_fifo_64.py index 2265bad69..f93e77fb4 100755 --- a/tb/test_axis_fifo_64.py +++ b/tb/test_axis_fifo_64.py @@ -477,7 +477,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_fifo.py b/tb/test_axis_frame_fifo.py index ab1a92ffb..a1c429bb1 100755 --- a/tb/test_axis_frame_fifo.py +++ b/tb/test_axis_frame_fifo.py @@ -581,7 +581,7 @@ def bench(): raise StopSimulation - return dut, monitor, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_fifo_64.py b/tb/test_axis_frame_fifo_64.py index 43fd39a6d..b7858b3d1 100755 --- a/tb/test_axis_frame_fifo_64.py +++ b/tb/test_axis_frame_fifo_64.py @@ -581,7 +581,7 @@ def bench(): raise StopSimulation - return dut, monitor, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_join_4.py b/tb/test_axis_frame_join_4.py index 47b59de72..ee0d03f16 100755 --- a/tb/test_axis_frame_join_4.py +++ b/tb/test_axis_frame_join_4.py @@ -465,7 +465,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_length_adjust_64.py b/tb/test_axis_frame_length_adjust_64.py index 60eb56f9a..cdef5a35b 100755 --- a/tb/test_axis_frame_length_adjust_64.py +++ b/tb/test_axis_frame_length_adjust_64.py @@ -372,7 +372,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, status_sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_length_adjust_8.py b/tb/test_axis_frame_length_adjust_8.py index 9a2238129..4eccbb97d 100755 --- a/tb/test_axis_frame_length_adjust_8.py +++ b/tb/test_axis_frame_length_adjust_8.py @@ -372,7 +372,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, status_sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_length_adjust_fifo.py b/tb/test_axis_frame_length_adjust_fifo.py index 80e754345..8cb8d4a28 100755 --- a/tb/test_axis_frame_length_adjust_fifo.py +++ b/tb/test_axis_frame_length_adjust_fifo.py @@ -364,7 +364,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, hdr_sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_frame_length_adjust_fifo_64.py b/tb/test_axis_frame_length_adjust_fifo_64.py index 263679bb0..522c932ac 100755 --- a/tb/test_axis_frame_length_adjust_fifo_64.py +++ b/tb/test_axis_frame_length_adjust_fifo_64.py @@ -364,7 +364,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, hdr_sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_ll_bridge.py b/tb/test_axis_ll_bridge.py index f03818000..d5f556bae 100755 --- a/tb/test_axis_ll_bridge.py +++ b/tb/test_axis_ll_bridge.py @@ -193,7 +193,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_mux_4.py b/tb/test_axis_mux_4.py index 91b266b6f..8d15c2e86 100755 --- a/tb/test_axis_mux_4.py +++ b/tb/test_axis_mux_4.py @@ -519,7 +519,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_mux_4_64.py b/tb/test_axis_mux_4_64.py index da89e5fa9..e3022f7a8 100755 --- a/tb/test_axis_mux_4_64.py +++ b/tb/test_axis_mux_4_64.py @@ -519,7 +519,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_rate_limit.py b/tb/test_axis_rate_limit.py index 1af1f7349..a566926ea 100755 --- a/tb/test_axis_rate_limit.py +++ b/tb/test_axis_rate_limit.py @@ -547,7 +547,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, monitor, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_rate_limit_64.py b/tb/test_axis_rate_limit_64.py index bb8121328..6c2205c4d 100755 --- a/tb/test_axis_rate_limit_64.py +++ b/tb/test_axis_rate_limit_64.py @@ -547,7 +547,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, monitor, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_register.py b/tb/test_axis_register.py index 2b1b000b9..c46eacdba 100755 --- a/tb/test_axis_register.py +++ b/tb/test_axis_register.py @@ -415,7 +415,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_register_64.py b/tb/test_axis_register_64.py index bde5194b3..5b03c0cf5 100755 --- a/tb/test_axis_register_64.py +++ b/tb/test_axis_register_64.py @@ -415,7 +415,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_srl_fifo.py b/tb/test_axis_srl_fifo.py index c7a289256..7ebd9bfa0 100755 --- a/tb/test_axis_srl_fifo.py +++ b/tb/test_axis_srl_fifo.py @@ -479,7 +479,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_srl_fifo_64.py b/tb/test_axis_srl_fifo_64.py index 2b4e91c4a..3b4b58b91 100755 --- a/tb/test_axis_srl_fifo_64.py +++ b/tb/test_axis_srl_fifo_64.py @@ -479,7 +479,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_srl_register.py b/tb/test_axis_srl_register.py index 18ad7be8d..81c300655 100755 --- a/tb/test_axis_srl_register.py +++ b/tb/test_axis_srl_register.py @@ -415,7 +415,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_srl_register_64.py b/tb/test_axis_srl_register_64.py index 7bf20da63..918f4bc8b 100755 --- a/tb/test_axis_srl_register_64.py +++ b/tb/test_axis_srl_register_64.py @@ -415,7 +415,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_stat_counter.py b/tb/test_axis_stat_counter.py index 34b5cb9a3..528287c0f 100755 --- a/tb/test_axis_stat_counter.py +++ b/tb/test_axis_stat_counter.py @@ -765,7 +765,7 @@ def bench(): raise StopSimulation - return dut, source_logic, monitor_sink_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_switch_4x4.py b/tb/test_axis_switch_4x4.py index bc30f5ab3..a32d1f9b0 100755 --- a/tb/test_axis_switch_4x4.py +++ b/tb/test_axis_switch_4x4.py @@ -603,7 +603,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_0_logic, sink_1_logic, sink_2_logic, sink_3_logic, clkgen, check + return instances() def test_bench(): sim = Simulation(bench()) diff --git a/tb/test_axis_switch_4x4_64.py b/tb/test_axis_switch_4x4_64.py index dda6d852e..0c604f694 100755 --- a/tb/test_axis_switch_4x4_64.py +++ b/tb/test_axis_switch_4x4_64.py @@ -603,7 +603,7 @@ def bench(): raise StopSimulation - return dut, source_0_logic, source_1_logic, source_2_logic, source_3_logic, sink_0_logic, sink_1_logic, sink_2_logic, sink_3_logic, clkgen, check + return instances() def test_bench(): sim = Simulation(bench()) diff --git a/tb/test_axis_tap.py b/tb/test_axis_tap.py index 29a7423b4..4310dae85 100755 --- a/tb/test_axis_tap.py +++ b/tb/test_axis_tap.py @@ -444,7 +444,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_axis_tap_64.py b/tb/test_axis_tap_64.py index 1e06ca6fe..343075498 100755 --- a/tb/test_axis_tap_64.py +++ b/tb/test_axis_tap_64.py @@ -444,7 +444,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_ll_axis_bridge.py b/tb/test_ll_axis_bridge.py index 41b0532bf..5c0a1995c 100755 --- a/tb/test_ll_axis_bridge.py +++ b/tb/test_ll_axis_bridge.py @@ -193,7 +193,7 @@ def bench(): raise StopSimulation - return dut, source_logic, sink_logic, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__))) diff --git a/tb/test_priority_encoder.py b/tb/test_priority_encoder.py index 9ba980646..f6747e329 100755 --- a/tb/test_priority_encoder.py +++ b/tb/test_priority_encoder.py @@ -121,7 +121,7 @@ def bench(): raise StopSimulation - return dut, clkgen, check + return instances() def test_bench(): os.chdir(os.path.dirname(os.path.abspath(__file__)))