From 667c3c0aea813399165a832cc1ac856e6bd0c5d3 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 29 Aug 2023 12:32:19 +0200 Subject: [PATCH] Update filenames and location for test script --- techlibs/lattice/tests/test_diamond_ffs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/techlibs/lattice/tests/test_diamond_ffs.py b/techlibs/lattice/tests/test_diamond_ffs.py index 1ed85ce8b..8243b55da 100644 --- a/techlibs/lattice/tests/test_diamond_ffs.py +++ b/techlibs/lattice/tests/test_diamond_ffs.py @@ -77,6 +77,6 @@ end print(" endtask", file=f) print("endmodule", file=f) -diamond_models = "/usr/local/diamond/3.10_x64/cae_library/simulation/verilog/ecp5u" -subprocess.call(["iverilog", "-s", "testbench", "-o", "work_ff/testbench", "-Dmixed_hdl", "-DNO_INCLUDES", "-y", diamond_models, "work_ff/cells_ff_gate.v", "../cells_sim.v", "work_ff/testbench.v"]) +diamond_models = "/usr/local/diamond/3.12/cae_library/simulation/verilog/ecp5u" +subprocess.call(["iverilog", "-s", "testbench", "-o", "work_ff/testbench", "-Dmixed_hdl", "-DNO_INCLUDES", "-I..", "-y", diamond_models, "work_ff/cells_ff_gate.v", "../cells_sim_ecp5.v", "work_ff/testbench.v"]) subprocess.call(["vvp", "work_ff/testbench"])