aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/icecube.sh
diff options
context:
space:
mode:
authorhermitsoft <hermisu@mail.com>2017-03-07 15:56:17 +0100
committerhermitsoft <hermisu@mail.com>2017-03-07 15:56:17 +0100
commitd3e368828ef62f36589e7b85d5a26b911d33a5c6 (patch)
treec4cc651f32ef278d237e925bf83f08c9a3ea4c89 /icefuzz/icecube.sh
parent0a5d4340098c0d5dff5adfa6c6feaafe201889a3 (diff)
downloadicestorm-d3e368828ef62f36589e7b85d5a26b911d33a5c6.tar.gz
icestorm-d3e368828ef62f36589e7b85d5a26b911d33a5c6.tar.bz2
icestorm-d3e368828ef62f36589e7b85d5a26b911d33a5c6.zip
LP384 support in icefuzz (Makefile,icebox.sh,etc)
Diffstat (limited to 'icefuzz/icecube.sh')
-rw-r--r--icefuzz/icecube.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/icefuzz/icecube.sh b/icefuzz/icecube.sh
index 2154b87..d098b66 100644
--- a/icefuzz/icecube.sh
+++ b/icefuzz/icecube.sh
@@ -10,7 +10,7 @@
# - <project_name>.pcf ## physical constraint file
#
# Running iCEcube2:
-# - bash icecube.sh [-1k|-8k] <project_name> ## creates <project_name>.bin
+# - bash icecube.sh [-1k|-8k|-384] <project_name> ## creates <project_name>.bin
#
#
#
@@ -41,6 +41,11 @@ if [ "$1" == "-8k" ]; then
shift
fi
+if [ "$1" == "-384" ]; then
+ ICEDEV=384-qn32
+ shift
+fi
+
if [ "$1" == "-ul1k" ]; then
ICEDEV=ul1k-cm36a
shift
@@ -92,6 +97,10 @@ case "${ICEDEV:-hx1k-tq144}" in
iCEPACKAGE="CB132"
iCE40DEV="iCE40HX8K"
;;
+ lp384-qn32)
+ iCEPACKAGE="QN32"
+ iCE40DEV="iCE40LP384"
+ ;;
lp1k-swg16tr)
iCEPACKAGE="SWG16TR"
iCE40DEV="iCE40LP1K"
@@ -177,6 +186,11 @@ case "$iCE40DEV" in
libfile="ice40HX8K.lib"
devfile="ICE40P08.dev"
;;
+ iCE40LP384)
+ icetech="SBTiCE40"
+ libfile="ice40LP384.lib"
+ devfile="ICE40P03.dev"
+ ;;
iCE40LP1K)
icetech="SBTiCE40"
libfile="ice40LP1K.lib"