Added pinloc fuzzers for iCE40-LP1k qn84

This commit is contained in:
juan-micuss 2015-12-30 15:37:22 +01:00
parent 8025d02856
commit 6ffd647b17
1 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# #
# Installing iCEcube2: # Installing iCEcube2:
# - Install iCEcube2.2014.08 in /opt/lscc/iCEcube2.2014.08 # - Install iCEcube2.2014.08 in /opt/lscc/iCEcube2.2015.08
# - Install License in /opt/lscc/iCEcube2.2014.08/license.dat # - Install License in /opt/lscc/iCEcube2.2015.08/license.dat
# #
# Creating a project: # Creating a project:
# - <project_name>.v ## HDL sources (use "top" as name for the top module) # - <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 -ex
set -- ${1%.v} 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 SBT_DIR="$icecubedir/sbt_backend"
export SYNPLIFY_PATH="$icecubedir/synpbase" export SYNPLIFY_PATH="$icecubedir/synpbase"
export LM_LICENSE_FILE="$icecubedir/license.dat" export LM_LICENSE_FILE="$icecubedir/license.dat"
@ -68,6 +68,10 @@ case "${ICEDEV:-hx1k-tq144}" in
iCEPACKAGE="CB132" iCEPACKAGE="CB132"
iCE40DEV="iCE40HX8K" iCE40DEV="iCE40HX8K"
;; ;;
lp1k-qn84)
iCEPACKAGE="QN84"
iCE40DEV="iCE40LP1K"
;;
*) *)
echo "ERROR: Invalid \$ICEDEV device config '$ICEDEV'." echo "ERROR: Invalid \$ICEDEV device config '$ICEDEV'."
exit 1 exit 1
@ -82,6 +86,10 @@ case "$iCE40DEV" in
libfile="ice40HX8K.lib" libfile="ice40HX8K.lib"
devfile="ICE40P08.dev" devfile="ICE40P08.dev"
;; ;;
iCE40LP1K)
libfile="ice40LP1K.lib"
devfile="ICE40P01.dev"
;;
esac esac
( (