From 2ee6fd77f5f029d77c4f36f3cf105605c810707e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20=C3=96rtenberg?= Date: Fri, 14 Feb 2025 13:31:25 +0100 Subject: [PATCH] Fixed GHDL docker script and improved elab.py to not be dir dependent --- scripts/elab.py | 7 ++++--- scripts/ghdl | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/elab.py b/scripts/elab.py index 0981169..79b1441 100644 --- a/scripts/elab.py +++ b/scripts/elab.py @@ -21,10 +21,11 @@ def runDesign(topDef: str, arch: str, lib: str, std: str): libPath = os.path.join(os.getcwd(), lib) wavePath = os.path.join(os.getcwd(), "wave") command = [ ## may add -v for verbose - "ghdl", "-r", f"{topDef}", f"{arch}", - f"--wave=../wave/{topDef}-{arch}.ghw" ##, "--read-wave-opt=