From 496f4563ba4b0884ff257521f055fae574141e0a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 1 Feb 2016 18:48:56 +0100 Subject: Improvements in icefuzz/pinloc --- icefuzz/pinloc/pinloc-1k-qn84.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'icefuzz/pinloc/pinloc-1k-qn84.sh') 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 -- cgit v1.2.3