Add VERILATOR define by default

This commit is contained in:
Byron Lathi
2025-03-29 19:37:11 -07:00
parent 77e0269800
commit 59b77618b0
2 changed files with 3 additions and 1 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.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
# corresponds to the "Summary" metadata field:

View File

@@ -71,6 +71,8 @@ def fpga_sim_main():
print(f"{define}: {cfg_defines[define]}, {os.path.expandvars(cfg_defines[define])}")
defines[define] = os.path.expandvars(cfg_defines[define])
cfg_defines["VERILATOR"] = None
parse_cfg(cfg, base_path)
# 4: Run those tests