Invert condition in runsimcrg.sh
authorJean THOMAS <git0@pub.jeanthomas.me>
Fri, 3 Jul 2020 16:19:25 +0000 (18:19 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Fri, 3 Jul 2020 16:19:25 +0000 (18:19 +0200)
gram/simulation/runsimcrg.sh

index 439619ee1563e9d29abcb35d3f6aae56d7fb081b..73b6f8c96b9921ab3ca56315b35e1d6d7b0af8dc 100755 (executable)
@@ -5,9 +5,9 @@ LIB_DIR=/usr/local/diamond/3.11_x64/ispfpga/verilog/data/ecp5u
 
 python simcrg.py
 if [[ -z "${YOSYS}" ]]; then
-  $YOSYS simcrg.ys
+       yosys simcrg.ys
 else
-  yosys simcrg.ys
+       $YOSYS simcrg.ys
 fi
 cp ${LIB_DIR}/DDRDLLA.v DDRDLLA.v
 patch DDRDLLA.v < DDRDLLA.patch