diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-02-01 18:48:56 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-02-01 18:48:56 +0100 |
commit | 496f4563ba4b0884ff257521f055fae574141e0a (patch) | |
tree | 68626312657b11980ce3633a3050a197a07e5991 /icefuzz/pinloc/pinloc-4k-cb132.sh | |
parent | c0c06cdee938c823a8daca54baac0c2e26b3fa3b (diff) | |
download | icestorm-496f4563ba4b0884ff257521f055fae574141e0a.tar.gz icestorm-496f4563ba4b0884ff257521f055fae574141e0a.tar.bz2 icestorm-496f4563ba4b0884ff257521f055fae574141e0a.zip |
Improvements in icefuzz/pinloc
Diffstat (limited to 'icefuzz/pinloc/pinloc-4k-cb132.sh')
-rw-r--r-- | icefuzz/pinloc/pinloc-4k-cb132.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/icefuzz/pinloc/pinloc-4k-cb132.sh b/icefuzz/pinloc/pinloc-4k-cb132.sh index bc20c86..1e6510f 100644 --- a/icefuzz/pinloc/pinloc-4k-cb132.sh +++ b/icefuzz/pinloc/pinloc-4k-cb132.sh @@ -12,6 +12,11 @@ pins=" P1 P2 P3 P4 P5 P7 P8 P9 P10 P11 P12 P13 P14 " +if [ $(echo $pins | wc -w) -ne 95 ]; then + echo "Incorrect number of pins:" $(echo $pins | wc -w) + exit 1 +fi + { echo -n "all:" for pin in $pins; do @@ -27,6 +32,7 @@ pins=" echo; echo "${id}.exp:" echo " ICEDEV=hx4k-cb132 bash ../icecube.sh ${id} > ${id}.log 2>&1" echo " ../../icebox/icebox_explain.py ${id}.asc > ${id}.exp.new" + echo " ! grep '^Warning: pin' ${id}.log" echo " rm -rf ${id}.tmp" echo " mv ${id}.exp.new ${id}.exp" done |