projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f70df
)
Check if YOSYS env var is set and use it as YOSYS executable
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Fri, 3 Jul 2020 15:27:41 +0000
(17:27 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Fri, 3 Jul 2020 15:27:41 +0000
(17:27 +0200)
gram/simulation/runsimcrg.sh
patch
|
blob
|
history
diff --git
a/gram/simulation/runsimcrg.sh
b/gram/simulation/runsimcrg.sh
index d2eb2db24d50849ff3cd19e665f2e46a3773ab68..439619ee1563e9d29abcb35d3f6aae56d7fb081b 100755
(executable)
--- a/
gram/simulation/runsimcrg.sh
+++ b/
gram/simulation/runsimcrg.sh
@@
-4,7
+4,11
@@
set -e
LIB_DIR=/usr/local/diamond/3.11_x64/ispfpga/verilog/data/ecp5u
python simcrg.py
-yosys simcrg.ys
+if [[ -z "${YOSYS}" ]]; then
+ $YOSYS simcrg.ys
+else
+ yosys simcrg.ys
+fi
cp ${LIB_DIR}/DDRDLLA.v DDRDLLA.v
patch DDRDLLA.v < DDRDLLA.patch
iverilog -Wall -g2012 -s simcrgtb -o simcrg simcrgtb.sv build_simcrg/top.v dram_model/ddr3.v ${LIB_DIR}/ECLKSYNCB.v ${LIB_DIR}/EHXPLLL.v ${LIB_DIR}/PUR.v ${LIB_DIR}/GSR.v \