From b35e7b2cacf3bd35c5645312803c328e4bcfc84b Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Tue, 25 Jan 2022 13:58:31 +0100 Subject: [PATCH] Allow custom vsim if `$VSIM` is defined --- tools/gapy/configs/platforms/rtl.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gapy/configs/platforms/rtl.json b/tools/gapy/configs/platforms/rtl.json index 3d64fa0d..09a903c3 100644 --- a/tools/gapy/configs/platforms/rtl.json +++ b/tools/gapy/configs/platforms/rtl.json @@ -12,7 +12,7 @@ "rtl": { "commands": { "shell": { - "executable": "vsim", + "executable": "${VSIM:-vsim}", "args_eval": [ "\"-64\"", "\"-c\"", @@ -21,7 +21,7 @@ ] }, "gui": { - "executable": "vsim", + "executable": "${VSIM:-vsim}", "args_eval": [ "\"-64\"", "\"-do 'source \" + os.environ.get(\"VSIM_PATH\") + \"/tcl_files/config/run_and_exit.tcl'\"",