diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-01-30 17:13:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 17:13:37 +0100 |
commit | 722790ad3cdb497e1b13cd1b4368d8380371eb37 (patch) | |
tree | 8edd2abd05093d42fe06a6d7b8b2d27e3b56c99c /icefuzz/icecube.sh | |
parent | 479467a50da0bd604a52116dcefbacf36bc601bd (diff) | |
parent | 6efb7f7cc2a9ddb07f9436739387f182014e1855 (diff) | |
download | icestorm-722790ad3cdb497e1b13cd1b4368d8380371eb37.tar.gz icestorm-722790ad3cdb497e1b13cd1b4368d8380371eb37.tar.bz2 icestorm-722790ad3cdb497e1b13cd1b4368d8380371eb37.zip |
Merge pull request #119 from daveshah1/up5k_improve
UltraPlus Timing Analysis Improvements
Diffstat (limited to 'icefuzz/icecube.sh')
-rw-r--r-- | icefuzz/icecube.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/icefuzz/icecube.sh b/icefuzz/icecube.sh index 422ded6..5a1a7f2 100644 --- a/icefuzz/icecube.sh +++ b/icefuzz/icecube.sh @@ -183,6 +183,10 @@ case "${ICEDEV:-hx1k-tq144}" in iCEPACKAGE="SG48" iCE40DEV="iCE40UP5K" ;; + up5k-uwg30) + iCEPACKAGE="UWG30" + iCE40DEV="iCE40UP5K" + ;; *) echo "ERROR: Invalid \$ICEDEV device config '$ICEDEV'." exit 1 @@ -379,8 +383,8 @@ cat > foobar_sbt.project << EOT Implementations=foobar_Implmnt [foobar_Implmnt] -DeviceFamily=$( echo $iCE40DEV | sed -re 's,(HX).*,,'; ) -Device=$( echo $iCE40DEV | sed -re 's,iCE40,,'; ) +DeviceFamily=$( echo $iCE40DEV | sed -re 's,(HX|5K).*,,'; ) +Device=$( echo $iCE40DEV | sed -re 's,iCE40(UP)?,,'; ) DevicePackage=$iCEPACKAGE Devicevoltage=1.14 DevicevoltagePerformance=+/-5%(datasheet default) @@ -419,4 +423,3 @@ fi export LD_LIBRARY_PATH="" $scriptdir/../icepack/iceunpack "$1.bin" "$1.asc" - |