diff --git a/tb/axi_crossbar/Makefile b/tb/axi_crossbar/Makefile index f3b292b..bcff12e 100644 --- a/tb/axi_crossbar/Makefile +++ b/tb/axi_crossbar/Makefile @@ -83,7 +83,7 @@ endif include $(shell cocotb-config --makefiles)/Makefile.sim $(WRAPPER).v: ../../rtl/$(DUT)_wrap.py - $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) + python3 $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) iverilog_dump.v: echo 'module iverilog_dump();' > $@ diff --git a/tb/axi_crossbar/test_axi_crossbar.py b/tb/axi_crossbar/test_axi_crossbar.py index c1730e1..9658b39 100644 --- a/tb/axi_crossbar/test_axi_crossbar.py +++ b/tb/axi_crossbar/test_axi_crossbar.py @@ -243,7 +243,7 @@ def test_axi_crossbar(request, s_count, m_count, data_width): wrapper_file = os.path.join(tests_dir, f"{wrapper}.v") if not os.path.exists(wrapper_file): subprocess.Popen( - [os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], + ["python3", os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], cwd=tests_dir ).wait() diff --git a/tb/axi_interconnect/Makefile b/tb/axi_interconnect/Makefile index 8034966..d063ba7 100644 --- a/tb/axi_interconnect/Makefile +++ b/tb/axi_interconnect/Makefile @@ -78,7 +78,7 @@ endif include $(shell cocotb-config --makefiles)/Makefile.sim $(WRAPPER).v: ../../rtl/$(DUT)_wrap.py - $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) + python3 $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) iverilog_dump.v: echo 'module iverilog_dump();' > $@ diff --git a/tb/axi_interconnect/test_axi_interconnect.py b/tb/axi_interconnect/test_axi_interconnect.py index 7c48d72..fbcaf64 100644 --- a/tb/axi_interconnect/test_axi_interconnect.py +++ b/tb/axi_interconnect/test_axi_interconnect.py @@ -237,7 +237,7 @@ def test_axi_interconnect(request, s_count, m_count, data_width): wrapper_file = os.path.join(tests_dir, f"{wrapper}.v") if not os.path.exists(wrapper_file): subprocess.Popen( - [os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], + ["python3", os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], cwd=tests_dir ).wait() diff --git a/tb/axil_crossbar/Makefile b/tb/axil_crossbar/Makefile index 20ef120..e48f495 100644 --- a/tb/axil_crossbar/Makefile +++ b/tb/axil_crossbar/Makefile @@ -71,7 +71,7 @@ endif include $(shell cocotb-config --makefiles)/Makefile.sim $(WRAPPER).v: ../../rtl/$(DUT)_wrap.py - $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) + python3 $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) iverilog_dump.v: echo 'module iverilog_dump();' > $@ diff --git a/tb/axil_crossbar/test_axil_crossbar.py b/tb/axil_crossbar/test_axil_crossbar.py index dc191b0..1b08f7e 100644 --- a/tb/axil_crossbar/test_axil_crossbar.py +++ b/tb/axil_crossbar/test_axil_crossbar.py @@ -224,7 +224,7 @@ def test_axil_crossbar(request, s_count, m_count, data_width): wrapper_file = os.path.join(tests_dir, f"{wrapper}.v") if not os.path.exists(wrapper_file): subprocess.Popen( - [os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], + ["python3", os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], cwd=tests_dir ).wait() diff --git a/tb/axil_interconnect/Makefile b/tb/axil_interconnect/Makefile index 8c51c9f..472cf50 100644 --- a/tb/axil_interconnect/Makefile +++ b/tb/axil_interconnect/Makefile @@ -66,7 +66,7 @@ endif include $(shell cocotb-config --makefiles)/Makefile.sim $(WRAPPER).v: ../../rtl/$(DUT)_wrap.py - $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) + python3 $< -p $(PARAM_S_COUNT) $(PARAM_M_COUNT) iverilog_dump.v: echo 'module iverilog_dump();' > $@ diff --git a/tb/axil_interconnect/test_axil_interconnect.py b/tb/axil_interconnect/test_axil_interconnect.py index 77670b8..6955c61 100644 --- a/tb/axil_interconnect/test_axil_interconnect.py +++ b/tb/axil_interconnect/test_axil_interconnect.py @@ -224,7 +224,7 @@ def test_axil_interconnect(request, s_count, m_count, data_width): wrapper_file = os.path.join(tests_dir, f"{wrapper}.v") if not os.path.exists(wrapper_file): subprocess.Popen( - [os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], + ["python3", os.path.join(rtl_dir, f"{dut}_wrap.py"), "-p", f"{s_count}", f"{m_count}"], cwd=tests_dir ).wait()