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-tq144.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-tq144.sh')
-rw-r--r-- | icefuzz/pinloc/pinloc-1k-tq144.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/icefuzz/pinloc/pinloc-1k-tq144.sh b/icefuzz/pinloc/pinloc-1k-tq144.sh index a2f8819..3b6005b 100644 --- a/icefuzz/pinloc/pinloc-1k-tq144.sh +++ b/icefuzz/pinloc/pinloc-1k-tq144.sh @@ -7,6 +7,11 @@ pins=" 112 113 114 115 116 117 118 119 120 121 122 128 129 134 135 136 137 138 139 141 142 143 144 " +if [ $(echo $pins | wc -w) -ne 96 ]; then + echo "Incorrect number of pins:" $(echo $pins | wc -w) + exit 1 +fi + { echo -n "all:" for pin in $pins; do @@ -22,6 +27,7 @@ pins=" echo; echo "${id}.exp:" echo " ICEDEV=hx1k-tq144 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 |