diff options
Diffstat (limited to 'testsuite/testenv.sh')
-rw-r--r-- | testsuite/testenv.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/testenv.sh b/testsuite/testenv.sh index 87aca65..25ff30c 100644 --- a/testsuite/testenv.sh +++ b/testsuite/testenv.sh @@ -10,16 +10,22 @@ if [ x"$YOSYS" = x ]; then YOSYS="yosys -m ../../ghdl.so" fi +cmd () +{ + echo "$@" + "$@" +} + analyze () { echo "analyze $@" - "$GHDL" -a $GHDL_STD_FLAGS $GHDL_FLAGS $@ + cmd "$GHDL" -a $GHDL_STD_FLAGS $GHDL_FLAGS $@ } synth () { echo "synthesize $@" - "$YOSYS" -p "ghdl $@; synth_ice40 -blif out.blif" + cmd "$YOSYS" -Q -q -p "ghdl $@; synth_ice40 -blif out.blif" } clean () |