From 0359d8d76a51ad7d36da9592675c1870cd91664e Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Mon, 28 Dec 2020 19:25:59 -0800 Subject: [PATCH] Use absolute path to test directory --- example/ADM_PCIE_9V3/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/ADM_PCIE_9V3/fpga_25g/tb/fpga_core/test_fpga_core.py | 2 +- example/ATLYS/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/AU200/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/AU250/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/AU280/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/AU50/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/Arty/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/C10LP/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/DE2-115/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/DE5-Net/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/ExaNIC_X10/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/ExaNIC_X25/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/HXT100G/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/HXT100G/fpga_cxpt16/tb/fpga_core/test_fpga_core.py | 2 +- example/KC705/fpga_gmii/tb/fpga_core/test_fpga_core.py | 2 +- example/ML605/fpga_gmii/tb/fpga_core/test_fpga_core.py | 2 +- example/ML605/fpga_rgmii/tb/fpga_core/test_fpga_core.py | 2 +- example/ML605/fpga_sgmii/tb/fpga_core/test_fpga_core.py | 2 +- example/NetFPGA_SUME/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/NexysVideo/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/VCU108/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/VCU108/fpga_1g/tb/fpga_core/test_fpga_core.py | 2 +- example/VCU118/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/VCU118/fpga_1g/tb/fpga_core/test_fpga_core.py | 2 +- example/VCU118/fpga_25g/tb/fpga_core/test_fpga_core.py | 2 +- example/VCU1525/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- example/ZCU102/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/ZCU106/fpga/tb/fpga_core/test_fpga_core.py | 2 +- example/fb2CG/fpga_10g/tb/fpga_core/test_fpga_core.py | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/example/ADM_PCIE_9V3/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/ADM_PCIE_9V3/fpga_10g/tb/fpga_core/test_fpga_core.py index 62f39e28a..c66794ee4 100644 --- a/example/ADM_PCIE_9V3/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/ADM_PCIE_9V3/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -226,7 +226,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ADM_PCIE_9V3/fpga_25g/tb/fpga_core/test_fpga_core.py b/example/ADM_PCIE_9V3/fpga_25g/tb/fpga_core/test_fpga_core.py index c7ef127ab..464a73bf0 100644 --- a/example/ADM_PCIE_9V3/fpga_25g/tb/fpga_core/test_fpga_core.py +++ b/example/ADM_PCIE_9V3/fpga_25g/tb/fpga_core/test_fpga_core.py @@ -226,7 +226,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ATLYS/fpga/tb/fpga_core/test_fpga_core.py b/example/ATLYS/fpga/tb/fpga_core/test_fpga_core.py index 6ed21ee44..94de5e46b 100644 --- a/example/ATLYS/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/ATLYS/fpga/tb/fpga_core/test_fpga_core.py @@ -147,7 +147,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/AU200/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/AU200/fpga_10g/tb/fpga_core/test_fpga_core.py index 74a58792d..72030a8e6 100644 --- a/example/AU200/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/AU200/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -226,7 +226,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/AU250/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/AU250/fpga_10g/tb/fpga_core/test_fpga_core.py index 74a58792d..72030a8e6 100644 --- a/example/AU250/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/AU250/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -226,7 +226,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/AU280/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/AU280/fpga_10g/tb/fpga_core/test_fpga_core.py index f2e5b20b6..277262d0e 100644 --- a/example/AU280/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/AU280/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -224,7 +224,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/AU50/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/AU50/fpga_10g/tb/fpga_core/test_fpga_core.py index adcdea6f2..509ce3670 100644 --- a/example/AU50/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/AU50/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -180,7 +180,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/Arty/fpga/tb/fpga_core/test_fpga_core.py b/example/Arty/fpga/tb/fpga_core/test_fpga_core.py index cce8223fd..55b0dda9c 100644 --- a/example/Arty/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/Arty/fpga/tb/fpga_core/test_fpga_core.py @@ -145,7 +145,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/C10LP/fpga/tb/fpga_core/test_fpga_core.py b/example/C10LP/fpga/tb/fpga_core/test_fpga_core.py index 9d69b913f..f45c407c8 100644 --- a/example/C10LP/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/C10LP/fpga/tb/fpga_core/test_fpga_core.py @@ -157,7 +157,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/DE2-115/fpga/tb/fpga_core/test_fpga_core.py b/example/DE2-115/fpga/tb/fpga_core/test_fpga_core.py index 384499719..6439e820c 100644 --- a/example/DE2-115/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/DE2-115/fpga/tb/fpga_core/test_fpga_core.py @@ -161,7 +161,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/DE5-Net/fpga/tb/fpga_core/test_fpga_core.py b/example/DE5-Net/fpga/tb/fpga_core/test_fpga_core.py index 1457503af..f795669cd 100644 --- a/example/DE5-Net/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/DE5-Net/fpga/tb/fpga_core/test_fpga_core.py @@ -151,7 +151,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ExaNIC_X10/fpga/tb/fpga_core/test_fpga_core.py b/example/ExaNIC_X10/fpga/tb/fpga_core/test_fpga_core.py index 512e286b0..130b745fd 100644 --- a/example/ExaNIC_X10/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/ExaNIC_X10/fpga/tb/fpga_core/test_fpga_core.py @@ -158,7 +158,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ExaNIC_X25/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/ExaNIC_X25/fpga_10g/tb/fpga_core/test_fpga_core.py index 512e286b0..130b745fd 100644 --- a/example/ExaNIC_X25/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/ExaNIC_X25/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -158,7 +158,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/HXT100G/fpga/tb/fpga_core/test_fpga_core.py b/example/HXT100G/fpga/tb/fpga_core/test_fpga_core.py index cdbc9125c..9f9b74837 100644 --- a/example/HXT100G/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/HXT100G/fpga/tb/fpga_core/test_fpga_core.py @@ -217,7 +217,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/HXT100G/fpga_cxpt16/tb/fpga_core/test_fpga_core.py b/example/HXT100G/fpga_cxpt16/tb/fpga_core/test_fpga_core.py index b0649b146..5dca34cbb 100644 --- a/example/HXT100G/fpga_cxpt16/tb/fpga_core/test_fpga_core.py +++ b/example/HXT100G/fpga_cxpt16/tb/fpga_core/test_fpga_core.py @@ -204,7 +204,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/KC705/fpga_gmii/tb/fpga_core/test_fpga_core.py b/example/KC705/fpga_gmii/tb/fpga_core/test_fpga_core.py index c34cd29c3..188f184e3 100644 --- a/example/KC705/fpga_gmii/tb/fpga_core/test_fpga_core.py +++ b/example/KC705/fpga_gmii/tb/fpga_core/test_fpga_core.py @@ -148,7 +148,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ML605/fpga_gmii/tb/fpga_core/test_fpga_core.py b/example/ML605/fpga_gmii/tb/fpga_core/test_fpga_core.py index 0ab4ab030..0fd55806d 100644 --- a/example/ML605/fpga_gmii/tb/fpga_core/test_fpga_core.py +++ b/example/ML605/fpga_gmii/tb/fpga_core/test_fpga_core.py @@ -148,7 +148,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ML605/fpga_rgmii/tb/fpga_core/test_fpga_core.py b/example/ML605/fpga_rgmii/tb/fpga_core/test_fpga_core.py index bbd7de706..cdfd4c48f 100644 --- a/example/ML605/fpga_rgmii/tb/fpga_core/test_fpga_core.py +++ b/example/ML605/fpga_rgmii/tb/fpga_core/test_fpga_core.py @@ -161,7 +161,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ML605/fpga_sgmii/tb/fpga_core/test_fpga_core.py b/example/ML605/fpga_sgmii/tb/fpga_core/test_fpga_core.py index 1c6bc2301..dde7d8868 100644 --- a/example/ML605/fpga_sgmii/tb/fpga_core/test_fpga_core.py +++ b/example/ML605/fpga_sgmii/tb/fpga_core/test_fpga_core.py @@ -155,7 +155,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/NetFPGA_SUME/fpga/tb/fpga_core/test_fpga_core.py b/example/NetFPGA_SUME/fpga/tb/fpga_core/test_fpga_core.py index 4c494afd0..18a192c39 100644 --- a/example/NetFPGA_SUME/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/NetFPGA_SUME/fpga/tb/fpga_core/test_fpga_core.py @@ -182,7 +182,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/NexysVideo/fpga/tb/fpga_core/test_fpga_core.py b/example/NexysVideo/fpga/tb/fpga_core/test_fpga_core.py index 15cd8a67c..0e670fa55 100644 --- a/example/NexysVideo/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/NexysVideo/fpga/tb/fpga_core/test_fpga_core.py @@ -163,7 +163,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/VCU108/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/VCU108/fpga_10g/tb/fpga_core/test_fpga_core.py index 7418e7b2f..cab7b5356 100644 --- a/example/VCU108/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/VCU108/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -288,7 +288,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/VCU108/fpga_1g/tb/fpga_core/test_fpga_core.py b/example/VCU108/fpga_1g/tb/fpga_core/test_fpga_core.py index 04e3ff69f..1a70b88e3 100644 --- a/example/VCU108/fpga_1g/tb/fpga_core/test_fpga_core.py +++ b/example/VCU108/fpga_1g/tb/fpga_core/test_fpga_core.py @@ -155,7 +155,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/VCU118/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/VCU118/fpga_10g/tb/fpga_core/test_fpga_core.py index 0a088c921..f0af0c952 100644 --- a/example/VCU118/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/VCU118/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -332,7 +332,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/VCU118/fpga_1g/tb/fpga_core/test_fpga_core.py b/example/VCU118/fpga_1g/tb/fpga_core/test_fpga_core.py index 04e3ff69f..1a70b88e3 100644 --- a/example/VCU118/fpga_1g/tb/fpga_core/test_fpga_core.py +++ b/example/VCU118/fpga_1g/tb/fpga_core/test_fpga_core.py @@ -155,7 +155,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/VCU118/fpga_25g/tb/fpga_core/test_fpga_core.py b/example/VCU118/fpga_25g/tb/fpga_core/test_fpga_core.py index a0e26ae8b..6c14482b0 100644 --- a/example/VCU118/fpga_25g/tb/fpga_core/test_fpga_core.py +++ b/example/VCU118/fpga_25g/tb/fpga_core/test_fpga_core.py @@ -332,7 +332,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/VCU1525/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/VCU1525/fpga_10g/tb/fpga_core/test_fpga_core.py index 74a58792d..72030a8e6 100644 --- a/example/VCU1525/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/VCU1525/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -226,7 +226,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ZCU102/fpga/tb/fpga_core/test_fpga_core.py b/example/ZCU102/fpga/tb/fpga_core/test_fpga_core.py index f8d3abd92..9fb9cbe56 100644 --- a/example/ZCU102/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/ZCU102/fpga/tb/fpga_core/test_fpga_core.py @@ -189,7 +189,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/ZCU106/fpga/tb/fpga_core/test_fpga_core.py b/example/ZCU106/fpga/tb/fpga_core/test_fpga_core.py index 897809eaa..8835104fe 100644 --- a/example/ZCU106/fpga/tb/fpga_core/test_fpga_core.py +++ b/example/ZCU106/fpga/tb/fpga_core/test_fpga_core.py @@ -167,7 +167,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl')) diff --git a/example/fb2CG/fpga_10g/tb/fpga_core/test_fpga_core.py b/example/fb2CG/fpga_10g/tb/fpga_core/test_fpga_core.py index 9a40af312..ced78ba8d 100644 --- a/example/fb2CG/fpga_10g/tb/fpga_core/test_fpga_core.py +++ b/example/fb2CG/fpga_10g/tb/fpga_core/test_fpga_core.py @@ -224,7 +224,7 @@ async def run_test(dut): # cocotb-test -tests_dir = os.path.dirname(__file__) +tests_dir = os.path.abspath(os.path.dirname(__file__)) rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl')) lib_dir = os.path.abspath(os.path.join(rtl_dir, '..', 'lib')) axis_rtl_dir = os.path.abspath(os.path.join(lib_dir, 'eth', 'lib', 'axis', 'rtl'))