From 883d6a0f67a70b98f14bdcd8273911fde79db2e7 Mon Sep 17 00:00:00 2001 From: openpowerwtf <52765606+openpowerwtf@users.noreply.ggithub.com> Date: Fri, 12 Aug 2022 08:45:09 -0500 Subject: [PATCH] LarsAsplund update --- scripts/run.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/run.py b/scripts/run.py index ac84e8d..d8d23e0 100755 --- a/scripts/run.py +++ b/scripts/run.py @@ -18,4 +18,8 @@ prj.add_library("top").add_source_files(_rel / "src" / "vhdl" / "work" / "*.vhdl # Simulation only library containing VHDL mocks for Verilog UNIMACROs prj.add_library("unimacro").add_source_files(_rel / "sim" / "unimacro" / "*.vhdl") +# The code isn't strictly compliant with the VHDL standard which causes some simulators +# to fail compilation. In GHDL these errors can be relaxed to warnings. +prj.set_compile_option("ghdl.a_flags", ["-frelaxed"]) + prj.main()