diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-01-17 12:13:53 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-01-17 12:13:53 +0100 |
commit | eabb851d40a6aa0df154930b4fab722cb8903b21 (patch) | |
tree | 82e008b86be861e041ce9eebd030629cb885249f /icefuzz/icecube.sh | |
parent | cb7836866e02bf86205b1120a4093f49a9571e44 (diff) | |
download | icestorm-eabb851d40a6aa0df154930b4fab722cb8903b21.tar.gz icestorm-eabb851d40a6aa0df154930b4fab722cb8903b21.tar.bz2 icestorm-eabb851d40a6aa0df154930b4fab722cb8903b21.zip |
Added icefuzz/icecube.sh [-1k|-8k]
Diffstat (limited to 'icefuzz/icecube.sh')
-rw-r--r-- | icefuzz/icecube.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/icefuzz/icecube.sh b/icefuzz/icecube.sh index 11e5408..dc1d281 100644 --- a/icefuzz/icecube.sh +++ b/icefuzz/icecube.sh @@ -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}" |