Added icefuzz/icecube.sh [-1k|-8k]

This commit is contained in:
Clifford Wolf 2016-01-17 12:13:53 +01:00
parent cb7836866e
commit eabb851d40
1 changed files with 11 additions and 1 deletions

View File

@ -10,7 +10,7 @@
# - <project_name>.pcf ## physical constraint file
#
# Running iCEcube2:
# - bash icecuberun.sh <project_name> ## creates <project_name>.bin
# - bash icecube.sh [-1k|-8k] <project_name> ## creates <project_name>.bin
#
#
#
@ -31,6 +31,16 @@
scriptdir=${BASH_SOURCE%/*}
if [ -z "$scriptdir" ]; then scriptdir="."; fi
if [ "$1" == "-1k" ]; then
ICEDEV=hx1k-tq144
shift
fi
if [ "$1" == "-8k" ]; then
ICEDEV=hx8k-ct256
shift
fi
set -ex
set -- ${1%.v}
icecubedir="${ICECUBEDIR:-/opt/lscc/iCEcube2.2015.08}"