aboutsummaryrefslogtreecommitdiff
path: root/icefuzz/pinloc/pinloc-1k-tq144.sh
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-07-18 13:10:40 +0200
committerClifford Wolf <clifford@clifford.at>2015-07-18 13:10:40 +0200
commit48154cb6f452d3bdb4da36cc267b4b6c45588dc9 (patch)
tree3ec3be9ef7e8db1fb7c764ed8202e0215a8eb7c7 /icefuzz/pinloc/pinloc-1k-tq144.sh
parent13e63e6b65e044e348356731b55610d02cb308b9 (diff)
Imported full dev sources
Diffstat (limited to 'icefuzz/pinloc/pinloc-1k-tq144.sh')
-rw-r--r--icefuzz/pinloc/pinloc-1k-tq144.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/icefuzz/pinloc/pinloc-1k-tq144.sh b/icefuzz/pinloc/pinloc-1k-tq144.sh
new file mode 100644
index 0000000..64f9f69
--- /dev/null
+++ b/icefuzz/pinloc/pinloc-1k-tq144.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+pins="
+ 1 2 3 4 7 8 9 10 11 12 19 20 21 22 23 24 25 26 28 29 31 32 33 34
+ 37 38 39 41 42 43 44 45 47 48 49 50 52 56 58 60 61 62 63 64 67 68 70 71
+ 73 74 75 76 78 79 80 81 87 88 90 91 93 94 95 96 97 98 99 101 102 104 105 106 107
+ 112 113 114 115 116 117 118 119 120 121 122 128 129 134 135 136 137 138 139 141 142 143 144
+"
+
+{
+ echo -n "all:"
+ for pin in $pins; do
+ id="pinloc-1k-tq144_${pin}"
+ echo -n " ${id}.exp"
+ done
+ echo
+
+ for pin in $pins; do
+ id="pinloc-1k-tq144_${pin}"
+ echo "module top(output y); assign y = 0; endmodule" > ${id}.v
+ echo "set_io y ${pin}" >> ${id}.pcf
+ echo; echo "${id}.exp:"
+ echo " ICEDEV=hx1k-tq144 bash ../icecube.sh ${id} > ${id}.log 2>&1"
+ echo " ../../icebox/icebox_explain.py ${id}.txt > ${id}.exp.new"
+ echo " rm -rf ${id}.tmp"
+ echo " mv ${id}.exp.new ${id}.exp"
+ done
+} > pinloc-1k-tq144.mk
+
+set -ex
+make -f pinloc-1k-tq144.mk -j4
+python pinlocdb.py pinloc-1k-tq144_*.exp > pinloc-1k-tq144.txt
+