Skip to content

Instantly share code, notes, and snippets.

@makestuff
Last active December 27, 2015 02:49
Show Gist options
  • Save makestuff/7255059 to your computer and use it in GitHub Desktop.
Save makestuff/7255059 to your computer and use it in GitHub Desktop.
A project file for building the swled/cksum/vhdl example for the iCEblink40 devkit, using the iCEcube2 IDE.
[Project]
ProjectVersion=2.0
Version=Lattice Semiconductor Corporation iCEcube - Release: 2013.08.24169 - Build Date: Sep 6 2013 16:26:56
ProjectName=cksum
Vendor=SiliconBlue
Synthesis=synplify
ProjectVFiles=../../templates/epp/vhdl/top_level.vhdl=work,../../templates/harness.vhdl=work,../../../../../libs/makestuff/comm-fpga/epp/vhdl/comm_fpga_epp.vhdl=work,../../../../../libs/makestuff/seven-seg/vhdl/seven_seg.vhdl=work,cksum_rtl.vhdl=work
ProjectCFiles=
CurImplementation=cksum_Implmnt
Implementations=cksum_Implmnt
StartFromSynthesis=yes
IPGeneration=false
[cksum_Implmnt]
DeviceFamily=iCE40
Device=HX1K
DevicePackage=VQ100
DevicePower=
NetlistFile=cksum_Implmnt/cksum.edf
AdditionalEDIFFile=
IPEDIFFile=
DesignLib=cksum_Implmnt/sbt/netlist/oadb-top_level
DesignView=_rt
DesignCell=top_level
SynthesisSDCFile=cksum_Implmnt/cksum.scf
UserPinConstraintFile=
UserSDCFile=
PhysicalConstraintFile=../../templates/epp/boards/iceblink40/board.pcf
BackendImplPathName=
Devicevoltage=1.14
DevicevoltagePerformance=+/-5%(datasheet default)
DeviceTemperature=85
TimingAnalysisBasedOn=Worst
OperationRange=Commercial
TypicalCustomTemperature=25
WorstCustomTemperature=85
BestCustomTemperature=0
IOBankVoltages=topBank,2.5 bottomBank,2.5 leftBank,2.5 rightBank,2.5
derValue=0.701346
TimingPathNumberStick=0
[lse options]
CarryChain=True
CarryChainLength=0
CommandLineOptions=
EBRUtilization=100.00
FSMEncodingStyle=Auto
FixGatedClocks=True
I/OInsertion=True
IntermediateFileDump=True
MaximalFanout=10000
MemoryInitialValueFileSearchPath=
NumberOfCriticalPaths=3
OptimizationGoal=Area
PropagateConstants=True
RAMStyle=Auto
ROMStyle=Auto
RWCheckOnRam=False
RemoveDuplicateRegisters=True
ResolvedMixedDrivers=False
ResourceSharing=True
TargetFrequency=200
TopLevelUnit=
UseIORegister=Auto
VerilogIncludeSearchPath=
[tool options]
PlacerEffortLevel=std
PlacerAutoLutCascade=yes
PlacerAutoRamCascade=yes
PlacerPowerDriven=no
RouteWithTimingDriven=yes
RouteWithPinPermutation=yes
BitmapSPIFlashMode=yes
BitmapRAM4KInit=yes
BitmapInitRamBank=1111
BitmapOscillatorFR=low
BitmapEnableWarmBoot=yes
BitmapSetSecurity=no
BitmapSetNoUsedIONoPullup=no
FloorPlannerShowFanInNets=yes
FloorPlannerShowFanOutNets=yes
HookTo3rdPartyTextEditor=
Building the cksum VHDL on Linux:
mkdir $HOME/20131101
cd $HOME/20131101
wget -qO- http://www.swaton.ukfsn.org/bin/makestuff-lindar-20130829.tar.gz | tar zxf -
cd makestuff/
scripts/msget.sh makestuff/hdlmake/20131101
cd hdlmake/libs
mkdir makestuff
cd makestuff
../../../scripts/msget.sh makestuff/comm-fpga
../../../scripts/msget.sh makestuff/seven-seg
cd ../../apps
mkdir makestuff
cd makestuff
../../../scripts/msget.sh makestuff/swled
cd swled/cksum/vhdl
wget -q https://gist.github.com/makestuff/7255059/raw/185474c70af5ba33a95b10292f5f108f0e948952/cksum_sbt.project
${HOME}/lscc/iCEcube2.2013.08/iCEcube2
Ctrl-o and double-click cksum_sbt.project in ${HOME}/20131101/makestuff/hdlmake/apps/makestuff/swled/cksum/vhdl
Building cksum VHDL on Windows:
1) Download http://www.swaton.ukfsn.org/bin/makestuff-windows-20130829.tar.gz
2) Unpack as C:\makestuff.
2) Run C:\makestuff\setup.exe and click "Create Shortcut".
3) Launch the desktop shortcut created by setup.exe
4) Continue:
cd $HOME
scripts/msget.sh makestuff/hdlmake/20131101
cd hdlmake/libs
mkdir makestuff
cd makestuff
../../../scripts/msget.sh makestuff/comm-fpga
../../../scripts/msget.sh makestuff/seven-seg
cd ../../apps
mkdir makestuff
cd makestuff
../../../scripts/msget.sh makestuff/swled
cd swled/cksum/vhdl
wget -q https://gist.github.com/makestuff/7255059/raw/185474c70af5ba33a95b10292f5f108f0e948952/cksum_sbt.project
5) Run iCEcube2
6) Ctrl-o and double-click cksum_sbt.project in C:\makestuff\hdlmake\apps\makestuff\vhdl\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment