aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/icecube.sh
diff options
context:
space:
mode:
Diffstat (limited to 'icefuzz/icecube.sh')
-rw-r--r--icefuzz/icecube.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/icefuzz/icecube.sh b/icefuzz/icecube.sh
index f3dabc6..55fb9bc 100644
--- a/icefuzz/icecube.sh
+++ b/icefuzz/icecube.sh
@@ -1,8 +1,8 @@
#!/bin/bash
#
# Installing iCEcube2:
-# - Install iCEcube2.2014.08 in /opt/lscc/iCEcube2.2014.08
-# - Install License in /opt/lscc/iCEcube2.2014.08/license.dat
+# - Install iCEcube2.2014.08 in /opt/lscc/iCEcube2.2015.08
+# - Install License in /opt/lscc/iCEcube2.2015.08/license.dat
#
# Creating a project:
# - <project_name>.v ## HDL sources (use "top" as name for the top module)
@@ -33,7 +33,7 @@ if [ -z "$scriptdir" ]; then scriptdir="."; fi
set -ex
set -- ${1%.v}
-icecubedir="${ICECUBEDIR:-/opt/lscc/iCEcube2.2014.08}"
+icecubedir="${ICECUBEDIR:-/opt/lscc/iCEcube2.2015.08}"
export SBT_DIR="$icecubedir/sbt_backend"
export SYNPLIFY_PATH="$icecubedir/synpbase"
export LM_LICENSE_FILE="$icecubedir/license.dat"
@@ -68,6 +68,10 @@ case "${ICEDEV:-hx1k-tq144}" in
iCEPACKAGE="CB132"
iCE40DEV="iCE40HX8K"
;;
+ lp1k-qn84)
+ iCEPACKAGE="QN84"
+ iCE40DEV="iCE40LP1K"
+ ;;
*)
echo "ERROR: Invalid \$ICEDEV device config '$ICEDEV'."
exit 1
@@ -82,6 +86,10 @@ case "$iCE40DEV" in
libfile="ice40HX8K.lib"
devfile="ICE40P08.dev"
;;
+ iCE40LP1K)
+ libfile="ice40LP1K.lib"
+ devfile="ICE40P01.dev"
+ ;;
esac
(