Skip to content

Commit

Permalink
Update filenames and location for test script
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Aug 29, 2023
1 parent eb892fa commit 6a0c637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techlibs/lattice/tests/test_diamond_ffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@
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"])

0 comments on commit 6a0c637

Please sign in to comment.