3 Commits

Author SHA1 Message Date
7e8e15932a Merge pull request 'dev/trace_fst' (#1) from dev/trace_fst into master
Some checks failed
Publish Package / Build Package (push) Successful in 8s
Publish Package / Deploy Package (push) Failing after 8s
Reviewed-on: #1
2025-11-09 14:09:57 -08:00
Byron Lathi
2d3d02eee9 Try 2
All checks were successful
Publish Package / Build Package (push) Successful in 7s
Publish Package / Deploy Package (push) Successful in 9s
2025-11-09 14:00:53 -08:00
Byron Lathi
de3205bda7 Trace FST
All checks were successful
Publish Package / Build Package (push) Successful in 7s
Publish Package / Deploy Package (push) Successful in 9s
2025-11-09 13:44:59 -08:00
2 changed files with 8 additions and 2 deletions

View File

@@ -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/
# 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
# corresponds to the "Summary" metadata field:

View File

@@ -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))
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(
verilog_sources=verilog_sources,
includes=incdirs,
@@ -105,7 +111,7 @@ def fpga_sim_main():
build_dir=f"{test['base_path']}/sim_build",
waves=test["waves"],
defines=defines,
build_args=["--timing"]
build_args=build_args
)
result_xml = f"../sim_build/{test['name']}_results.xml".replace(" ", "_")