URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sim/] [run.py] - Diff between revs 61 and 64
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 61 |
Rev 64 |
Line 18... |
Line 18... |
PRJ.add_osvvm()
|
PRJ.add_osvvm()
|
|
|
ROOT = Path(__file__).parent
|
ROOT = Path(__file__).parent
|
|
|
NEORV32 = PRJ.add_library("neorv32")
|
NEORV32 = PRJ.add_library("neorv32")
|
NEORV32.add_source_files([ROOT / "*.vhd", ROOT / "../rtl/**/*.vhd"])
|
NEORV32.add_source_files([
|
|
ROOT / "*.vhd",
|
|
ROOT / ".." / "rtl" / "**" / "*.vhd",
|
|
# In VUnit <=v4.5.0, the glob search is not recursive,
|
|
# hence subdir 'mem' is not picked by the previous pattern
|
|
ROOT / ".." / "rtl" / "core" / "mem" / "*.vhd"
|
|
])
|
|
|
NEORV32.test_bench("neorv32_tb").set_generic("ci_mode", args.ci_mode)
|
NEORV32.test_bench("neorv32_tb").set_generic("ci_mode", args.ci_mode)
|
|
|
PRJ.set_sim_option("disable_ieee_warnings", True)
|
PRJ.set_sim_option("disable_ieee_warnings", True)
|
PRJ.set_sim_option("ghdl.sim_flags", ["--max-stack-alloc=256"])
|
PRJ.set_sim_option("ghdl.sim_flags", ["--max-stack-alloc=256"])
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.