Add timing option
todo: add args from yaml
This commit is contained in:
@@ -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.1" # REQUIRED, although can be dynamic
|
version = "0.3.2" # 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:
|
||||||
|
|||||||
@@ -104,7 +104,8 @@ def fpga_sim_main():
|
|||||||
hdl_toplevel=test["toplevel"],
|
hdl_toplevel=test["toplevel"],
|
||||||
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"]
|
||||||
)
|
)
|
||||||
|
|
||||||
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