aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz
diff options
context:
space:
mode:
authorjuan-micuss <arrejo@gmail.com>2015-12-30 15:37:22 +0100
committerjuan-micuss <arrejo@gmail.com>2015-12-30 15:37:22 +0100
commit6ffd647b1767f9b9cb56f9162b3ef826ba26c8ea (patch)
tree8acf3c17130cdf74fceb235077164c1c101d275d /icefuzz
parent8025d0285614d648be3e56a029c9628ab69ae324 (diff)
downloadicestorm-6ffd647b1767f9b9cb56f9162b3ef826ba26c8ea.tar.gz
icestorm-6ffd647b1767f9b9cb56f9162b3ef826ba26c8ea.tar.bz2
icestorm-6ffd647b1767f9b9cb56f9162b3ef826ba26c8ea.zip
Added pinloc fuzzers for iCE40-LP1k qn84
Diffstat (limited to 'icefuzz')
-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..cf73bb8 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:-/home/juan/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
(