From 23c7d0ab20886c7d8ed8cae93249a1b74a1e4c53 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 7 Jul 2024 15:58:32 +0200 Subject: [PATCH] env: run.py: Remove unnecessary files from compilation for synthesis --- fpga/run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fpga/run.py b/fpga/run.py index 63e335d..c88824e 100755 --- a/fpga/run.py +++ b/fpga/run.py @@ -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"])