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-1k-qn84.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-1k-qn84.sh')
-rw-r--r-- | icefuzz/pinloc/pinloc-1k-qn84.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/icefuzz/pinloc/pinloc-1k-qn84.sh b/icefuzz/pinloc/pinloc-1k-qn84.sh index 308fd5d..cb5beca 100644 --- a/icefuzz/pinloc/pinloc-1k-qn84.sh +++ b/icefuzz/pinloc/pinloc-1k-qn84.sh @@ -8,6 +8,11 @@ pins=" " +if [ $(echo $pins | wc -w) -ne 67 ]; then + echo "Incorrect number of pins:" $(echo $pins | wc -w) + exit 1 +fi + { echo -n "all:" for pin in $pins; do @@ -23,6 +28,7 @@ pins=" echo; echo "${id}.exp:" echo " ICEDEV=lp1k-qn84 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 |