Compare commits
3 Commits
775e16e3f7
...
7e8e15932a
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e8e15932a | |||
|
|
2d3d02eee9 | ||
|
|
de3205bda7 |
@@ -35,7 +35,7 @@ name = "fpga-sim" # REQUIRED, is the only field that cannot be marked as dynami
|
|||||||
# https://packaging.python.org/guides/single-sourcing-package-version/
|
# https://packaging.python.org/guides/single-sourcing-package-version/
|
||||||
|
|
||||||
# dynamic = ["version"]
|
# dynamic = ["version"]
|
||||||
version = "0.3.2" # REQUIRED, although can be dynamic
|
version = "0.4.0a1" # REQUIRED, although can be dynamic
|
||||||
|
|
||||||
# This is a one-line description or tagline of what your project does. This
|
# This is a one-line description or tagline of what your project does. This
|
||||||
# corresponds to the "Summary" metadata field:
|
# corresponds to the "Summary" metadata field:
|
||||||
|
|||||||
@@ -98,6 +98,12 @@ def fpga_sim_main():
|
|||||||
verilog_sources = list(filter(lambda s: (s.endswith(".v") or s.endswith(".sv") or s.endswith(".vlt")), sources))
|
verilog_sources = list(filter(lambda s: (s.endswith(".v") or s.endswith(".sv") or s.endswith(".vlt")), sources))
|
||||||
|
|
||||||
|
|
||||||
|
build_args = ["--timing"]
|
||||||
|
|
||||||
|
# By default, verilator only uses vcd instead of fst, but fst is better.
|
||||||
|
if test["waves"]:
|
||||||
|
build_args.append("--trace-fst")
|
||||||
|
|
||||||
runner.build(
|
runner.build(
|
||||||
verilog_sources=verilog_sources,
|
verilog_sources=verilog_sources,
|
||||||
includes=incdirs,
|
includes=incdirs,
|
||||||
@@ -105,7 +111,7 @@ def fpga_sim_main():
|
|||||||
build_dir=f"{test['base_path']}/sim_build",
|
build_dir=f"{test['base_path']}/sim_build",
|
||||||
waves=test["waves"],
|
waves=test["waves"],
|
||||||
defines=defines,
|
defines=defines,
|
||||||
build_args=["--timing"]
|
build_args=build_args
|
||||||
)
|
)
|
||||||
|
|
||||||
result_xml = f"../sim_build/{test['name']}_results.xml".replace(" ", "_")
|
result_xml = f"../sim_build/{test['name']}_results.xml".replace(" ", "_")
|
||||||
|
|||||||
Reference in New Issue
Block a user