env: run.py: Remove unnecessary files from compilation for synthesis
This commit is contained in:
parent
07bac62438
commit
23c7d0ab20
@ -22,8 +22,8 @@ project_dir=pathlib.Path(__file__).parent.resolve()
|
||||
|
||||
libs = {}
|
||||
|
||||
vu = VUnit.from_argv()
|
||||
vu.add_vhdl_builtins()
|
||||
vu = VUnit.from_argv(compile_builtins=False)
|
||||
#vu.add_vhdl_builtins()
|
||||
|
||||
for base_path in libraries:
|
||||
for library_name in libraries[base_path]:
|
||||
@ -47,8 +47,8 @@ for base_path in libraries:
|
||||
libs[library_name].add_source_files(path)
|
||||
|
||||
# If we don't already use our own OSVVM implementation, add the default one.
|
||||
if not "osvvm" in libs:
|
||||
vu.add_osvvm()
|
||||
#if not "osvvm" in libs:
|
||||
# vu.add_osvvm()
|
||||
|
||||
vu.add_compile_option("ghdl.a_flags", ["-frelaxed", "-fsynopsys"])
|
||||
vu.add_compile_option("nvc.a_flags", ["--relaxed"])
|
||||
|
Loading…
Reference in New Issue
Block a user