Compare commits
7 commits
master
...
davidblade
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
108ebb24da | ||
|
|
6349f02ef8 | ||
|
|
a6b188c27d | ||
|
|
a099c6c0bb | ||
|
|
f7fd419683 | ||
|
|
0f98d08a79 | ||
|
|
f239e1bc5d |
42 changed files with 107466 additions and 5031 deletions
BIN
DavidNotes/FPGA Notes.docx
Normal file
BIN
DavidNotes/FPGA Notes.docx
Normal file
Binary file not shown.
0
DavidNotes/FPGA notes.txt
Normal file
0
DavidNotes/FPGA notes.txt
Normal file
BIN
DavidNotes/LMS6002Dr2-DataSheet-1.2r0.pdf
Normal file
BIN
DavidNotes/LMS6002Dr2-DataSheet-1.2r0.pdf
Normal file
Binary file not shown.
28
DavidNotes/Notes.txt
Normal file
28
DavidNotes/Notes.txt
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
#Notes about compiling baldeRf
|
||||||
|
I've got an error when using wsl because the files are in windows format.
|
||||||
|
The command to translate the file to linx version is: sudo find . -type f -exec dos2unix {} \;
|
||||||
|
|
||||||
|
19/10/2025
|
||||||
|
I am having problems with quartus root file. It cannot find the version. It is located here C:\intelFPGA_lite\quartus. Create a linux variable. Probably on the env variables in windows
|
||||||
|
|
||||||
|
1) Change files to linux format find . -type f -print0 | xargs -0 -n 1 -P 4 dos2unix
|
||||||
|
2) Converting windows paths to linux format. Remember that by dragging the file to the main window the path gets printed in the prompt.
|
||||||
|
2.1) example: cd $(wslpath 'D:\aaa\bbb\ccc\ddd\eee\fff\ggg') #from windows to linux
|
||||||
|
2.2) example: notepad.exe $(wslpath -w ./myfile.txt) #from windows to linux
|
||||||
|
|
||||||
|
3) Transfer windows environmental variable to wsl "setx WSLENV QSYS_ROOTDIR/up"
|
||||||
|
|
||||||
|
4) Location of the make file for the niosII aplications
|
||||||
|
4.1 ) Notice in Makefile:
|
||||||
|
ad936x: cmake_check_build_system
|
||||||
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ad936x
|
||||||
|
|
||||||
|
5) I am getting an error generating the libad936x code. The Makefile located in BladeRF2p0/bladeRF/hdl/quartus/work/bladerf-micro-A4-hosted/libad936x regenerate all the files when "make rebuild_cache" is excuted.
|
||||||
|
|
||||||
|
6) When the Makefile located at libad936x is executed. It run in according to the comment of the Makefile
|
||||||
|
|
||||||
|
-> The top-level source directory on which CMake was run ->CMAKE_SOURCE_DIR = /mnt/c/Users/dr829/OneDrive/Documents/BladeRF2p0/bladeRF/hdl/fpga/ip/analogdevicesinc/no_OS
|
||||||
|
|
||||||
|
7) try make-dn for debugging
|
||||||
|
|
||||||
|
8) Problem in the cmake file: C:\Users\dr829\OneDrive\Documents\BladeRF2p0\bladeRF\hdl\quartus\work\bladerf-micro-A4-hosted\libad936x
|
||||||
BIN
DavidNotes/bladeRF-2.0-micro-REV1.4.pdf
Normal file
BIN
DavidNotes/bladeRF-2.0-micro-REV1.4.pdf
Normal file
Binary file not shown.
BIN
DavidNotes/bladeRF_2_micro-brief.pdf
Normal file
BIN
DavidNotes/bladeRF_2_micro-brief.pdf
Normal file
Binary file not shown.
2
DavidNotes/calibration data.txt
Normal file
2
DavidNotes/calibration data.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
19/10/2025
|
||||||
|
0x1f47
|
||||||
102872
DavidNotes/micro.dxf
Normal file
102872
DavidNotes/micro.dxf
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,81 +1,81 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<projectDescription>
|
<projectDescription>
|
||||||
<name>bladeRF</name>
|
<name>bladeRF</name>
|
||||||
<comment></comment>
|
<comment></comment>
|
||||||
<projects>
|
<projects>
|
||||||
</projects>
|
</projects>
|
||||||
<buildSpec>
|
<buildSpec>
|
||||||
<buildCommand>
|
<buildCommand>
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||||
<triggers>clean,full,incremental,</triggers>
|
<triggers>clean,full,incremental,</triggers>
|
||||||
<arguments>
|
<arguments>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>?name?</key>
|
<key>?name?</key>
|
||||||
<value></value>
|
<value></value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.append_environment</key>
|
<key>org.eclipse.cdt.make.core.append_environment</key>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
|
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
|
||||||
<value>all</value>
|
<value>all</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.buildArguments</key>
|
<key>org.eclipse.cdt.make.core.buildArguments</key>
|
||||||
<value></value>
|
<value></value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.buildCommand</key>
|
<key>org.eclipse.cdt.make.core.buildCommand</key>
|
||||||
<value>cs-make</value>
|
<value>cs-make</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.buildLocation</key>
|
<key>org.eclipse.cdt.make.core.buildLocation</key>
|
||||||
<value>${workspace_loc:/bladeRF}</value>
|
<value>${workspace_loc:/bladeRF}</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
|
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
|
||||||
<value>clean</value>
|
<value>clean</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.contents</key>
|
<key>org.eclipse.cdt.make.core.contents</key>
|
||||||
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
|
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
||||||
<value>false</value>
|
<value>false</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
|
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
|
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
|
||||||
<value>DEBUG=y all</value>
|
<value>DEBUG=y all</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.stopOnError</key>
|
<key>org.eclipse.cdt.make.core.stopOnError</key>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
|
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
<buildCommand>
|
<buildCommand>
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
||||||
|
|
@ -1,33 +1,33 @@
|
||||||
<?xml version="1.0" encoding="us-ascii"?>
|
<?xml version="1.0" encoding="us-ascii"?>
|
||||||
<CyXmlSerializer>
|
<CyXmlSerializer>
|
||||||
<!--This file is machine generated and read. It is not intended to be edited by hand.-->
|
<!--This file is machine generated and read. It is not intended to be edited by hand.-->
|
||||||
<!--Due to this, there is no schema for this file.-->
|
<!--Due to this, there is no schema for this file.-->
|
||||||
<CyGuid_7d237aff-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtGpif2exe" version="2">
|
<CyGuid_7d237aff-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtGpif2exe" version="2">
|
||||||
<CyGuid_7d237b00-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtProject" version="1">
|
<CyGuid_7d237b00-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtProject" version="1">
|
||||||
<ProjectDocs>
|
<ProjectDocs>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2model.xml" persistent="./projectfiles/gpif2model.xml" target="7d237b02-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2model.xml" persistent="./projectfiles/gpif2model.xml" target="7d237b02-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2view.xml" persistent="./projectfiles/gpif2view.xml" target="7d237b01-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2view.xml" persistent="./projectfiles/gpif2view.xml" target="7d237b01-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2timingsimulation.xml" persistent="./projectfiles/gpif2timingsimulation.xml" target="3ad448c6-d155-4f76-a7fb-e760cd8e6feb">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2timingsimulation.xml" persistent="./projectfiles/gpif2timingsimulation.xml" target="3ad448c6-d155-4f76-a7fb-e760cd8e6feb">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
</ProjectDocs>
|
</ProjectDocs>
|
||||||
<OutputDocs>
|
<OutputDocs>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="cyfxgpif2config.h" persistent="C:\Users\Robert\Documents\GPIF II Designer\waste.cydsn\cyfxgpif2config.h" target="7d237afd-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="cyfxgpif2config.h" persistent="C:\Users\Robert\Documents\GPIF II Designer\waste.cydsn\cyfxgpif2config.h" target="7d237afd-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="cyfxgpif2config.h" persistent="C:\Users\Robert\Documents\GPIF II Designer\c4loader.cydsn\cyfxgpif2config.h" target="7d237afd-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="cyfxgpif2config.h" persistent="C:\Users\Robert\Documents\GPIF II Designer\c4loader.cydsn\cyfxgpif2config.h" target="7d237afd-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
</OutputDocs>
|
</OutputDocs>
|
||||||
</CyGuid_7d237b00-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b00-d944-11da-aaba-00164119d63b>
|
||||||
<Settings>
|
<Settings>
|
||||||
<Setting name="GPIF2_OutputName" value="cyfxgpif2config" />
|
<Setting name="GPIF2_OutputName" value="cyfxgpif2config" />
|
||||||
<Setting name="GPIF2_OutputLocation" value="${ProjectDir}" />
|
<Setting name="GPIF2_OutputLocation" value="${ProjectDir}" />
|
||||||
<Setting name="GPIF2_Template" value="cygpif2cheadertemplate" />
|
<Setting name="GPIF2_Template" value="cygpif2cheadertemplate" />
|
||||||
</Settings>
|
</Settings>
|
||||||
</CyGuid_7d237aff-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237aff-d944-11da-aaba-00164119d63b>
|
||||||
</CyXmlSerializer>
|
</CyXmlSerializer>
|
||||||
|
|
@ -1,127 +1,127 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<GPIFIIModel version="3">
|
<GPIFIIModel version="3">
|
||||||
<InterfaceDefination>
|
<InterfaceDefination>
|
||||||
<InterfaceSetting>
|
<InterfaceSetting>
|
||||||
<I2SEnabled>False</I2SEnabled>
|
<I2SEnabled>False</I2SEnabled>
|
||||||
<I2CEnabled>False</I2CEnabled>
|
<I2CEnabled>False</I2CEnabled>
|
||||||
<SPIEnabled>False</SPIEnabled>
|
<SPIEnabled>False</SPIEnabled>
|
||||||
<I2SEnabled>False</I2SEnabled>
|
<I2SEnabled>False</I2SEnabled>
|
||||||
<ADMuxedEnabled>False</ADMuxedEnabled>
|
<ADMuxedEnabled>False</ADMuxedEnabled>
|
||||||
<InterfaceType>Master</InterfaceType>
|
<InterfaceType>Master</InterfaceType>
|
||||||
<CommunicationType>Synchronous</CommunicationType>
|
<CommunicationType>Synchronous</CommunicationType>
|
||||||
<ClockSource>Internal</ClockSource>
|
<ClockSource>Internal</ClockSource>
|
||||||
<ClockEdge>Positive</ClockEdge>
|
<ClockEdge>Positive</ClockEdge>
|
||||||
<Endianness>LittleEndian</Endianness>
|
<Endianness>LittleEndian</Endianness>
|
||||||
<DataBusWidth>Bit16</DataBusWidth>
|
<DataBusWidth>Bit16</DataBusWidth>
|
||||||
<AddressBuswidth>0</AddressBuswidth>
|
<AddressBuswidth>0</AddressBuswidth>
|
||||||
</InterfaceSetting>
|
</InterfaceSetting>
|
||||||
</InterfaceDefination>
|
</InterfaceDefination>
|
||||||
<Signals>
|
<Signals>
|
||||||
<Signal ElementId="OUTPUT0" SignalType="Output" SpecialFunction="None">
|
<Signal ElementId="OUTPUT0" SignalType="Output" SpecialFunction="None">
|
||||||
<DisplayName>OUTPUT0</DisplayName>
|
<DisplayName>OUTPUT0</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_26</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_26</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Delay>Beta</Delay>
|
<Delay>Beta</Delay>
|
||||||
<AssetionType>Toggle</AssetionType>
|
<AssetionType>Toggle</AssetionType>
|
||||||
</Signal>
|
</Signal>
|
||||||
</Signals>
|
</Signals>
|
||||||
<StateMachine>
|
<StateMachine>
|
||||||
<AddressCounter />
|
<AddressCounter />
|
||||||
<DataCounter />
|
<DataCounter />
|
||||||
<ControlCounter />
|
<ControlCounter />
|
||||||
<AddressComparator />
|
<AddressComparator />
|
||||||
<DataComparator />
|
<DataComparator />
|
||||||
<ControlComparator />
|
<ControlComparator />
|
||||||
<DRQ />
|
<DRQ />
|
||||||
<AddrData />
|
<AddrData />
|
||||||
<State ElementId="STARTSTATE0" StateType="StartState">
|
<State ElementId="STARTSTATE0" StateType="StartState">
|
||||||
<DisplayName>START</DisplayName>
|
<DisplayName>START</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE0" StateType="NormalState">
|
<State ElementId="STATE0" StateType="NormalState">
|
||||||
<DisplayName>STATE0</DisplayName>
|
<DisplayName>STATE0</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread3</ThreadNumber>
|
<ThreadNumber>Thread3</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DriveNewData</DriveNewData>
|
<DriveNewData>DriveNewData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE1" StateType="NormalState">
|
<State ElementId="STATE1" StateType="NormalState">
|
||||||
<DisplayName>INIT</DisplayName>
|
<DisplayName>INIT</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE4" StateType="NormalState">
|
<State ElementId="STATE4" StateType="NormalState">
|
||||||
<DisplayName>STATE2</DisplayName>
|
<DisplayName>STATE2</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread3</ThreadNumber>
|
<ThreadNumber>Thread3</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE5" StateType="NormalState">
|
<State ElementId="STATE5" StateType="NormalState">
|
||||||
<DisplayName>STATE5</DisplayName>
|
<DisplayName>STATE5</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread3</ThreadNumber>
|
<ThreadNumber>Thread3</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
||||||
<ControlPinName>OUTPUT0</ControlPinName>
|
<ControlPinName>OUTPUT0</ControlPinName>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE3" StateType="NormalState">
|
<State ElementId="STATE3" StateType="NormalState">
|
||||||
<DisplayName>STATE1</DisplayName>
|
<DisplayName>STATE1</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread3</ThreadNumber>
|
<ThreadNumber>Thread3</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
||||||
<ControlPinName>OUTPUT0</ControlPinName>
|
<ControlPinName>OUTPUT0</ControlPinName>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE6" StateType="NormalState">
|
<State ElementId="STATE6" StateType="NormalState">
|
||||||
<DisplayName>STATE4</DisplayName>
|
<DisplayName>STATE4</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread3</ThreadNumber>
|
<ThreadNumber>Thread3</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
<DriveNewData>DrivePreviousSetData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<Transition ElementId="TRANSITION0" SourceState="STATE1" DestinationState="STATE0" Equation="DMA_RDY_TH3" />
|
<Transition ElementId="TRANSITION0" SourceState="STATE1" DestinationState="STATE0" Equation="DMA_RDY_TH3" />
|
||||||
<Transition ElementId="TRANSITION1" SourceState="STARTSTATE0" DestinationState="STATE1" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION1" SourceState="STARTSTATE0" DestinationState="STATE1" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION5" SourceState="STATE0" DestinationState="STATE3" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION5" SourceState="STATE0" DestinationState="STATE3" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION6" SourceState="STATE3" DestinationState="STATE4" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION6" SourceState="STATE3" DestinationState="STATE4" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION7" SourceState="STATE4" DestinationState="STATE5" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION7" SourceState="STATE4" DestinationState="STATE5" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION8" SourceState="STATE5" DestinationState="STATE6" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION8" SourceState="STATE5" DestinationState="STATE6" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION9" SourceState="STATE6" DestinationState="STATE0" Equation="DMA_RDY_TH3" />
|
<Transition ElementId="TRANSITION9" SourceState="STATE6" DestinationState="STATE0" Equation="DMA_RDY_TH3" />
|
||||||
</StateMachine>
|
</StateMachine>
|
||||||
</GPIFIIModel>
|
</GPIFIIModel>
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<GPIFIITimingSimulation version="1">
|
<GPIFIITimingSimulation version="1">
|
||||||
<Clock>100</Clock>
|
<Clock>100</Clock>
|
||||||
<BufferSize>512</BufferSize>
|
<BufferSize>512</BufferSize>
|
||||||
<WaterMark>0</WaterMark>
|
<WaterMark>0</WaterMark>
|
||||||
<Scenario Name="SCENARIO0" CurrentThread="Thread3">
|
<Scenario Name="SCENARIO0" CurrentThread="Thread3">
|
||||||
<State StateId="STARTSTATE0" WaitNumber="0" />
|
<State StateId="STARTSTATE0" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE0" WaitNumber="0" />
|
<State StateId="STATE0" WaitNumber="0" />
|
||||||
<State StateId="STATE3" WaitNumber="0" />
|
<State StateId="STATE3" WaitNumber="0" />
|
||||||
<State StateId="STATE4" WaitNumber="0" />
|
<State StateId="STATE4" WaitNumber="0" />
|
||||||
<State StateId="STATE5" WaitNumber="0" />
|
<State StateId="STATE5" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE0" WaitNumber="0" />
|
<State StateId="STATE0" WaitNumber="0" />
|
||||||
</Scenario>
|
</Scenario>
|
||||||
</GPIFIITimingSimulation>
|
</GPIFIITimingSimulation>
|
||||||
|
|
@ -1,161 +1,161 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Root version="4">
|
<Root version="4">
|
||||||
<CyStates>
|
<CyStates>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>515</Left>
|
<Left>515</Left>
|
||||||
<Top>214.446666666667</Top>
|
<Top>214.446666666667</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE0</Name>
|
<Name>STATE0</Name>
|
||||||
<DisplayName>STATE0</DisplayName>
|
<DisplayName>STATE0</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>225</Left>
|
<Left>225</Left>
|
||||||
<Top>137.41</Top>
|
<Top>137.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE1</Name>
|
<Name>STATE1</Name>
|
||||||
<DisplayName>INIT</DisplayName>
|
<DisplayName>INIT</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>679</Left>
|
<Left>679</Left>
|
||||||
<Top>96.41</Top>
|
<Top>96.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE3</Name>
|
<Name>STATE3</Name>
|
||||||
<DisplayName>STATE1</DisplayName>
|
<DisplayName>STATE1</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>885</Left>
|
<Left>885</Left>
|
||||||
<Top>36.41</Top>
|
<Top>36.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE4</Name>
|
<Name>STATE4</Name>
|
||||||
<DisplayName>STATE2</DisplayName>
|
<DisplayName>STATE2</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>1104</Left>
|
<Left>1104</Left>
|
||||||
<Top>100.41</Top>
|
<Top>100.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE5</Name>
|
<Name>STATE5</Name>
|
||||||
<DisplayName>STATE3</DisplayName>
|
<DisplayName>STATE3</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>1265</Left>
|
<Left>1265</Left>
|
||||||
<Top>233.41</Top>
|
<Top>233.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE6</Name>
|
<Name>STATE6</Name>
|
||||||
<DisplayName>STATE4</DisplayName>
|
<DisplayName>STATE4</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyStartState>
|
<CyStartState>
|
||||||
<Left>29</Left>
|
<Left>29</Left>
|
||||||
<Top>18.4466666666667</Top>
|
<Top>18.4466666666667</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STARTSTATE0</Name>
|
<Name>STARTSTATE0</Name>
|
||||||
<DisplayName>START</DisplayName>
|
<DisplayName>START</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyStartState>
|
</CyStartState>
|
||||||
</CyStates>
|
</CyStates>
|
||||||
<CyTransitions>
|
<CyTransitions>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION9</Name>
|
<Name>TRANSITION9</Name>
|
||||||
<TransitionEquation>DMA_RDY_TH3</TransitionEquation>
|
<TransitionEquation>DMA_RDY_TH3</TransitionEquation>
|
||||||
<SourceName>STATE6</SourceName>
|
<SourceName>STATE6</SourceName>
|
||||||
<SinkName>STATE0</SinkName>
|
<SinkName>STATE0</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION8</Name>
|
<Name>TRANSITION8</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STATE5</SourceName>
|
<SourceName>STATE5</SourceName>
|
||||||
<SinkName>STATE6</SinkName>
|
<SinkName>STATE6</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION7</Name>
|
<Name>TRANSITION7</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STATE4</SourceName>
|
<SourceName>STATE4</SourceName>
|
||||||
<SinkName>STATE5</SinkName>
|
<SinkName>STATE5</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION6</Name>
|
<Name>TRANSITION6</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STATE3</SourceName>
|
<SourceName>STATE3</SourceName>
|
||||||
<SinkName>STATE4</SinkName>
|
<SinkName>STATE4</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION5</Name>
|
<Name>TRANSITION5</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STATE0</SourceName>
|
<SourceName>STATE0</SourceName>
|
||||||
<SinkName>STATE3</SinkName>
|
<SinkName>STATE3</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION1</Name>
|
<Name>TRANSITION1</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STARTSTATE0</SourceName>
|
<SourceName>STARTSTATE0</SourceName>
|
||||||
<SinkName>STATE1</SinkName>
|
<SinkName>STATE1</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION0</Name>
|
<Name>TRANSITION0</Name>
|
||||||
<TransitionEquation>DMA_RDY_TH3</TransitionEquation>
|
<TransitionEquation>DMA_RDY_TH3</TransitionEquation>
|
||||||
<SourceName>STATE1</SourceName>
|
<SourceName>STATE1</SourceName>
|
||||||
<SinkName>STATE0</SinkName>
|
<SinkName>STATE0</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
</CyTransitions>
|
</CyTransitions>
|
||||||
</Root>
|
</Root>
|
||||||
|
|
@ -1,30 +1,30 @@
|
||||||
<?xml version="1.0" encoding="us-ascii"?>
|
<?xml version="1.0" encoding="us-ascii"?>
|
||||||
<CyXmlSerializer>
|
<CyXmlSerializer>
|
||||||
<!--This file is machine generated and read. It is not intended to be edited by hand.-->
|
<!--This file is machine generated and read. It is not intended to be edited by hand.-->
|
||||||
<!--Due to this, there is no schema for this file.-->
|
<!--Due to this, there is no schema for this file.-->
|
||||||
<CyGuid_7d237aff-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtGpif2exe" version="2">
|
<CyGuid_7d237aff-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtGpif2exe" version="2">
|
||||||
<CyGuid_7d237b00-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtProject" version="1">
|
<CyGuid_7d237b00-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtProject" version="1">
|
||||||
<ProjectDocs>
|
<ProjectDocs>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2model.xml" persistent="./projectfiles/gpif2model.xml" target="7d237b02-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2model.xml" persistent="./projectfiles/gpif2model.xml" target="7d237b02-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2view.xml" persistent="./projectfiles/gpif2view.xml" target="7d237b01-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2view.xml" persistent="./projectfiles/gpif2view.xml" target="7d237b01-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2timingsimulation.xml" persistent="./projectfiles/gpif2timingsimulation.xml" target="3ad448c6-d155-4f76-a7fb-e760cd8e6feb">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="gpif2timingsimulation.xml" persistent="./projectfiles/gpif2timingsimulation.xml" target="3ad448c6-d155-4f76-a7fb-e760cd8e6feb">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
</ProjectDocs>
|
</ProjectDocs>
|
||||||
<OutputDocs>
|
<OutputDocs>
|
||||||
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="cyfxgpif2config.h" persistent="C:\Users\Robert\Documents\GPIF II Designer\RFlink.cydsn\cyfxgpif2config.h" target="7d237afd-d944-11da-aaba-00164119d63b">
|
<CyGuid_7d237b03-d944-11da-aaba-00164119d63b type_name="CyGpif2Designer.Common.PrjMgmt.Model.CyPrjMgmtItem" name="cyfxgpif2config.h" persistent="C:\Users\Robert\Documents\GPIF II Designer\RFlink.cydsn\cyfxgpif2config.h" target="7d237afd-d944-11da-aaba-00164119d63b">
|
||||||
<Hidden v="False" />
|
<Hidden v="False" />
|
||||||
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b03-d944-11da-aaba-00164119d63b>
|
||||||
</OutputDocs>
|
</OutputDocs>
|
||||||
</CyGuid_7d237b00-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237b00-d944-11da-aaba-00164119d63b>
|
||||||
<Settings>
|
<Settings>
|
||||||
<Setting name="GPIF2_OutputName" value="cyfxgpif2config" />
|
<Setting name="GPIF2_OutputName" value="cyfxgpif2config" />
|
||||||
<Setting name="GPIF2_OutputLocation" value="${ProjectDir}" />
|
<Setting name="GPIF2_OutputLocation" value="${ProjectDir}" />
|
||||||
<Setting name="GPIF2_Template" value="cygpif2cheadertemplate" />
|
<Setting name="GPIF2_Template" value="cygpif2cheadertemplate" />
|
||||||
</Settings>
|
</Settings>
|
||||||
</CyGuid_7d237aff-d944-11da-aaba-00164119d63b>
|
</CyGuid_7d237aff-d944-11da-aaba-00164119d63b>
|
||||||
</CyXmlSerializer>
|
</CyXmlSerializer>
|
||||||
|
|
@ -1,208 +1,208 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<GPIFIIModel version="3">
|
<GPIFIIModel version="3">
|
||||||
<InterfaceDefination>
|
<InterfaceDefination>
|
||||||
<InterfaceSetting>
|
<InterfaceSetting>
|
||||||
<I2SEnabled>False</I2SEnabled>
|
<I2SEnabled>False</I2SEnabled>
|
||||||
<I2CEnabled>False</I2CEnabled>
|
<I2CEnabled>False</I2CEnabled>
|
||||||
<SPIEnabled>False</SPIEnabled>
|
<SPIEnabled>False</SPIEnabled>
|
||||||
<I2SEnabled>False</I2SEnabled>
|
<I2SEnabled>False</I2SEnabled>
|
||||||
<ADMuxedEnabled>False</ADMuxedEnabled>
|
<ADMuxedEnabled>False</ADMuxedEnabled>
|
||||||
<InterfaceType>Master</InterfaceType>
|
<InterfaceType>Master</InterfaceType>
|
||||||
<CommunicationType>Synchronous</CommunicationType>
|
<CommunicationType>Synchronous</CommunicationType>
|
||||||
<ClockSource>Internal</ClockSource>
|
<ClockSource>Internal</ClockSource>
|
||||||
<ClockEdge>Positive</ClockEdge>
|
<ClockEdge>Positive</ClockEdge>
|
||||||
<Endianness>LittleEndian</Endianness>
|
<Endianness>LittleEndian</Endianness>
|
||||||
<DataBusWidth>Bit32</DataBusWidth>
|
<DataBusWidth>Bit32</DataBusWidth>
|
||||||
<AddressBuswidth>0</AddressBuswidth>
|
<AddressBuswidth>0</AddressBuswidth>
|
||||||
</InterfaceSetting>
|
</InterfaceSetting>
|
||||||
</InterfaceDefination>
|
</InterfaceDefination>
|
||||||
<Signals>
|
<Signals>
|
||||||
<Signal ElementId="INPUT0" SignalType="Input" SpecialFunction="None">
|
<Signal ElementId="INPUT0" SignalType="Input" SpecialFunction="None">
|
||||||
<DisplayName>RX_0</DisplayName>
|
<DisplayName>RX_0</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_17</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_17</GPIOPinNumber>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="INPUT1" SignalType="Input" SpecialFunction="None">
|
<Signal ElementId="INPUT1" SignalType="Input" SpecialFunction="None">
|
||||||
<DisplayName>RX_1</DisplayName>
|
<DisplayName>RX_1</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_18</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_18</GPIOPinNumber>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="INPUT2" SignalType="Input" SpecialFunction="None">
|
<Signal ElementId="INPUT2" SignalType="Input" SpecialFunction="None">
|
||||||
<DisplayName>TX_2</DisplayName>
|
<DisplayName>TX_2</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_19</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_19</GPIOPinNumber>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="INPUT3" SignalType="Input" SpecialFunction="None">
|
<Signal ElementId="INPUT3" SignalType="Input" SpecialFunction="None">
|
||||||
<DisplayName>TX_3</DisplayName>
|
<DisplayName>TX_3</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_20</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_20</GPIOPinNumber>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="OUTPUT0" SignalType="Output" SpecialFunction="None">
|
<Signal ElementId="OUTPUT0" SignalType="Output" SpecialFunction="None">
|
||||||
<DisplayName>DMA_RX</DisplayName>
|
<DisplayName>DMA_RX</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_21</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_21</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Delay>Alpha</Delay>
|
<Delay>Alpha</Delay>
|
||||||
<AssetionType>Assert</AssetionType>
|
<AssetionType>Assert</AssetionType>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="FLAG0" SignalType="Flags" SpecialFunction="None">
|
<Signal ElementId="FLAG0" SignalType="Flags" SpecialFunction="None">
|
||||||
<DisplayName>FLAG0</DisplayName>
|
<DisplayName>FLAG0</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_25</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_25</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Flags>Thread_0_DMA_Ready</Flags>
|
<Flags>Thread_0_DMA_Ready</Flags>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="FLAG1" SignalType="Flags" SpecialFunction="None">
|
<Signal ElementId="FLAG1" SignalType="Flags" SpecialFunction="None">
|
||||||
<DisplayName>FLAG1</DisplayName>
|
<DisplayName>FLAG1</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_29</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_29</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Flags>Thread_1_DMA_Ready</Flags>
|
<Flags>Thread_1_DMA_Ready</Flags>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="FLAG2" SignalType="Flags" SpecialFunction="None">
|
<Signal ElementId="FLAG2" SignalType="Flags" SpecialFunction="None">
|
||||||
<DisplayName>FLAG2</DisplayName>
|
<DisplayName>FLAG2</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_27</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_27</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Flags>Thread_2_DMA_Ready</Flags>
|
<Flags>Thread_2_DMA_Ready</Flags>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="FLAG3" SignalType="Flags" SpecialFunction="None">
|
<Signal ElementId="FLAG3" SignalType="Flags" SpecialFunction="None">
|
||||||
<DisplayName>FLAG3</DisplayName>
|
<DisplayName>FLAG3</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_28</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_28</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Flags>Thread_3_DMA_Ready</Flags>
|
<Flags>Thread_3_DMA_Ready</Flags>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="OUTPUT1" SignalType="Output" SpecialFunction="None">
|
<Signal ElementId="OUTPUT1" SignalType="Output" SpecialFunction="None">
|
||||||
<DisplayName>DMA_TX</DisplayName>
|
<DisplayName>DMA_TX</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_22</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_22</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Delay>Alpha</Delay>
|
<Delay>Alpha</Delay>
|
||||||
<AssetionType>Assert</AssetionType>
|
<AssetionType>Assert</AssetionType>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="OUTPUT2" SignalType="Output" SpecialFunction="None">
|
<Signal ElementId="OUTPUT2" SignalType="Output" SpecialFunction="None">
|
||||||
<DisplayName>DMA_DONE</DisplayName>
|
<DisplayName>DMA_DONE</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_23</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_23</GPIOPinNumber>
|
||||||
<IntialValue>Low</IntialValue>
|
<IntialValue>Low</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Delay>Alpha</Delay>
|
<Delay>Alpha</Delay>
|
||||||
<AssetionType>Assert</AssetionType>
|
<AssetionType>Assert</AssetionType>
|
||||||
</Signal>
|
</Signal>
|
||||||
<Signal ElementId="OUTPUT3" SignalType="Output" SpecialFunction="None">
|
<Signal ElementId="OUTPUT3" SignalType="Output" SpecialFunction="None">
|
||||||
<DisplayName>SYS_RST</DisplayName>
|
<DisplayName>SYS_RST</DisplayName>
|
||||||
<GPIOPinNumber>GPIO_24</GPIOPinNumber>
|
<GPIOPinNumber>GPIO_24</GPIOPinNumber>
|
||||||
<IntialValue>High</IntialValue>
|
<IntialValue>High</IntialValue>
|
||||||
<Polarity>ActiveHigh</Polarity>
|
<Polarity>ActiveHigh</Polarity>
|
||||||
<Delay>Alpha</Delay>
|
<Delay>Alpha</Delay>
|
||||||
<AssetionType>Toggle</AssetionType>
|
<AssetionType>Toggle</AssetionType>
|
||||||
</Signal>
|
</Signal>
|
||||||
</Signals>
|
</Signals>
|
||||||
<StateMachine>
|
<StateMachine>
|
||||||
<AddressCounter />
|
<AddressCounter />
|
||||||
<DataCounter />
|
<DataCounter />
|
||||||
<ControlCounter />
|
<ControlCounter />
|
||||||
<AddressComparator />
|
<AddressComparator />
|
||||||
<DataComparator />
|
<DataComparator />
|
||||||
<ControlComparator />
|
<ControlComparator />
|
||||||
<DRQ />
|
<DRQ />
|
||||||
<AddrData />
|
<AddrData />
|
||||||
<State ElementId="STARTSTATE0" StateType="StartState">
|
<State ElementId="STARTSTATE0" StateType="StartState">
|
||||||
<DisplayName>START</DisplayName>
|
<DisplayName>START</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE0" StateType="NormalState">
|
<State ElementId="STATE0" StateType="NormalState">
|
||||||
<DisplayName>INIT</DisplayName>
|
<DisplayName>INIT</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
||||||
<ControlPinName>SYS_RST</ControlPinName>
|
<ControlPinName>SYS_RST</ControlPinName>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE1" StateType="NormalState">
|
<State ElementId="STATE1" StateType="NormalState">
|
||||||
<DisplayName>IF_RX_0</DisplayName>
|
<DisplayName>IF_RX_0</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="IN_DATA0" ActionType="IN_DATA">
|
<Action ElementId="IN_DATA0" ActionType="IN_DATA">
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread0</ThreadNumber>
|
<ThreadNumber>Thread0</ThreadNumber>
|
||||||
<SampleData>True</SampleData>
|
<SampleData>True</SampleData>
|
||||||
<WriteDataIntoDataSink>True</WriteDataIntoDataSink>
|
<WriteDataIntoDataSink>True</WriteDataIntoDataSink>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE2" StateType="NormalState">
|
<State ElementId="STATE2" StateType="NormalState">
|
||||||
<DisplayName>IF_RX_1</DisplayName>
|
<DisplayName>IF_RX_1</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="IN_DATA0" ActionType="IN_DATA">
|
<Action ElementId="IN_DATA0" ActionType="IN_DATA">
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread1</ThreadNumber>
|
<ThreadNumber>Thread1</ThreadNumber>
|
||||||
<SampleData>True</SampleData>
|
<SampleData>True</SampleData>
|
||||||
<WriteDataIntoDataSink>True</WriteDataIntoDataSink>
|
<WriteDataIntoDataSink>True</WriteDataIntoDataSink>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE10" StateType="NormalState">
|
<State ElementId="STATE10" StateType="NormalState">
|
||||||
<DisplayName>IF_TX_2</DisplayName>
|
<DisplayName>IF_TX_2</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread2</ThreadNumber>
|
<ThreadNumber>Thread2</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DriveNewData</DriveNewData>
|
<DriveNewData>DriveNewData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE5" StateType="NormalState">
|
<State ElementId="STATE5" StateType="NormalState">
|
||||||
<DisplayName>DONE</DisplayName>
|
<DisplayName>DONE</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE6" StateType="NormalState">
|
<State ElementId="STATE6" StateType="NormalState">
|
||||||
<DisplayName>WAIT_0</DisplayName>
|
<DisplayName>WAIT_0</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
<Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
|
||||||
<ControlPinName>DMA_DONE</ControlPinName>
|
<ControlPinName>DMA_DONE</ControlPinName>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE12" StateType="NormalState">
|
<State ElementId="STATE12" StateType="NormalState">
|
||||||
<DisplayName>IF_TX_3</DisplayName>
|
<DisplayName>IF_TX_3</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
<Action ElementId="DR_DATA0" ActionType="DR_DATA">
|
||||||
<IsDataCounterConnected>False</IsDataCounterConnected>
|
<IsDataCounterConnected>False</IsDataCounterConnected>
|
||||||
<DataSourceSink>Socket</DataSourceSink>
|
<DataSourceSink>Socket</DataSourceSink>
|
||||||
<ThreadNumber>Thread3</ThreadNumber>
|
<ThreadNumber>Thread3</ThreadNumber>
|
||||||
<SyncBurstMode>Enable</SyncBurstMode>
|
<SyncBurstMode>Enable</SyncBurstMode>
|
||||||
<DriveNewData>DriveNewData</DriveNewData>
|
<DriveNewData>DriveNewData</DriveNewData>
|
||||||
<UpdateSource>True</UpdateSource>
|
<UpdateSource>True</UpdateSource>
|
||||||
</Action>
|
</Action>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE13" StateType="NormalState">
|
<State ElementId="STATE13" StateType="NormalState">
|
||||||
<DisplayName>IF_TX</DisplayName>
|
<DisplayName>IF_TX</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
</State>
|
</State>
|
||||||
<State ElementId="STATE11" StateType="NormalState">
|
<State ElementId="STATE11" StateType="NormalState">
|
||||||
<DisplayName>IF_RX</DisplayName>
|
<DisplayName>IF_RX</DisplayName>
|
||||||
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
<RepeatUntillNextTransition>True</RepeatUntillNextTransition>
|
||||||
<RepeatCount>0</RepeatCount>
|
<RepeatCount>0</RepeatCount>
|
||||||
</State>
|
</State>
|
||||||
<Transition ElementId="TRANSITION0" SourceState="STARTSTATE0" DestinationState="STATE0" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION0" SourceState="STARTSTATE0" DestinationState="STATE0" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION23" SourceState="STATE13" DestinationState="STATE10" Equation="TX_2" />
|
<Transition ElementId="TRANSITION23" SourceState="STATE13" DestinationState="STATE10" Equation="TX_2" />
|
||||||
<Transition ElementId="TRANSITION1" SourceState="STATE1" DestinationState="STATE5" Equation="!DMA_RDY_TH0" />
|
<Transition ElementId="TRANSITION1" SourceState="STATE1" DestinationState="STATE5" Equation="!DMA_RDY_TH0" />
|
||||||
<Transition ElementId="TRANSITION2" SourceState="STATE2" DestinationState="STATE5" Equation="!DMA_RDY_TH1" />
|
<Transition ElementId="TRANSITION2" SourceState="STATE2" DestinationState="STATE5" Equation="!DMA_RDY_TH1" />
|
||||||
<Transition ElementId="TRANSITION17" SourceState="STATE10" DestinationState="STATE5" Equation="!DMA_RDY_TH2" />
|
<Transition ElementId="TRANSITION17" SourceState="STATE10" DestinationState="STATE5" Equation="!DMA_RDY_TH2" />
|
||||||
<Transition ElementId="TRANSITION24" SourceState="STATE13" DestinationState="STATE12" Equation="TX_3" />
|
<Transition ElementId="TRANSITION24" SourceState="STATE13" DestinationState="STATE12" Equation="TX_3" />
|
||||||
<Transition ElementId="TRANSITION19" SourceState="STATE11" DestinationState="STATE1" Equation="RX_0" />
|
<Transition ElementId="TRANSITION19" SourceState="STATE11" DestinationState="STATE1" Equation="RX_0" />
|
||||||
<Transition ElementId="TRANSITION12" SourceState="STATE0" DestinationState="STATE6" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION12" SourceState="STATE0" DestinationState="STATE6" Equation="LOGIC_ONE" />
|
||||||
<Transition ElementId="TRANSITION22" SourceState="STATE6" DestinationState="STATE13" Equation="TX_2|TX_3" />
|
<Transition ElementId="TRANSITION22" SourceState="STATE6" DestinationState="STATE13" Equation="TX_2|TX_3" />
|
||||||
<Transition ElementId="TRANSITION21" SourceState="STATE6" DestinationState="STATE11" Equation="RX_0|RX_1" />
|
<Transition ElementId="TRANSITION21" SourceState="STATE6" DestinationState="STATE11" Equation="RX_0|RX_1" />
|
||||||
<Transition ElementId="TRANSITION25" SourceState="STATE12" DestinationState="STATE5" Equation="!DMA_RDY_TH3" />
|
<Transition ElementId="TRANSITION25" SourceState="STATE12" DestinationState="STATE5" Equation="!DMA_RDY_TH3" />
|
||||||
<Transition ElementId="TRANSITION20" SourceState="STATE11" DestinationState="STATE2" Equation="RX_1" />
|
<Transition ElementId="TRANSITION20" SourceState="STATE11" DestinationState="STATE2" Equation="RX_1" />
|
||||||
<Transition ElementId="TRANSITION26" SourceState="STATE5" DestinationState="STATE6" Equation="LOGIC_ONE" />
|
<Transition ElementId="TRANSITION26" SourceState="STATE5" DestinationState="STATE6" Equation="LOGIC_ONE" />
|
||||||
</StateMachine>
|
</StateMachine>
|
||||||
</GPIFIIModel>
|
</GPIFIIModel>
|
||||||
|
|
@ -1,37 +1,37 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<GPIFIITimingSimulation version="1">
|
<GPIFIITimingSimulation version="1">
|
||||||
<Clock>100</Clock>
|
<Clock>100</Clock>
|
||||||
<BufferSize>16</BufferSize>
|
<BufferSize>16</BufferSize>
|
||||||
<WaterMark>12</WaterMark>
|
<WaterMark>12</WaterMark>
|
||||||
<Scenario Name="SCENARIO0" CurrentThread="Thread0">
|
<Scenario Name="SCENARIO0" CurrentThread="Thread0">
|
||||||
<State StateId="STARTSTATE0" WaitNumber="0" />
|
<State StateId="STARTSTATE0" WaitNumber="0" />
|
||||||
<State StateId="STATE0" WaitNumber="0" />
|
<State StateId="STATE0" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE11" WaitNumber="0" />
|
<State StateId="STATE11" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE1" WaitNumber="0" />
|
<State StateId="STATE1" WaitNumber="0" />
|
||||||
<State StateId="STATE5" WaitNumber="0" />
|
<State StateId="STATE5" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
<State StateId="STATE6" WaitNumber="0" />
|
<State StateId="STATE6" WaitNumber="0" />
|
||||||
</Scenario>
|
</Scenario>
|
||||||
</GPIFIITimingSimulation>
|
</GPIFIITimingSimulation>
|
||||||
|
|
@ -1,260 +1,260 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Root version="4">
|
<Root version="4">
|
||||||
<CyStates>
|
<CyStates>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>224</Left>
|
<Left>224</Left>
|
||||||
<Top>274.446666666667</Top>
|
<Top>274.446666666667</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE0</Name>
|
<Name>STATE0</Name>
|
||||||
<DisplayName>INIT</DisplayName>
|
<DisplayName>INIT</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>771</Left>
|
<Left>771</Left>
|
||||||
<Top>129.41</Top>
|
<Top>129.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE1</Name>
|
<Name>STATE1</Name>
|
||||||
<DisplayName>IF_RX_0</DisplayName>
|
<DisplayName>IF_RX_0</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>770</Left>
|
<Left>770</Left>
|
||||||
<Top>237.41</Top>
|
<Top>237.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE2</Name>
|
<Name>STATE2</Name>
|
||||||
<DisplayName>IF_RX_1</DisplayName>
|
<DisplayName>IF_RX_1</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>1024</Left>
|
<Left>1024</Left>
|
||||||
<Top>262.41</Top>
|
<Top>262.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE5</Name>
|
<Name>STATE5</Name>
|
||||||
<DisplayName>DONE</DisplayName>
|
<DisplayName>DONE</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>491</Left>
|
<Left>491</Left>
|
||||||
<Top>271.41</Top>
|
<Top>271.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE6</Name>
|
<Name>STATE6</Name>
|
||||||
<DisplayName>WAIT_0</DisplayName>
|
<DisplayName>WAIT_0</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>771</Left>
|
<Left>771</Left>
|
||||||
<Top>357.41</Top>
|
<Top>357.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE10</Name>
|
<Name>STATE10</Name>
|
||||||
<DisplayName>IF_TX_2</DisplayName>
|
<DisplayName>IF_TX_2</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>635</Left>
|
<Left>635</Left>
|
||||||
<Top>166.41</Top>
|
<Top>166.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE11</Name>
|
<Name>STATE11</Name>
|
||||||
<DisplayName>IF_RX</DisplayName>
|
<DisplayName>IF_RX</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>772</Left>
|
<Left>772</Left>
|
||||||
<Top>470.41</Top>
|
<Top>470.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE12</Name>
|
<Name>STATE12</Name>
|
||||||
<DisplayName>IF_TX_3</DisplayName>
|
<DisplayName>IF_TX_3</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyNormalState>
|
<CyNormalState>
|
||||||
<Left>631</Left>
|
<Left>631</Left>
|
||||||
<Top>418.41</Top>
|
<Top>418.41</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STATE13</Name>
|
<Name>STATE13</Name>
|
||||||
<DisplayName>IF_TX</DisplayName>
|
<DisplayName>IF_TX</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyNormalState>
|
</CyNormalState>
|
||||||
<CyStartState>
|
<CyStartState>
|
||||||
<Left>29</Left>
|
<Left>29</Left>
|
||||||
<Top>18.4466666666667</Top>
|
<Top>18.4466666666667</Top>
|
||||||
<Width>83</Width>
|
<Width>83</Width>
|
||||||
<Height>70</Height>
|
<Height>70</Height>
|
||||||
<Name>STARTSTATE0</Name>
|
<Name>STARTSTATE0</Name>
|
||||||
<DisplayName>START</DisplayName>
|
<DisplayName>START</DisplayName>
|
||||||
<zIndex>1</zIndex>
|
<zIndex>1</zIndex>
|
||||||
<IsGroup>False</IsGroup>
|
<IsGroup>False</IsGroup>
|
||||||
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
<ParentID>00000000-0000-0000-0000-000000000000</ParentID>
|
||||||
</CyStartState>
|
</CyStartState>
|
||||||
</CyStates>
|
</CyStates>
|
||||||
<CyTransitions>
|
<CyTransitions>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION26</Name>
|
<Name>TRANSITION26</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STATE5</SourceName>
|
<SourceName>STATE5</SourceName>
|
||||||
<SinkName>STATE6</SinkName>
|
<SinkName>STATE6</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION25</Name>
|
<Name>TRANSITION25</Name>
|
||||||
<TransitionEquation>!DMA_RDY_TH3</TransitionEquation>
|
<TransitionEquation>!DMA_RDY_TH3</TransitionEquation>
|
||||||
<SourceName>STATE12</SourceName>
|
<SourceName>STATE12</SourceName>
|
||||||
<SinkName>STATE5</SinkName>
|
<SinkName>STATE5</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION24</Name>
|
<Name>TRANSITION24</Name>
|
||||||
<TransitionEquation>TX_3</TransitionEquation>
|
<TransitionEquation>TX_3</TransitionEquation>
|
||||||
<SourceName>STATE13</SourceName>
|
<SourceName>STATE13</SourceName>
|
||||||
<SinkName>STATE12</SinkName>
|
<SinkName>STATE12</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION23</Name>
|
<Name>TRANSITION23</Name>
|
||||||
<TransitionEquation>TX_2</TransitionEquation>
|
<TransitionEquation>TX_2</TransitionEquation>
|
||||||
<SourceName>STATE13</SourceName>
|
<SourceName>STATE13</SourceName>
|
||||||
<SinkName>STATE10</SinkName>
|
<SinkName>STATE10</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION22</Name>
|
<Name>TRANSITION22</Name>
|
||||||
<TransitionEquation>TX_2|TX_3</TransitionEquation>
|
<TransitionEquation>TX_2|TX_3</TransitionEquation>
|
||||||
<SourceName>STATE6</SourceName>
|
<SourceName>STATE6</SourceName>
|
||||||
<SinkName>STATE13</SinkName>
|
<SinkName>STATE13</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION21</Name>
|
<Name>TRANSITION21</Name>
|
||||||
<TransitionEquation>RX_0|RX_1</TransitionEquation>
|
<TransitionEquation>RX_0|RX_1</TransitionEquation>
|
||||||
<SourceName>STATE6</SourceName>
|
<SourceName>STATE6</SourceName>
|
||||||
<SinkName>STATE11</SinkName>
|
<SinkName>STATE11</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION20</Name>
|
<Name>TRANSITION20</Name>
|
||||||
<TransitionEquation>RX_1</TransitionEquation>
|
<TransitionEquation>RX_1</TransitionEquation>
|
||||||
<SourceName>STATE11</SourceName>
|
<SourceName>STATE11</SourceName>
|
||||||
<SinkName>STATE2</SinkName>
|
<SinkName>STATE2</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION19</Name>
|
<Name>TRANSITION19</Name>
|
||||||
<TransitionEquation>RX_0</TransitionEquation>
|
<TransitionEquation>RX_0</TransitionEquation>
|
||||||
<SourceName>STATE11</SourceName>
|
<SourceName>STATE11</SourceName>
|
||||||
<SinkName>STATE1</SinkName>
|
<SinkName>STATE1</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION17</Name>
|
<Name>TRANSITION17</Name>
|
||||||
<TransitionEquation>!DMA_RDY_TH2</TransitionEquation>
|
<TransitionEquation>!DMA_RDY_TH2</TransitionEquation>
|
||||||
<SourceName>STATE10</SourceName>
|
<SourceName>STATE10</SourceName>
|
||||||
<SinkName>STATE5</SinkName>
|
<SinkName>STATE5</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION12</Name>
|
<Name>TRANSITION12</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STATE0</SourceName>
|
<SourceName>STATE0</SourceName>
|
||||||
<SinkName>STATE6</SinkName>
|
<SinkName>STATE6</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION2</Name>
|
<Name>TRANSITION2</Name>
|
||||||
<TransitionEquation>!DMA_RDY_TH1</TransitionEquation>
|
<TransitionEquation>!DMA_RDY_TH1</TransitionEquation>
|
||||||
<SourceName>STATE2</SourceName>
|
<SourceName>STATE2</SourceName>
|
||||||
<SinkName>STATE5</SinkName>
|
<SinkName>STATE5</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION1</Name>
|
<Name>TRANSITION1</Name>
|
||||||
<TransitionEquation>!DMA_RDY_TH0</TransitionEquation>
|
<TransitionEquation>!DMA_RDY_TH0</TransitionEquation>
|
||||||
<SourceName>STATE1</SourceName>
|
<SourceName>STATE1</SourceName>
|
||||||
<SinkName>STATE5</SinkName>
|
<SinkName>STATE5</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
<CyTransition>
|
<CyTransition>
|
||||||
<Name>TRANSITION0</Name>
|
<Name>TRANSITION0</Name>
|
||||||
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
<TransitionEquation>LOGIC_ONE</TransitionEquation>
|
||||||
<SourceName>STARTSTATE0</SourceName>
|
<SourceName>STARTSTATE0</SourceName>
|
||||||
<SinkName>STATE0</SinkName>
|
<SinkName>STATE0</SinkName>
|
||||||
<SourceConnectorName>Connector</SourceConnectorName>
|
<SourceConnectorName>Connector</SourceConnectorName>
|
||||||
<SinkConnectorName>Connector</SinkConnectorName>
|
<SinkConnectorName>Connector</SinkConnectorName>
|
||||||
<SourceArrowSymbol>None</SourceArrowSymbol>
|
<SourceArrowSymbol>None</SourceArrowSymbol>
|
||||||
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
<SinkArrowSymbol>Arrow</SinkArrowSymbol>
|
||||||
<zIndex>0</zIndex>
|
<zIndex>0</zIndex>
|
||||||
</CyTransition>
|
</CyTransition>
|
||||||
</CyTransitions>
|
</CyTransitions>
|
||||||
</Root>
|
</Root>
|
||||||
|
|
@ -1,61 +1,61 @@
|
||||||
BANDWIDTH_TYPE=AUTO
|
BANDWIDTH_TYPE=AUTO
|
||||||
CLK0_DIVIDE_BY=88
|
CLK0_DIVIDE_BY=88
|
||||||
CLK0_DUTY_CYCLE=50
|
CLK0_DUTY_CYCLE=50
|
||||||
CLK0_MULTIPLY_BY=105
|
CLK0_MULTIPLY_BY=105
|
||||||
CLK0_PHASE_SHIFT=0
|
CLK0_PHASE_SHIFT=0
|
||||||
COMPENSATE_CLOCK=CLK0
|
COMPENSATE_CLOCK=CLK0
|
||||||
INCLK0_INPUT_FREQUENCY=26041
|
INCLK0_INPUT_FREQUENCY=26041
|
||||||
INTENDED_DEVICE_FAMILY="Cyclone IV E"
|
INTENDED_DEVICE_FAMILY="Cyclone IV E"
|
||||||
LPM_TYPE=altpll
|
LPM_TYPE=altpll
|
||||||
OPERATION_MODE=NORMAL
|
OPERATION_MODE=NORMAL
|
||||||
PLL_TYPE=AUTO
|
PLL_TYPE=AUTO
|
||||||
PORT_ACTIVECLOCK=PORT_UNUSED
|
PORT_ACTIVECLOCK=PORT_UNUSED
|
||||||
PORT_ARESET=PORT_USED
|
PORT_ARESET=PORT_USED
|
||||||
PORT_CLKBAD0=PORT_UNUSED
|
PORT_CLKBAD0=PORT_UNUSED
|
||||||
PORT_CLKBAD1=PORT_UNUSED
|
PORT_CLKBAD1=PORT_UNUSED
|
||||||
PORT_CLKLOSS=PORT_UNUSED
|
PORT_CLKLOSS=PORT_UNUSED
|
||||||
PORT_CLKSWITCH=PORT_UNUSED
|
PORT_CLKSWITCH=PORT_UNUSED
|
||||||
PORT_CONFIGUPDATE=PORT_UNUSED
|
PORT_CONFIGUPDATE=PORT_UNUSED
|
||||||
PORT_FBIN=PORT_UNUSED
|
PORT_FBIN=PORT_UNUSED
|
||||||
PORT_INCLK0=PORT_USED
|
PORT_INCLK0=PORT_USED
|
||||||
PORT_INCLK1=PORT_UNUSED
|
PORT_INCLK1=PORT_UNUSED
|
||||||
PORT_LOCKED=PORT_USED
|
PORT_LOCKED=PORT_USED
|
||||||
PORT_PFDENA=PORT_UNUSED
|
PORT_PFDENA=PORT_UNUSED
|
||||||
PORT_PHASECOUNTERSELECT=PORT_UNUSED
|
PORT_PHASECOUNTERSELECT=PORT_UNUSED
|
||||||
PORT_PHASEDONE=PORT_UNUSED
|
PORT_PHASEDONE=PORT_UNUSED
|
||||||
PORT_PHASESTEP=PORT_UNUSED
|
PORT_PHASESTEP=PORT_UNUSED
|
||||||
PORT_PHASEUPDOWN=PORT_UNUSED
|
PORT_PHASEUPDOWN=PORT_UNUSED
|
||||||
PORT_PLLENA=PORT_UNUSED
|
PORT_PLLENA=PORT_UNUSED
|
||||||
PORT_SCANACLR=PORT_UNUSED
|
PORT_SCANACLR=PORT_UNUSED
|
||||||
PORT_SCANCLK=PORT_UNUSED
|
PORT_SCANCLK=PORT_UNUSED
|
||||||
PORT_SCANCLKENA=PORT_UNUSED
|
PORT_SCANCLKENA=PORT_UNUSED
|
||||||
PORT_SCANDATA=PORT_UNUSED
|
PORT_SCANDATA=PORT_UNUSED
|
||||||
PORT_SCANDATAOUT=PORT_UNUSED
|
PORT_SCANDATAOUT=PORT_UNUSED
|
||||||
PORT_SCANDONE=PORT_UNUSED
|
PORT_SCANDONE=PORT_UNUSED
|
||||||
PORT_SCANREAD=PORT_UNUSED
|
PORT_SCANREAD=PORT_UNUSED
|
||||||
PORT_SCANWRITE=PORT_UNUSED
|
PORT_SCANWRITE=PORT_UNUSED
|
||||||
PORT_clk0=PORT_USED
|
PORT_clk0=PORT_USED
|
||||||
PORT_clk1=PORT_UNUSED
|
PORT_clk1=PORT_UNUSED
|
||||||
PORT_clk2=PORT_UNUSED
|
PORT_clk2=PORT_UNUSED
|
||||||
PORT_clk3=PORT_UNUSED
|
PORT_clk3=PORT_UNUSED
|
||||||
PORT_clk4=PORT_UNUSED
|
PORT_clk4=PORT_UNUSED
|
||||||
PORT_clk5=PORT_UNUSED
|
PORT_clk5=PORT_UNUSED
|
||||||
PORT_clkena0=PORT_UNUSED
|
PORT_clkena0=PORT_UNUSED
|
||||||
PORT_clkena1=PORT_UNUSED
|
PORT_clkena1=PORT_UNUSED
|
||||||
PORT_clkena2=PORT_UNUSED
|
PORT_clkena2=PORT_UNUSED
|
||||||
PORT_clkena3=PORT_UNUSED
|
PORT_clkena3=PORT_UNUSED
|
||||||
PORT_clkena4=PORT_UNUSED
|
PORT_clkena4=PORT_UNUSED
|
||||||
PORT_clkena5=PORT_UNUSED
|
PORT_clkena5=PORT_UNUSED
|
||||||
PORT_extclk0=PORT_UNUSED
|
PORT_extclk0=PORT_UNUSED
|
||||||
PORT_extclk1=PORT_UNUSED
|
PORT_extclk1=PORT_UNUSED
|
||||||
PORT_extclk2=PORT_UNUSED
|
PORT_extclk2=PORT_UNUSED
|
||||||
PORT_extclk3=PORT_UNUSED
|
PORT_extclk3=PORT_UNUSED
|
||||||
SELF_RESET_ON_LOSS_LOCK=OFF
|
SELF_RESET_ON_LOSS_LOCK=OFF
|
||||||
WIDTH_CLOCK=5
|
WIDTH_CLOCK=5
|
||||||
DEVICE_FAMILY="Cyclone IV E"
|
DEVICE_FAMILY="Cyclone IV E"
|
||||||
CBX_AUTO_BLACKBOX=ALL
|
CBX_AUTO_BLACKBOX=ALL
|
||||||
areset
|
areset
|
||||||
inclk
|
inclk
|
||||||
inclk
|
inclk
|
||||||
clk
|
clk
|
||||||
locked
|
locked
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!DOCTYPE pinplan>
|
<!DOCTYPE pinplan>
|
||||||
<pinplan intended_family="Cyclone IV E" variation_name="serial_pll" megafunction_name="ALTPLL" specifies="all_ports">
|
<pinplan intended_family="Cyclone IV E" variation_name="serial_pll" megafunction_name="ALTPLL" specifies="all_ports">
|
||||||
<global>
|
<global>
|
||||||
<pin name="areset" direction="input" scope="external" />
|
<pin name="areset" direction="input" scope="external" />
|
||||||
<pin name="inclk0" direction="input" scope="external" source="clock" />
|
<pin name="inclk0" direction="input" scope="external" source="clock" />
|
||||||
<pin name="c0" direction="output" scope="external" source="clock" />
|
<pin name="c0" direction="output" scope="external" source="clock" />
|
||||||
<pin name="locked" direction="output" scope="external" />
|
<pin name="locked" direction="output" scope="external" />
|
||||||
|
|
||||||
</global>
|
</global>
|
||||||
</pinplan>
|
</pinplan>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
set_global_assignment -name IP_TOOL_NAME "ALTPLL"
|
set_global_assignment -name IP_TOOL_NAME "ALTPLL"
|
||||||
set_global_assignment -name IP_TOOL_VERSION "12.1"
|
set_global_assignment -name IP_TOOL_VERSION "12.1"
|
||||||
set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "serial_pll.vhd"]
|
set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "serial_pll.vhd"]
|
||||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "serial_pll.ppf"]
|
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "serial_pll.ppf"]
|
||||||
|
|
|
||||||
|
|
@ -1,365 +1,365 @@
|
||||||
-- megafunction wizard: %ALTPLL%
|
-- megafunction wizard: %ALTPLL%
|
||||||
-- GENERATION: STANDARD
|
-- GENERATION: STANDARD
|
||||||
-- VERSION: WM1.0
|
-- VERSION: WM1.0
|
||||||
-- MODULE: altpll
|
-- MODULE: altpll
|
||||||
|
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- File Name: serial_pll.vhd
|
-- File Name: serial_pll.vhd
|
||||||
-- Megafunction Name(s):
|
-- Megafunction Name(s):
|
||||||
-- altpll
|
-- altpll
|
||||||
--
|
--
|
||||||
-- Simulation Library Files(s):
|
-- Simulation Library Files(s):
|
||||||
-- altera_mf
|
-- altera_mf
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- ************************************************************
|
-- ************************************************************
|
||||||
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
||||||
--
|
--
|
||||||
-- 12.1 Build 177 11/07/2012 SJ Web Edition
|
-- 12.1 Build 177 11/07/2012 SJ Web Edition
|
||||||
-- ************************************************************
|
-- ************************************************************
|
||||||
|
|
||||||
|
|
||||||
--Copyright (C) 1991-2012 Altera Corporation
|
--Copyright (C) 1991-2012 Altera Corporation
|
||||||
--Your use of Altera Corporation's design tools, logic functions
|
--Your use of Altera Corporation's design tools, logic functions
|
||||||
--and other software and tools, and its AMPP partner logic
|
--and other software and tools, and its AMPP partner logic
|
||||||
--functions, and any output files from any of the foregoing
|
--functions, and any output files from any of the foregoing
|
||||||
--(including device programming or simulation files), and any
|
--(including device programming or simulation files), and any
|
||||||
--associated documentation or information are expressly subject
|
--associated documentation or information are expressly subject
|
||||||
--to the terms and conditions of the Altera Program License
|
--to the terms and conditions of the Altera Program License
|
||||||
--Subscription Agreement, Altera MegaCore Function License
|
--Subscription Agreement, Altera MegaCore Function License
|
||||||
--Agreement, or other applicable license agreement, including,
|
--Agreement, or other applicable license agreement, including,
|
||||||
--without limitation, that your use is for the sole purpose of
|
--without limitation, that your use is for the sole purpose of
|
||||||
--programming logic devices manufactured by Altera and sold by
|
--programming logic devices manufactured by Altera and sold by
|
||||||
--Altera or its authorized distributors. Please refer to the
|
--Altera or its authorized distributors. Please refer to the
|
||||||
--applicable agreement for further details.
|
--applicable agreement for further details.
|
||||||
|
|
||||||
|
|
||||||
LIBRARY ieee;
|
LIBRARY ieee;
|
||||||
USE ieee.std_logic_1164.all;
|
USE ieee.std_logic_1164.all;
|
||||||
|
|
||||||
LIBRARY altera_mf;
|
LIBRARY altera_mf;
|
||||||
USE altera_mf.all;
|
USE altera_mf.all;
|
||||||
|
|
||||||
ENTITY serial_pll IS
|
ENTITY serial_pll IS
|
||||||
PORT
|
PORT
|
||||||
(
|
(
|
||||||
areset : IN STD_LOGIC := '0';
|
areset : IN STD_LOGIC := '0';
|
||||||
inclk0 : IN STD_LOGIC := '0';
|
inclk0 : IN STD_LOGIC := '0';
|
||||||
c0 : OUT STD_LOGIC ;
|
c0 : OUT STD_LOGIC ;
|
||||||
locked : OUT STD_LOGIC
|
locked : OUT STD_LOGIC
|
||||||
);
|
);
|
||||||
END serial_pll;
|
END serial_pll;
|
||||||
|
|
||||||
|
|
||||||
ARCHITECTURE SYN OF serial_pll IS
|
ARCHITECTURE SYN OF serial_pll IS
|
||||||
|
|
||||||
SIGNAL sub_wire0 : STD_LOGIC ;
|
SIGNAL sub_wire0 : STD_LOGIC ;
|
||||||
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (4 DOWNTO 0);
|
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (4 DOWNTO 0);
|
||||||
SIGNAL sub_wire2 : STD_LOGIC ;
|
SIGNAL sub_wire2 : STD_LOGIC ;
|
||||||
SIGNAL sub_wire3 : STD_LOGIC ;
|
SIGNAL sub_wire3 : STD_LOGIC ;
|
||||||
SIGNAL sub_wire4 : STD_LOGIC_VECTOR (1 DOWNTO 0);
|
SIGNAL sub_wire4 : STD_LOGIC_VECTOR (1 DOWNTO 0);
|
||||||
SIGNAL sub_wire5_bv : BIT_VECTOR (0 DOWNTO 0);
|
SIGNAL sub_wire5_bv : BIT_VECTOR (0 DOWNTO 0);
|
||||||
SIGNAL sub_wire5 : STD_LOGIC_VECTOR (0 DOWNTO 0);
|
SIGNAL sub_wire5 : STD_LOGIC_VECTOR (0 DOWNTO 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
COMPONENT altpll
|
COMPONENT altpll
|
||||||
GENERIC (
|
GENERIC (
|
||||||
bandwidth_type : STRING;
|
bandwidth_type : STRING;
|
||||||
clk0_divide_by : NATURAL;
|
clk0_divide_by : NATURAL;
|
||||||
clk0_duty_cycle : NATURAL;
|
clk0_duty_cycle : NATURAL;
|
||||||
clk0_multiply_by : NATURAL;
|
clk0_multiply_by : NATURAL;
|
||||||
clk0_phase_shift : STRING;
|
clk0_phase_shift : STRING;
|
||||||
compensate_clock : STRING;
|
compensate_clock : STRING;
|
||||||
inclk0_input_frequency : NATURAL;
|
inclk0_input_frequency : NATURAL;
|
||||||
intended_device_family : STRING;
|
intended_device_family : STRING;
|
||||||
lpm_hint : STRING;
|
lpm_hint : STRING;
|
||||||
lpm_type : STRING;
|
lpm_type : STRING;
|
||||||
operation_mode : STRING;
|
operation_mode : STRING;
|
||||||
pll_type : STRING;
|
pll_type : STRING;
|
||||||
port_activeclock : STRING;
|
port_activeclock : STRING;
|
||||||
port_areset : STRING;
|
port_areset : STRING;
|
||||||
port_clkbad0 : STRING;
|
port_clkbad0 : STRING;
|
||||||
port_clkbad1 : STRING;
|
port_clkbad1 : STRING;
|
||||||
port_clkloss : STRING;
|
port_clkloss : STRING;
|
||||||
port_clkswitch : STRING;
|
port_clkswitch : STRING;
|
||||||
port_configupdate : STRING;
|
port_configupdate : STRING;
|
||||||
port_fbin : STRING;
|
port_fbin : STRING;
|
||||||
port_inclk0 : STRING;
|
port_inclk0 : STRING;
|
||||||
port_inclk1 : STRING;
|
port_inclk1 : STRING;
|
||||||
port_locked : STRING;
|
port_locked : STRING;
|
||||||
port_pfdena : STRING;
|
port_pfdena : STRING;
|
||||||
port_phasecounterselect : STRING;
|
port_phasecounterselect : STRING;
|
||||||
port_phasedone : STRING;
|
port_phasedone : STRING;
|
||||||
port_phasestep : STRING;
|
port_phasestep : STRING;
|
||||||
port_phaseupdown : STRING;
|
port_phaseupdown : STRING;
|
||||||
port_pllena : STRING;
|
port_pllena : STRING;
|
||||||
port_scanaclr : STRING;
|
port_scanaclr : STRING;
|
||||||
port_scanclk : STRING;
|
port_scanclk : STRING;
|
||||||
port_scanclkena : STRING;
|
port_scanclkena : STRING;
|
||||||
port_scandata : STRING;
|
port_scandata : STRING;
|
||||||
port_scandataout : STRING;
|
port_scandataout : STRING;
|
||||||
port_scandone : STRING;
|
port_scandone : STRING;
|
||||||
port_scanread : STRING;
|
port_scanread : STRING;
|
||||||
port_scanwrite : STRING;
|
port_scanwrite : STRING;
|
||||||
port_clk0 : STRING;
|
port_clk0 : STRING;
|
||||||
port_clk1 : STRING;
|
port_clk1 : STRING;
|
||||||
port_clk2 : STRING;
|
port_clk2 : STRING;
|
||||||
port_clk3 : STRING;
|
port_clk3 : STRING;
|
||||||
port_clk4 : STRING;
|
port_clk4 : STRING;
|
||||||
port_clk5 : STRING;
|
port_clk5 : STRING;
|
||||||
port_clkena0 : STRING;
|
port_clkena0 : STRING;
|
||||||
port_clkena1 : STRING;
|
port_clkena1 : STRING;
|
||||||
port_clkena2 : STRING;
|
port_clkena2 : STRING;
|
||||||
port_clkena3 : STRING;
|
port_clkena3 : STRING;
|
||||||
port_clkena4 : STRING;
|
port_clkena4 : STRING;
|
||||||
port_clkena5 : STRING;
|
port_clkena5 : STRING;
|
||||||
port_extclk0 : STRING;
|
port_extclk0 : STRING;
|
||||||
port_extclk1 : STRING;
|
port_extclk1 : STRING;
|
||||||
port_extclk2 : STRING;
|
port_extclk2 : STRING;
|
||||||
port_extclk3 : STRING;
|
port_extclk3 : STRING;
|
||||||
self_reset_on_loss_lock : STRING;
|
self_reset_on_loss_lock : STRING;
|
||||||
width_clock : NATURAL
|
width_clock : NATURAL
|
||||||
);
|
);
|
||||||
PORT (
|
PORT (
|
||||||
areset : IN STD_LOGIC ;
|
areset : IN STD_LOGIC ;
|
||||||
clk : OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
|
clk : OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
|
||||||
inclk : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
|
inclk : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
|
||||||
locked : OUT STD_LOGIC
|
locked : OUT STD_LOGIC
|
||||||
);
|
);
|
||||||
END COMPONENT;
|
END COMPONENT;
|
||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
sub_wire5_bv(0 DOWNTO 0) <= "0";
|
sub_wire5_bv(0 DOWNTO 0) <= "0";
|
||||||
sub_wire5 <= To_stdlogicvector(sub_wire5_bv);
|
sub_wire5 <= To_stdlogicvector(sub_wire5_bv);
|
||||||
locked <= sub_wire0;
|
locked <= sub_wire0;
|
||||||
sub_wire2 <= sub_wire1(0);
|
sub_wire2 <= sub_wire1(0);
|
||||||
c0 <= sub_wire2;
|
c0 <= sub_wire2;
|
||||||
sub_wire3 <= inclk0;
|
sub_wire3 <= inclk0;
|
||||||
sub_wire4 <= sub_wire5(0 DOWNTO 0) & sub_wire3;
|
sub_wire4 <= sub_wire5(0 DOWNTO 0) & sub_wire3;
|
||||||
|
|
||||||
altpll_component : altpll
|
altpll_component : altpll
|
||||||
GENERIC MAP (
|
GENERIC MAP (
|
||||||
bandwidth_type => "AUTO",
|
bandwidth_type => "AUTO",
|
||||||
clk0_divide_by => 88,
|
clk0_divide_by => 88,
|
||||||
clk0_duty_cycle => 50,
|
clk0_duty_cycle => 50,
|
||||||
clk0_multiply_by => 105,
|
clk0_multiply_by => 105,
|
||||||
clk0_phase_shift => "0",
|
clk0_phase_shift => "0",
|
||||||
compensate_clock => "CLK0",
|
compensate_clock => "CLK0",
|
||||||
inclk0_input_frequency => 26041,
|
inclk0_input_frequency => 26041,
|
||||||
intended_device_family => "Cyclone IV E",
|
intended_device_family => "Cyclone IV E",
|
||||||
lpm_hint => "CBX_MODULE_PREFIX=serial_pll",
|
lpm_hint => "CBX_MODULE_PREFIX=serial_pll",
|
||||||
lpm_type => "altpll",
|
lpm_type => "altpll",
|
||||||
operation_mode => "NORMAL",
|
operation_mode => "NORMAL",
|
||||||
pll_type => "AUTO",
|
pll_type => "AUTO",
|
||||||
port_activeclock => "PORT_UNUSED",
|
port_activeclock => "PORT_UNUSED",
|
||||||
port_areset => "PORT_USED",
|
port_areset => "PORT_USED",
|
||||||
port_clkbad0 => "PORT_UNUSED",
|
port_clkbad0 => "PORT_UNUSED",
|
||||||
port_clkbad1 => "PORT_UNUSED",
|
port_clkbad1 => "PORT_UNUSED",
|
||||||
port_clkloss => "PORT_UNUSED",
|
port_clkloss => "PORT_UNUSED",
|
||||||
port_clkswitch => "PORT_UNUSED",
|
port_clkswitch => "PORT_UNUSED",
|
||||||
port_configupdate => "PORT_UNUSED",
|
port_configupdate => "PORT_UNUSED",
|
||||||
port_fbin => "PORT_UNUSED",
|
port_fbin => "PORT_UNUSED",
|
||||||
port_inclk0 => "PORT_USED",
|
port_inclk0 => "PORT_USED",
|
||||||
port_inclk1 => "PORT_UNUSED",
|
port_inclk1 => "PORT_UNUSED",
|
||||||
port_locked => "PORT_USED",
|
port_locked => "PORT_USED",
|
||||||
port_pfdena => "PORT_UNUSED",
|
port_pfdena => "PORT_UNUSED",
|
||||||
port_phasecounterselect => "PORT_UNUSED",
|
port_phasecounterselect => "PORT_UNUSED",
|
||||||
port_phasedone => "PORT_UNUSED",
|
port_phasedone => "PORT_UNUSED",
|
||||||
port_phasestep => "PORT_UNUSED",
|
port_phasestep => "PORT_UNUSED",
|
||||||
port_phaseupdown => "PORT_UNUSED",
|
port_phaseupdown => "PORT_UNUSED",
|
||||||
port_pllena => "PORT_UNUSED",
|
port_pllena => "PORT_UNUSED",
|
||||||
port_scanaclr => "PORT_UNUSED",
|
port_scanaclr => "PORT_UNUSED",
|
||||||
port_scanclk => "PORT_UNUSED",
|
port_scanclk => "PORT_UNUSED",
|
||||||
port_scanclkena => "PORT_UNUSED",
|
port_scanclkena => "PORT_UNUSED",
|
||||||
port_scandata => "PORT_UNUSED",
|
port_scandata => "PORT_UNUSED",
|
||||||
port_scandataout => "PORT_UNUSED",
|
port_scandataout => "PORT_UNUSED",
|
||||||
port_scandone => "PORT_UNUSED",
|
port_scandone => "PORT_UNUSED",
|
||||||
port_scanread => "PORT_UNUSED",
|
port_scanread => "PORT_UNUSED",
|
||||||
port_scanwrite => "PORT_UNUSED",
|
port_scanwrite => "PORT_UNUSED",
|
||||||
port_clk0 => "PORT_USED",
|
port_clk0 => "PORT_USED",
|
||||||
port_clk1 => "PORT_UNUSED",
|
port_clk1 => "PORT_UNUSED",
|
||||||
port_clk2 => "PORT_UNUSED",
|
port_clk2 => "PORT_UNUSED",
|
||||||
port_clk3 => "PORT_UNUSED",
|
port_clk3 => "PORT_UNUSED",
|
||||||
port_clk4 => "PORT_UNUSED",
|
port_clk4 => "PORT_UNUSED",
|
||||||
port_clk5 => "PORT_UNUSED",
|
port_clk5 => "PORT_UNUSED",
|
||||||
port_clkena0 => "PORT_UNUSED",
|
port_clkena0 => "PORT_UNUSED",
|
||||||
port_clkena1 => "PORT_UNUSED",
|
port_clkena1 => "PORT_UNUSED",
|
||||||
port_clkena2 => "PORT_UNUSED",
|
port_clkena2 => "PORT_UNUSED",
|
||||||
port_clkena3 => "PORT_UNUSED",
|
port_clkena3 => "PORT_UNUSED",
|
||||||
port_clkena4 => "PORT_UNUSED",
|
port_clkena4 => "PORT_UNUSED",
|
||||||
port_clkena5 => "PORT_UNUSED",
|
port_clkena5 => "PORT_UNUSED",
|
||||||
port_extclk0 => "PORT_UNUSED",
|
port_extclk0 => "PORT_UNUSED",
|
||||||
port_extclk1 => "PORT_UNUSED",
|
port_extclk1 => "PORT_UNUSED",
|
||||||
port_extclk2 => "PORT_UNUSED",
|
port_extclk2 => "PORT_UNUSED",
|
||||||
port_extclk3 => "PORT_UNUSED",
|
port_extclk3 => "PORT_UNUSED",
|
||||||
self_reset_on_loss_lock => "OFF",
|
self_reset_on_loss_lock => "OFF",
|
||||||
width_clock => 5
|
width_clock => 5
|
||||||
)
|
)
|
||||||
PORT MAP (
|
PORT MAP (
|
||||||
areset => areset,
|
areset => areset,
|
||||||
inclk => sub_wire4,
|
inclk => sub_wire4,
|
||||||
locked => sub_wire0,
|
locked => sub_wire0,
|
||||||
clk => sub_wire1
|
clk => sub_wire1
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
END SYN;
|
END SYN;
|
||||||
|
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- CNX file retrieval info
|
-- CNX file retrieval info
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
|
-- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
|
||||||
-- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
|
-- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
|
-- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
|
||||||
-- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
|
-- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
|
||||||
-- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "1"
|
-- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "1"
|
||||||
-- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "0"
|
-- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
|
-- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
|
-- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
|
||||||
-- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
|
-- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
|
||||||
-- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "6"
|
-- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "6"
|
||||||
-- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "88"
|
-- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "88"
|
||||||
-- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
|
-- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
|
||||||
-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "45.818180"
|
-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "45.818180"
|
||||||
-- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
|
-- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
|
||||||
-- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
|
-- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
|
||||||
-- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
|
-- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
|
-- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
|
||||||
-- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
|
-- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
|
||||||
-- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
|
-- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
|
||||||
-- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "38.400"
|
-- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "38.400"
|
||||||
-- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
|
-- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
|
||||||
-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
|
-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
|
||||||
-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
|
-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
|
-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
|
-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
|
||||||
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
||||||
-- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
|
-- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
|
||||||
-- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
|
-- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
|
||||||
-- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
|
-- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
|
||||||
-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
|
-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
|
||||||
-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
|
-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
|
||||||
-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
|
-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
|
||||||
-- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
|
-- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
|
||||||
-- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
|
-- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
|
||||||
-- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "105"
|
-- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "105"
|
||||||
-- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
|
-- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
|
||||||
-- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
|
-- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
|
||||||
-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
|
-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
|
||||||
-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
|
-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
|
||||||
-- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
|
-- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
|
-- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
|
||||||
-- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
|
-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
|
||||||
-- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "1"
|
-- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "1"
|
||||||
-- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
|
-- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
|
||||||
-- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
|
-- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
|
||||||
-- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
|
-- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
|
||||||
-- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
|
-- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
|
||||||
-- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
|
-- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
|
||||||
-- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
|
-- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
|
||||||
-- Retrieval info: PRIVATE: RECONFIG_FILE STRING "serial_pll.mif"
|
-- Retrieval info: PRIVATE: RECONFIG_FILE STRING "serial_pll.mif"
|
||||||
-- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
|
-- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
|
||||||
-- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
|
-- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
|
-- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
|
||||||
-- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
|
-- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
|
||||||
-- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
|
-- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
|
||||||
-- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
|
-- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
|
||||||
-- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
|
-- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
|
||||||
-- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
|
-- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
|
||||||
-- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
|
-- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
|
||||||
-- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
|
-- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
|
||||||
-- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
|
-- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
|
||||||
-- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
|
-- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
|
||||||
-- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
|
-- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
|
||||||
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
||||||
-- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
|
-- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
|
||||||
-- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
|
-- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
|
||||||
-- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
|
-- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
|
||||||
-- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
|
-- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
|
||||||
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
||||||
-- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "AUTO"
|
-- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "AUTO"
|
||||||
-- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "88"
|
-- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "88"
|
||||||
-- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
|
-- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
|
||||||
-- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "105"
|
-- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "105"
|
||||||
-- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
|
-- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
|
||||||
-- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
|
-- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
|
||||||
-- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "26041"
|
-- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "26041"
|
||||||
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
||||||
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
|
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
|
||||||
-- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
|
-- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
|
||||||
-- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
|
-- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
|
||||||
-- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_USED"
|
-- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_USED"
|
||||||
-- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
|
-- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
|
||||||
-- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
|
-- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
|
||||||
-- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
|
-- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
|
-- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
|
||||||
-- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
|
-- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
|
||||||
-- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
|
-- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
|
||||||
-- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
|
-- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
|
||||||
-- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
|
-- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
|
||||||
-- Retrieval info: USED_PORT: areset 0 0 0 0 INPUT GND "areset"
|
-- Retrieval info: USED_PORT: areset 0 0 0 0 INPUT GND "areset"
|
||||||
-- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
|
-- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
|
||||||
-- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
|
-- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
|
||||||
-- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
|
-- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
|
||||||
-- Retrieval info: CONNECT: @areset 0 0 0 0 areset 0 0 0 0
|
-- Retrieval info: CONNECT: @areset 0 0 0 0 areset 0 0 0 0
|
||||||
-- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
|
-- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
|
||||||
-- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
|
-- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
|
||||||
-- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
|
-- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
|
||||||
-- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
|
-- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
|
||||||
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.vhd TRUE
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.vhd TRUE
|
||||||
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.ppf TRUE
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.ppf TRUE
|
||||||
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.inc FALSE
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.inc FALSE
|
||||||
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.cmp FALSE
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.cmp FALSE
|
||||||
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.bsf FALSE
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll.bsf FALSE
|
||||||
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll_inst.vhd FALSE
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL serial_pll_inst.vhd FALSE
|
||||||
-- Retrieval info: LIB_FILE: altera_mf
|
-- Retrieval info: LIB_FILE: altera_mf
|
||||||
-- Retrieval info: CBX_MODULE_PREFIX: ON
|
-- Retrieval info: CBX_MODULE_PREFIX: ON
|
||||||
|
|
|
||||||
|
|
@ -1,58 +1,58 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
entity async_fifo is
|
entity async_fifo is
|
||||||
port (
|
port (
|
||||||
-- Global clear
|
-- Global clear
|
||||||
clear : in std_logic ;
|
clear : in std_logic ;
|
||||||
|
|
||||||
-- Write side
|
-- Write side
|
||||||
w_clock : in std_logic ;
|
w_clock : in std_logic ;
|
||||||
w_enable : in std_logic ;
|
w_enable : in std_logic ;
|
||||||
w_data : in std_logic_vector(7 downto 0) ;
|
w_data : in std_logic_vector(7 downto 0) ;
|
||||||
w_empty : out std_logic ;
|
w_empty : out std_logic ;
|
||||||
w_full : out std_logic ;
|
w_full : out std_logic ;
|
||||||
|
|
||||||
-- Read side
|
-- Read side
|
||||||
r_clock : in std_logic ;
|
r_clock : in std_logic ;
|
||||||
r_enable : in std_logic ;
|
r_enable : in std_logic ;
|
||||||
r_data : out std_logic_vector(7 downto 0) ;
|
r_data : out std_logic_vector(7 downto 0) ;
|
||||||
r_empty : out std_logic ;
|
r_empty : out std_logic ;
|
||||||
r_full : out std_logic
|
r_full : out std_logic
|
||||||
) ;
|
) ;
|
||||||
end entity ; -- async_fifo
|
end entity ; -- async_fifo
|
||||||
|
|
||||||
architecture arch of async_fifo is
|
architecture arch of async_fifo is
|
||||||
|
|
||||||
-- Clear signals for their respective sides
|
-- Clear signals for their respective sides
|
||||||
signal r_clear : std_logic ;
|
signal r_clear : std_logic ;
|
||||||
signal w_clear : std_logic ;
|
signal w_clear : std_logic ;
|
||||||
|
|
||||||
type status_t is record
|
type status_t is record
|
||||||
address : natural range 0 to 1023 ;
|
address : natural range 0 to 1023 ;
|
||||||
count : natural range 0 to 1023 ;
|
count : natural range 0 to 1023 ;
|
||||||
end record ;
|
end record ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,165 +1,165 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
package cordic_p is
|
package cordic_p is
|
||||||
|
|
||||||
-- Vectoring mode forces outputs.y to 0
|
-- Vectoring mode forces outputs.y to 0
|
||||||
-- Rotation mode forces outputs.z to 0
|
-- Rotation mode forces outputs.z to 0
|
||||||
type cordic_mode_t is (CORDIC_ROTATION, CORDIC_VECTORING) ;
|
type cordic_mode_t is (CORDIC_ROTATION, CORDIC_VECTORING) ;
|
||||||
|
|
||||||
-- TODO: Make this a generic package
|
-- TODO: Make this a generic package
|
||||||
type cordic_xyz_t is record
|
type cordic_xyz_t is record
|
||||||
x : signed(15 downto 0) ;
|
x : signed(15 downto 0) ;
|
||||||
y : signed(15 downto 0) ;
|
y : signed(15 downto 0) ;
|
||||||
z : signed(15 downto 0) ;
|
z : signed(15 downto 0) ;
|
||||||
valid : std_logic ;
|
valid : std_logic ;
|
||||||
end record ;
|
end record ;
|
||||||
|
|
||||||
end package ; -- cordic_p
|
end package ; -- cordic_p
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
use ieee.math_real.all ;
|
use ieee.math_real.all ;
|
||||||
|
|
||||||
library work ;
|
library work ;
|
||||||
use work.cordic_p.all ;
|
use work.cordic_p.all ;
|
||||||
|
|
||||||
entity cordic is
|
entity cordic is
|
||||||
port (
|
port (
|
||||||
clock : in std_logic ;
|
clock : in std_logic ;
|
||||||
reset : in std_logic ;
|
reset : in std_logic ;
|
||||||
mode : in cordic_mode_t ;
|
mode : in cordic_mode_t ;
|
||||||
inputs : in cordic_xyz_t ;
|
inputs : in cordic_xyz_t ;
|
||||||
outputs : out cordic_xyz_t
|
outputs : out cordic_xyz_t
|
||||||
) ;
|
) ;
|
||||||
end entity ; -- cordic
|
end entity ; -- cordic
|
||||||
|
|
||||||
architecture arch of cordic is
|
architecture arch of cordic is
|
||||||
|
|
||||||
-- TODO: Make this generic
|
-- TODO: Make this generic
|
||||||
constant NUM_STAGES : natural := 12 ;
|
constant NUM_STAGES : natural := 12 ;
|
||||||
|
|
||||||
-- TODO: Use the VHDL-2008 integer_vector
|
-- TODO: Use the VHDL-2008 integer_vector
|
||||||
type integer_array_t is array(natural range <>) of integer ;
|
type integer_array_t is array(natural range <>) of integer ;
|
||||||
|
|
||||||
-- Each stage of the CORDIC is atan(2^(-i))
|
-- Each stage of the CORDIC is atan(2^(-i))
|
||||||
function calculate_cordic_table return integer_array_t is
|
function calculate_cordic_table return integer_array_t is
|
||||||
variable rv : integer_array_t(0 to NUM_STAGES-1) := (others => 0) ;
|
variable rv : integer_array_t(0 to NUM_STAGES-1) := (others => 0) ;
|
||||||
begin
|
begin
|
||||||
for i in 0 to rv'high loop
|
for i in 0 to rv'high loop
|
||||||
rv(i) := integer(round((2.0**NUM_STAGES)*arctan(2.0**(-i))/MATH_PI)) ;
|
rv(i) := integer(round((2.0**NUM_STAGES)*arctan(2.0**(-i))/MATH_PI)) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
return rv ;
|
return rv ;
|
||||||
end function ;
|
end function ;
|
||||||
|
|
||||||
-- Constant array
|
-- Constant array
|
||||||
constant K : integer_array_t := calculate_cordic_table ;
|
constant K : integer_array_t := calculate_cordic_table ;
|
||||||
|
|
||||||
-- The array for CORDIC stages
|
-- The array for CORDIC stages
|
||||||
type xyzs_t is array(0 to NUM_STAGES-1) of cordic_xyz_t ;
|
type xyzs_t is array(0 to NUM_STAGES-1) of cordic_xyz_t ;
|
||||||
|
|
||||||
-- ALl the XYZ's for the CORDIC stages
|
-- ALl the XYZ's for the CORDIC stages
|
||||||
signal xyzs : xyzs_t ;
|
signal xyzs : xyzs_t ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
rotate : process(clock, reset)
|
rotate : process(clock, reset)
|
||||||
begin
|
begin
|
||||||
if( reset = '1' ) then
|
if( reset = '1' ) then
|
||||||
xyzs <= (others =>(x => (others =>'0'), y => (others =>'0'), z => (others =>'0'), valid => '0')) ;
|
xyzs <= (others =>(x => (others =>'0'), y => (others =>'0'), z => (others =>'0'), valid => '0')) ;
|
||||||
elsif( rising_edge( clock ) ) then
|
elsif( rising_edge( clock ) ) then
|
||||||
-- First stage will rotate the vector to be within -pi/2 to pi/2
|
-- First stage will rotate the vector to be within -pi/2 to pi/2
|
||||||
xyzs(0).valid <= inputs.valid ;
|
xyzs(0).valid <= inputs.valid ;
|
||||||
if( inputs.valid = '1' ) then
|
if( inputs.valid = '1' ) then
|
||||||
case mode is
|
case mode is
|
||||||
when CORDIC_ROTATION =>
|
when CORDIC_ROTATION =>
|
||||||
-- Make sure we're only rotating -pi/2 to pi/2 and adjust accordingly
|
-- Make sure we're only rotating -pi/2 to pi/2 and adjust accordingly
|
||||||
if( inputs.z > 2**(NUM_STAGES-1) ) then
|
if( inputs.z > 2**(NUM_STAGES-1) ) then
|
||||||
xyzs(0).x <= -inputs.x ;
|
xyzs(0).x <= -inputs.x ;
|
||||||
xyzs(0).y <= -inputs.y ;
|
xyzs(0).y <= -inputs.y ;
|
||||||
xyzs(0).z <= inputs.z - 2**NUM_STAGES ;
|
xyzs(0).z <= inputs.z - 2**NUM_STAGES ;
|
||||||
elsif( inputs.z < -(2**(NUM_STAGES-1)) ) then
|
elsif( inputs.z < -(2**(NUM_STAGES-1)) ) then
|
||||||
xyzs(0).x <= -inputs.x ;
|
xyzs(0).x <= -inputs.x ;
|
||||||
xyzs(0).y <= -inputs.y ;
|
xyzs(0).y <= -inputs.y ;
|
||||||
xyzs(0).z <= inputs.z + 2**NUM_STAGES ;
|
xyzs(0).z <= inputs.z + 2**NUM_STAGES ;
|
||||||
else
|
else
|
||||||
xyzs(0).x <= inputs.x ;
|
xyzs(0).x <= inputs.x ;
|
||||||
xyzs(0).y <= inputs.y ;
|
xyzs(0).y <= inputs.y ;
|
||||||
xyzs(0).z <= inputs.z ;
|
xyzs(0).z <= inputs.z ;
|
||||||
end if ;
|
end if ;
|
||||||
when CORDIC_VECTORING =>
|
when CORDIC_VECTORING =>
|
||||||
-- Make sure we're in the 1st or 4th quadrant only
|
-- Make sure we're in the 1st or 4th quadrant only
|
||||||
if( inputs.x < 0 and inputs.y < 0 ) then
|
if( inputs.x < 0 and inputs.y < 0 ) then
|
||||||
xyzs(0).x <= -inputs.x ;
|
xyzs(0).x <= -inputs.x ;
|
||||||
xyzs(0).y <= -inputs.y ;
|
xyzs(0).y <= -inputs.y ;
|
||||||
xyzs(0).z <= inputs.z - 2**(NUM_STAGES) ;
|
xyzs(0).z <= inputs.z - 2**(NUM_STAGES) ;
|
||||||
elsif( inputs.x < 0 ) then
|
elsif( inputs.x < 0 ) then
|
||||||
xyzs(0).x <= -inputs.x ;
|
xyzs(0).x <= -inputs.x ;
|
||||||
xyzs(0).y <= -inputs.y ;
|
xyzs(0).y <= -inputs.y ;
|
||||||
xyzs(0).z <= inputs.z + 2**(NUM_STAGES) ;
|
xyzs(0).z <= inputs.z + 2**(NUM_STAGES) ;
|
||||||
else
|
else
|
||||||
xyzs(0).x <= inputs.x ;
|
xyzs(0).x <= inputs.x ;
|
||||||
xyzs(0).y <= inputs.y ;
|
xyzs(0).y <= inputs.y ;
|
||||||
xyzs(0).z <= inputs.z ;
|
xyzs(0).z <= inputs.z ;
|
||||||
end if ;
|
end if ;
|
||||||
end case ;
|
end case ;
|
||||||
|
|
||||||
end if ;
|
end if ;
|
||||||
|
|
||||||
-- Run through all the other stages
|
-- Run through all the other stages
|
||||||
for i in 0 to xyzs'high-1 loop
|
for i in 0 to xyzs'high-1 loop
|
||||||
xyzs(i+1).valid <= xyzs(i).valid ;
|
xyzs(i+1).valid <= xyzs(i).valid ;
|
||||||
if( xyzs(i).valid = '1' ) then
|
if( xyzs(i).valid = '1' ) then
|
||||||
case mode is
|
case mode is
|
||||||
when CORDIC_ROTATION =>
|
when CORDIC_ROTATION =>
|
||||||
if( xyzs(i).z < 0 ) then
|
if( xyzs(i).z < 0 ) then
|
||||||
xyzs(i+1).x <= xyzs(i).x + shift_right(xyzs(i).y, i) ;
|
xyzs(i+1).x <= xyzs(i).x + shift_right(xyzs(i).y, i) ;
|
||||||
xyzs(i+1).y <= xyzs(i).y - shift_right(xyzs(i).x, i) ;
|
xyzs(i+1).y <= xyzs(i).y - shift_right(xyzs(i).x, i) ;
|
||||||
xyzs(i+1).z <= xyzs(i).z + K(i) ;
|
xyzs(i+1).z <= xyzs(i).z + K(i) ;
|
||||||
else
|
else
|
||||||
xyzs(i+1).x <= xyzs(i).x - shift_right(xyzs(i).y, i) ;
|
xyzs(i+1).x <= xyzs(i).x - shift_right(xyzs(i).y, i) ;
|
||||||
xyzs(i+1).y <= xyzs(i).y + shift_right(xyzs(i).x, i) ;
|
xyzs(i+1).y <= xyzs(i).y + shift_right(xyzs(i).x, i) ;
|
||||||
xyzs(i+1).z <= xyzs(i).z - K(i) ;
|
xyzs(i+1).z <= xyzs(i).z - K(i) ;
|
||||||
end if ;
|
end if ;
|
||||||
when CORDIC_VECTORING =>
|
when CORDIC_VECTORING =>
|
||||||
if( xyzs(i).y < 0 ) then
|
if( xyzs(i).y < 0 ) then
|
||||||
xyzs(i+1).x <= xyzs(i).x - shift_right(xyzs(i).y, i) ;
|
xyzs(i+1).x <= xyzs(i).x - shift_right(xyzs(i).y, i) ;
|
||||||
xyzs(i+1).y <= xyzs(i).y + shift_right(xyzs(i).x, i) ;
|
xyzs(i+1).y <= xyzs(i).y + shift_right(xyzs(i).x, i) ;
|
||||||
xyzs(i+1).z <= xyzs(i).z - K(i) ;
|
xyzs(i+1).z <= xyzs(i).z - K(i) ;
|
||||||
else
|
else
|
||||||
xyzs(i+1).x <= xyzs(i).x + shift_right(xyzs(i).y, i) ;
|
xyzs(i+1).x <= xyzs(i).x + shift_right(xyzs(i).y, i) ;
|
||||||
xyzs(i+1).y <= xyzs(i).y - shift_right(xyzs(i).x, i) ;
|
xyzs(i+1).y <= xyzs(i).y - shift_right(xyzs(i).x, i) ;
|
||||||
xyzs(i+1).z <= xyzs(i).z + K(i) ;
|
xyzs(i+1).z <= xyzs(i).z + K(i) ;
|
||||||
end if ;
|
end if ;
|
||||||
end case ;
|
end case ;
|
||||||
end if ;
|
end if ;
|
||||||
end loop ;
|
end loop ;
|
||||||
|
|
||||||
-- Output stage
|
-- Output stage
|
||||||
outputs <= xyzs(xyzs'high) ;
|
outputs <= xyzs(xyzs'high) ;
|
||||||
end if ;
|
end if ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,101 +1,101 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
library work ;
|
library work ;
|
||||||
use work.cordic_p.all ;
|
use work.cordic_p.all ;
|
||||||
|
|
||||||
entity fsk_demodulator is
|
entity fsk_demodulator is
|
||||||
port (
|
port (
|
||||||
clock : in std_logic ;
|
clock : in std_logic ;
|
||||||
reset : in std_logic ;
|
reset : in std_logic ;
|
||||||
|
|
||||||
in_real : in signed(15 downto 0) ;
|
in_real : in signed(15 downto 0) ;
|
||||||
in_imag : in signed(15 downto 0) ;
|
in_imag : in signed(15 downto 0) ;
|
||||||
in_valid : in std_logic ;
|
in_valid : in std_logic ;
|
||||||
|
|
||||||
out_ssd : buffer signed(15 downto 0) ;
|
out_ssd : buffer signed(15 downto 0) ;
|
||||||
out_valid : out std_logic
|
out_valid : out std_logic
|
||||||
) ;
|
) ;
|
||||||
end entity ; -- fsk_demodulator
|
end entity ; -- fsk_demodulator
|
||||||
|
|
||||||
architecture arch of fsk_demodulator is
|
architecture arch of fsk_demodulator is
|
||||||
|
|
||||||
signal cordic_inputs : cordic_xyz_t ;
|
signal cordic_inputs : cordic_xyz_t ;
|
||||||
signal cordic_outputs : cordic_xyz_t ;
|
signal cordic_outputs : cordic_xyz_t ;
|
||||||
|
|
||||||
signal prev_z : signed(15 downto 0) ;
|
signal prev_z : signed(15 downto 0) ;
|
||||||
signal delta_z : signed(15 downto 0) ;
|
signal delta_z : signed(15 downto 0) ;
|
||||||
signal delta_z_valid : std_logic ;
|
signal delta_z_valid : std_logic ;
|
||||||
signal unwrapped_z : signed(15 downto 0) ;
|
signal unwrapped_z : signed(15 downto 0) ;
|
||||||
signal unwrapped_valid : std_logic ;
|
signal unwrapped_valid : std_logic ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
cordic_inputs <= ( x => in_real, y => in_imag, z => (others =>'0'), valid => in_valid ) ;
|
cordic_inputs <= ( x => in_real, y => in_imag, z => (others =>'0'), valid => in_valid ) ;
|
||||||
|
|
||||||
U_cordic : entity work.cordic
|
U_cordic : entity work.cordic
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
mode => CORDIC_VECTORING,
|
mode => CORDIC_VECTORING,
|
||||||
inputs => cordic_inputs,
|
inputs => cordic_inputs,
|
||||||
outputs => cordic_outputs
|
outputs => cordic_outputs
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
find_derivative : process(clock, reset)
|
find_derivative : process(clock, reset)
|
||||||
begin
|
begin
|
||||||
if( reset = '1' ) then
|
if( reset = '1' ) then
|
||||||
prev_z <= (others =>'0') ;
|
prev_z <= (others =>'0') ;
|
||||||
delta_z <= (others =>'0') ;
|
delta_z <= (others =>'0') ;
|
||||||
delta_z_valid <= '0' ;
|
delta_z_valid <= '0' ;
|
||||||
elsif( rising_edge( clock ) ) then
|
elsif( rising_edge( clock ) ) then
|
||||||
delta_z_valid <= cordic_outputs.valid ;
|
delta_z_valid <= cordic_outputs.valid ;
|
||||||
if( cordic_outputs.valid = '1' ) then
|
if( cordic_outputs.valid = '1' ) then
|
||||||
prev_z <= cordic_outputs.z ;
|
prev_z <= cordic_outputs.z ;
|
||||||
delta_z <= cordic_outputs.z - prev_z ;
|
delta_z <= cordic_outputs.z - prev_z ;
|
||||||
end if ;
|
end if ;
|
||||||
end if ;
|
end if ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
unwrap : process(clock, reset)
|
unwrap : process(clock, reset)
|
||||||
begin
|
begin
|
||||||
if( reset = '1' ) then
|
if( reset = '1' ) then
|
||||||
unwrapped_z <= (others =>'0') ;
|
unwrapped_z <= (others =>'0') ;
|
||||||
unwrapped_valid <= '0' ;
|
unwrapped_valid <= '0' ;
|
||||||
elsif( rising_edge( clock ) ) then
|
elsif( rising_edge( clock ) ) then
|
||||||
unwrapped_valid <= delta_z_valid ;
|
unwrapped_valid <= delta_z_valid ;
|
||||||
if( delta_z > 4096 ) then
|
if( delta_z > 4096 ) then
|
||||||
unwrapped_z <= delta_z - 8192 ;
|
unwrapped_z <= delta_z - 8192 ;
|
||||||
elsif( delta_z < -4096 ) then
|
elsif( delta_z < -4096 ) then
|
||||||
unwrapped_z <= delta_z + 8192 ;
|
unwrapped_z <= delta_z + 8192 ;
|
||||||
else
|
else
|
||||||
unwrapped_z <= delta_z ;
|
unwrapped_z <= delta_z ;
|
||||||
end if ;
|
end if ;
|
||||||
end if ;
|
end if ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
out_ssd <= out_ssd - shift_right(out_ssd,4) + unwrapped_z when rising_edge(clock) and unwrapped_valid = '1' ;
|
out_ssd <= out_ssd - shift_right(out_ssd,4) + unwrapped_z when rising_edge(clock) and unwrapped_valid = '1' ;
|
||||||
out_valid <= unwrapped_valid when rising_edge(clock);
|
out_valid <= unwrapped_valid when rising_edge(clock);
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,103 +1,103 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
use ieee.math_real.all ;
|
use ieee.math_real.all ;
|
||||||
|
|
||||||
library work ;
|
library work ;
|
||||||
use work.nco_p.all ;
|
use work.nco_p.all ;
|
||||||
|
|
||||||
entity fsk_modulator is
|
entity fsk_modulator is
|
||||||
port (
|
port (
|
||||||
clock : in std_logic ;
|
clock : in std_logic ;
|
||||||
reset : in std_logic ;
|
reset : in std_logic ;
|
||||||
|
|
||||||
symbol : in std_logic ;
|
symbol : in std_logic ;
|
||||||
symbol_valid : in std_logic ;
|
symbol_valid : in std_logic ;
|
||||||
|
|
||||||
out_real : out signed(15 downto 0) ;
|
out_real : out signed(15 downto 0) ;
|
||||||
out_imag : out signed(15 downto 0) ;
|
out_imag : out signed(15 downto 0) ;
|
||||||
out_valid : out std_logic
|
out_valid : out std_logic
|
||||||
) ;
|
) ;
|
||||||
end entity ; -- fsk_modulator
|
end entity ; -- fsk_modulator
|
||||||
|
|
||||||
architecture arch of fsk_modulator is
|
architecture arch of fsk_modulator is
|
||||||
|
|
||||||
-- Positive deviation for ZERO and negative deviation for ONE
|
-- Positive deviation for ZERO and negative deviation for ONE
|
||||||
constant ZERO : signed(15 downto 0) := to_signed(integer(round(4096.0/19.2)),16) ;
|
constant ZERO : signed(15 downto 0) := to_signed(integer(round(4096.0/19.2)),16) ;
|
||||||
constant ONE : signed(15 downto 0) := -ZERO ;
|
constant ONE : signed(15 downto 0) := -ZERO ;
|
||||||
|
|
||||||
signal nco_input : nco_input_t ;
|
signal nco_input : nco_input_t ;
|
||||||
signal nco_output : nco_output_t ;
|
signal nco_output : nco_output_t ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
register_new_symbol : process(clock, reset)
|
register_new_symbol : process(clock, reset)
|
||||||
-- variable dir : std_logic ;
|
-- variable dir : std_logic ;
|
||||||
-- variable dphase : signed(15 downto 0) ;
|
-- variable dphase : signed(15 downto 0) ;
|
||||||
begin
|
begin
|
||||||
if( reset = '1' ) then
|
if( reset = '1' ) then
|
||||||
-- dir := '1' ;
|
-- dir := '1' ;
|
||||||
-- dphase := (others =>'0') ;
|
-- dphase := (others =>'0') ;
|
||||||
nco_input.dphase <= ZERO ;
|
nco_input.dphase <= ZERO ;
|
||||||
nco_input.valid <= '0' ;
|
nco_input.valid <= '0' ;
|
||||||
elsif( rising_edge( clock ) ) then
|
elsif( rising_edge( clock ) ) then
|
||||||
nco_input.valid <= '1' ;
|
nco_input.valid <= '1' ;
|
||||||
-- if( dir = '1' ) then
|
-- if( dir = '1' ) then
|
||||||
-- if( dphase < 4094) then
|
-- if( dphase < 4094) then
|
||||||
-- dphase := dphase + 1 ;
|
-- dphase := dphase + 1 ;
|
||||||
-- else
|
-- else
|
||||||
-- dphase := dphase - 1 ;
|
-- dphase := dphase - 1 ;
|
||||||
-- dir := '0' ;
|
-- dir := '0' ;
|
||||||
-- end if ;
|
-- end if ;
|
||||||
-- else
|
-- else
|
||||||
-- if( dphase > -4094) then
|
-- if( dphase > -4094) then
|
||||||
-- dphase := dphase - 1 ;
|
-- dphase := dphase - 1 ;
|
||||||
-- else
|
-- else
|
||||||
-- dphase := dphase + 1 ;
|
-- dphase := dphase + 1 ;
|
||||||
-- dir := '1' ;
|
-- dir := '1' ;
|
||||||
-- end if ;
|
-- end if ;
|
||||||
-- end if ;
|
-- end if ;
|
||||||
if( symbol_valid = '1' ) then
|
if( symbol_valid = '1' ) then
|
||||||
-- nco_input.dphase <= dphase ;
|
-- nco_input.dphase <= dphase ;
|
||||||
if( symbol = '0' ) then
|
if( symbol = '0' ) then
|
||||||
nco_input.dphase <= ZERO ;
|
nco_input.dphase <= ZERO ;
|
||||||
else
|
else
|
||||||
nco_input.dphase <= ONE ;
|
nco_input.dphase <= ONE ;
|
||||||
end if ;
|
end if ;
|
||||||
end if ;
|
end if ;
|
||||||
end if ;
|
end if ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
U_nco : entity work.nco
|
U_nco : entity work.nco
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
inputs => nco_input,
|
inputs => nco_input,
|
||||||
outputs => nco_output
|
outputs => nco_output
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
out_real <= nco_output.re ;
|
out_real <= nco_output.re ;
|
||||||
out_imag <= nco_output.im ;
|
out_imag <= nco_output.im ;
|
||||||
out_valid <= nco_output.valid ;
|
out_valid <= nco_output.valid ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,99 +1,99 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
package nco_p is
|
package nco_p is
|
||||||
|
|
||||||
type nco_input_t is record
|
type nco_input_t is record
|
||||||
dphase : signed(15 downto 0) ;
|
dphase : signed(15 downto 0) ;
|
||||||
valid : std_logic ;
|
valid : std_logic ;
|
||||||
end record ;
|
end record ;
|
||||||
|
|
||||||
type nco_output_t is record
|
type nco_output_t is record
|
||||||
re : signed(15 downto 0) ;
|
re : signed(15 downto 0) ;
|
||||||
im : signed(15 downto 0) ;
|
im : signed(15 downto 0) ;
|
||||||
valid : std_logic ;
|
valid : std_logic ;
|
||||||
end record ;
|
end record ;
|
||||||
|
|
||||||
end package ; -- nco_p
|
end package ; -- nco_p
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
library work ;
|
library work ;
|
||||||
use work.cordic_p.all ;
|
use work.cordic_p.all ;
|
||||||
use work.nco_p.all ;
|
use work.nco_p.all ;
|
||||||
|
|
||||||
entity nco is
|
entity nco is
|
||||||
port (
|
port (
|
||||||
clock : in std_logic ;
|
clock : in std_logic ;
|
||||||
reset : in std_logic ;
|
reset : in std_logic ;
|
||||||
inputs : in nco_input_t ;
|
inputs : in nco_input_t ;
|
||||||
outputs : out nco_output_t
|
outputs : out nco_output_t
|
||||||
) ;
|
) ;
|
||||||
end entity ; -- nco
|
end entity ; -- nco
|
||||||
|
|
||||||
architecture arch of nco is
|
architecture arch of nco is
|
||||||
|
|
||||||
signal phase : signed(15 downto 0) ;
|
signal phase : signed(15 downto 0) ;
|
||||||
|
|
||||||
signal cordic_inputs : cordic_xyz_t ;
|
signal cordic_inputs : cordic_xyz_t ;
|
||||||
signal cordic_outputs : cordic_xyz_t ;
|
signal cordic_outputs : cordic_xyz_t ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
accumulate_phase : process(clock, reset)
|
accumulate_phase : process(clock, reset)
|
||||||
variable temp : signed(15 downto 0) ;
|
variable temp : signed(15 downto 0) ;
|
||||||
begin
|
begin
|
||||||
if( reset = '1' ) then
|
if( reset = '1' ) then
|
||||||
phase <= (others =>'0') ;
|
phase <= (others =>'0') ;
|
||||||
elsif( rising_edge( clock ) ) then
|
elsif( rising_edge( clock ) ) then
|
||||||
if( inputs.valid = '1' ) then
|
if( inputs.valid = '1' ) then
|
||||||
temp := phase + inputs.dphase ;
|
temp := phase + inputs.dphase ;
|
||||||
if( temp > 4096 ) then
|
if( temp > 4096 ) then
|
||||||
temp := temp - 8192 ;
|
temp := temp - 8192 ;
|
||||||
elsif( temp < -4096 ) then
|
elsif( temp < -4096 ) then
|
||||||
temp := temp + 8192 ;
|
temp := temp + 8192 ;
|
||||||
end if ;
|
end if ;
|
||||||
phase <= temp ;
|
phase <= temp ;
|
||||||
end if ;
|
end if ;
|
||||||
end if ;
|
end if ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
cordic_inputs <= ( x => to_signed(1234,16), y => (others =>'0'), z => phase, valid => inputs.valid ) ;
|
cordic_inputs <= ( x => to_signed(1234,16), y => (others =>'0'), z => phase, valid => inputs.valid ) ;
|
||||||
|
|
||||||
U_cordic : entity work.cordic
|
U_cordic : entity work.cordic
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
mode => CORDIC_ROTATION,
|
mode => CORDIC_ROTATION,
|
||||||
inputs => cordic_inputs,
|
inputs => cordic_inputs,
|
||||||
outputs => cordic_outputs
|
outputs => cordic_outputs
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
outputs.re <= cordic_outputs.x ;
|
outputs.re <= cordic_outputs.x ;
|
||||||
outputs.im <= cordic_outputs.y ;
|
outputs.im <= cordic_outputs.y ;
|
||||||
outputs.valid <= cordic_outputs.valid ;
|
outputs.valid <= cordic_outputs.valid ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,104 +1,104 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
use ieee.math_real.all ;
|
use ieee.math_real.all ;
|
||||||
|
|
||||||
library work ;
|
library work ;
|
||||||
use work.cordic_p.all ;
|
use work.cordic_p.all ;
|
||||||
|
|
||||||
entity cordic_tb is
|
entity cordic_tb is
|
||||||
end entity ; -- cordic_tb
|
end entity ; -- cordic_tb
|
||||||
|
|
||||||
architecture arch of cordic_tb is
|
architecture arch of cordic_tb is
|
||||||
|
|
||||||
signal clock : std_logic := '1' ;
|
signal clock : std_logic := '1' ;
|
||||||
signal reset : std_logic := '1' ;
|
signal reset : std_logic := '1' ;
|
||||||
signal inputs : cordic_xyz_t := ( x => (others =>'0'), y => (others =>'0'), z => (others =>'0'), valid => '0' );
|
signal inputs : cordic_xyz_t := ( x => (others =>'0'), y => (others =>'0'), z => (others =>'0'), valid => '0' );
|
||||||
signal outputs : cordic_xyz_t ;
|
signal outputs : cordic_xyz_t ;
|
||||||
signal outputs2 : cordic_xyz_t ;
|
signal outputs2 : cordic_xyz_t ;
|
||||||
|
|
||||||
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
||||||
begin
|
begin
|
||||||
for i in 1 to count loop
|
for i in 1 to count loop
|
||||||
wait until rising_edge( clock ) ;
|
wait until rising_edge( clock ) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
end procedure ; -- nop
|
end procedure ; -- nop
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
-- Generate clock
|
-- Generate clock
|
||||||
clock <= not clock after 1 ns ;
|
clock <= not clock after 1 ns ;
|
||||||
|
|
||||||
-- Magnitude/phase to cos+isin
|
-- Magnitude/phase to cos+isin
|
||||||
U_cordic : entity work.cordic
|
U_cordic : entity work.cordic
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
mode => CORDIC_ROTATION,
|
mode => CORDIC_ROTATION,
|
||||||
inputs => inputs,
|
inputs => inputs,
|
||||||
outputs => outputs
|
outputs => outputs
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
-- cos+isin to magnitude/phase
|
-- cos+isin to magnitude/phase
|
||||||
U_cordic2 : entity work.cordic
|
U_cordic2 : entity work.cordic
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
mode => CORDIC_VECTORING,
|
mode => CORDIC_VECTORING,
|
||||||
inputs => outputs,
|
inputs => outputs,
|
||||||
outputs => outputs2
|
outputs => outputs2
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
tb : process
|
tb : process
|
||||||
variable ang : integer := 0 ;
|
variable ang : integer := 0 ;
|
||||||
variable dang : integer := integer(round(0.01*4096.0)) ;
|
variable dang : integer := integer(round(0.01*4096.0)) ;
|
||||||
begin
|
begin
|
||||||
reset <= '1' ;
|
reset <= '1' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
reset <= '0' ;
|
reset <= '0' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
ang := 0 ;
|
ang := 0 ;
|
||||||
inputs.x <= to_signed( integer(round(4096.0/1.66)), inputs.x'length ) ;
|
inputs.x <= to_signed( integer(round(4096.0/1.66)), inputs.x'length ) ;
|
||||||
inputs.y <= to_signed( 0, inputs.y'length ) ;
|
inputs.y <= to_signed( 0, inputs.y'length ) ;
|
||||||
for i in 0 to 10000 loop
|
for i in 0 to 10000 loop
|
||||||
inputs.z <= to_signed( ang, inputs.z'length ) ;
|
inputs.z <= to_signed( ang, inputs.z'length ) ;
|
||||||
inputs.valid <= '1' ;
|
inputs.valid <= '1' ;
|
||||||
wait until rising_edge( clock ) ;
|
wait until rising_edge( clock ) ;
|
||||||
inputs.valid <= '0' ;
|
inputs.valid <= '0' ;
|
||||||
nop( clock, 20 ) ;
|
nop( clock, 20 ) ;
|
||||||
ang := ang + dang ;
|
ang := ang + dang ;
|
||||||
if( ang > 4096 ) then
|
if( ang > 4096 ) then
|
||||||
ang := ang - 8192 ;
|
ang := ang - 8192 ;
|
||||||
elsif( ang < -4096 ) then
|
elsif( ang < -4096 ) then
|
||||||
ang := ang + 8192 ;
|
ang := ang + 8192 ;
|
||||||
end if ;
|
end if ;
|
||||||
|
|
||||||
end loop ;
|
end loop ;
|
||||||
|
|
||||||
report "-- End of Simulation --" severity failure ;
|
report "-- End of Simulation --" severity failure ;
|
||||||
|
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,103 +1,103 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
use ieee.math_real.all ;
|
use ieee.math_real.all ;
|
||||||
|
|
||||||
entity fsk_tb is
|
entity fsk_tb is
|
||||||
end entity ; -- fsk_tb
|
end entity ; -- fsk_tb
|
||||||
|
|
||||||
architecture arch of fsk_tb is
|
architecture arch of fsk_tb is
|
||||||
|
|
||||||
signal clock : std_logic := '1' ;
|
signal clock : std_logic := '1' ;
|
||||||
signal reset : std_logic := '1' ;
|
signal reset : std_logic := '1' ;
|
||||||
|
|
||||||
signal tx_symbol : std_logic := '0' ;
|
signal tx_symbol : std_logic := '0' ;
|
||||||
signal tx_valid : std_logic := '0' ;
|
signal tx_valid : std_logic := '0' ;
|
||||||
|
|
||||||
signal tx_sig_real : signed(15 downto 0) ;
|
signal tx_sig_real : signed(15 downto 0) ;
|
||||||
signal tx_sig_imag : signed(15 downto 0) ;
|
signal tx_sig_imag : signed(15 downto 0) ;
|
||||||
signal tx_sig_valid : std_logic ;
|
signal tx_sig_valid : std_logic ;
|
||||||
|
|
||||||
signal rx_symbol : signed(15 downto 0) ;
|
signal rx_symbol : signed(15 downto 0) ;
|
||||||
signal rx_valid : std_logic ;
|
signal rx_valid : std_logic ;
|
||||||
|
|
||||||
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
||||||
begin
|
begin
|
||||||
for i in 1 to count loop
|
for i in 1 to count loop
|
||||||
wait until rising_edge( clock ) ;
|
wait until rising_edge( clock ) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
end procedure ;
|
end procedure ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
clock <= not clock after 1 ns ;
|
clock <= not clock after 1 ns ;
|
||||||
|
|
||||||
U_fsk_modulator : entity work.fsk_modulator
|
U_fsk_modulator : entity work.fsk_modulator
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
symbol => tx_symbol,
|
symbol => tx_symbol,
|
||||||
symbol_valid => tx_valid,
|
symbol_valid => tx_valid,
|
||||||
out_real => tx_sig_real,
|
out_real => tx_sig_real,
|
||||||
out_imag => tx_sig_imag,
|
out_imag => tx_sig_imag,
|
||||||
out_valid => tx_sig_valid
|
out_valid => tx_sig_valid
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
U_fsk_demodulator : entity work.fsk_demodulator
|
U_fsk_demodulator : entity work.fsk_demodulator
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
in_real => tx_sig_real,
|
in_real => tx_sig_real,
|
||||||
in_imag => tx_sig_imag,
|
in_imag => tx_sig_imag,
|
||||||
in_valid => tx_sig_valid,
|
in_valid => tx_sig_valid,
|
||||||
out_ssd => rx_symbol,
|
out_ssd => rx_symbol,
|
||||||
out_valid => rx_valid
|
out_valid => rx_valid
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
tb : process
|
tb : process
|
||||||
variable s1, s2 : natural ;
|
variable s1, s2 : natural ;
|
||||||
variable random : real ;
|
variable random : real ;
|
||||||
begin
|
begin
|
||||||
reset <= '1' ;
|
reset <= '1' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
reset <= '0' ;
|
reset <= '0' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
s1 := 1234 ;
|
s1 := 1234 ;
|
||||||
s2 := 2345 ;
|
s2 := 2345 ;
|
||||||
for i in 0 to 10000 loop
|
for i in 0 to 10000 loop
|
||||||
uniform( s1, s2, random ) ;
|
uniform( s1, s2, random ) ;
|
||||||
if( random >= 0.5 ) then
|
if( random >= 0.5 ) then
|
||||||
tx_symbol <= '1' ;
|
tx_symbol <= '1' ;
|
||||||
else
|
else
|
||||||
tx_symbol <= '0' ;
|
tx_symbol <= '0' ;
|
||||||
end if ;
|
end if ;
|
||||||
tx_valid <= '1' ;
|
tx_valid <= '1' ;
|
||||||
nop( clock, 50 ) ;
|
nop( clock, 50 ) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
|
|
||||||
report "-- End of Simulation --" severity failure ;
|
report "-- End of Simulation --" severity failure ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,92 +1,92 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
library work ;
|
library work ;
|
||||||
use work.cordic_p.all ;
|
use work.cordic_p.all ;
|
||||||
use work.nco_p.all ;
|
use work.nco_p.all ;
|
||||||
|
|
||||||
entity nco_tb is
|
entity nco_tb is
|
||||||
end entity ; -- nco_tb
|
end entity ; -- nco_tb
|
||||||
|
|
||||||
architecture arch of nco_tb is
|
architecture arch of nco_tb is
|
||||||
|
|
||||||
signal clock : std_logic := '1' ;
|
signal clock : std_logic := '1' ;
|
||||||
signal reset : std_logic := '1' ;
|
signal reset : std_logic := '1' ;
|
||||||
|
|
||||||
signal inputs : nco_input_t := ( dphase => (others =>'0'), valid => '0' );
|
signal inputs : nco_input_t := ( dphase => (others =>'0'), valid => '0' );
|
||||||
signal outputs : nco_output_t ;
|
signal outputs : nco_output_t ;
|
||||||
|
|
||||||
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
||||||
begin
|
begin
|
||||||
for i in 1 to count loop
|
for i in 1 to count loop
|
||||||
wait until rising_edge( clock ) ;
|
wait until rising_edge( clock ) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
end procedure ;
|
end procedure ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
clock <= not clock after 1 ns ;
|
clock <= not clock after 1 ns ;
|
||||||
|
|
||||||
U_nco : entity work.nco
|
U_nco : entity work.nco
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
inputs => inputs,
|
inputs => inputs,
|
||||||
outputs => outputs
|
outputs => outputs
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
tb : process
|
tb : process
|
||||||
variable up_downx : boolean := true ;
|
variable up_downx : boolean := true ;
|
||||||
begin
|
begin
|
||||||
reset <= '1' ;
|
reset <= '1' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
reset <= '0' ;
|
reset <= '0' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
for i in 0 to 100000 loop
|
for i in 0 to 100000 loop
|
||||||
if( inputs.dphase = 4096 ) then
|
if( inputs.dphase = 4096 ) then
|
||||||
up_downx := false ;
|
up_downx := false ;
|
||||||
elsif( inputs.dphase = -4096 ) then
|
elsif( inputs.dphase = -4096 ) then
|
||||||
up_downx := true ;
|
up_downx := true ;
|
||||||
end if ;
|
end if ;
|
||||||
|
|
||||||
if( up_downx ) then
|
if( up_downx ) then
|
||||||
inputs.dphase <= inputs.dphase + 1 ;
|
inputs.dphase <= inputs.dphase + 1 ;
|
||||||
else
|
else
|
||||||
inputs.dphase <= inputs.dphase - 1 ;
|
inputs.dphase <= inputs.dphase - 1 ;
|
||||||
end if ;
|
end if ;
|
||||||
|
|
||||||
inputs.valid <= '1' ;
|
inputs.valid <= '1' ;
|
||||||
wait until rising_edge( clock ) ;
|
wait until rising_edge( clock ) ;
|
||||||
inputs.valid <= '0' ;
|
inputs.valid <= '0' ;
|
||||||
|
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
end loop ;
|
end loop ;
|
||||||
|
|
||||||
report "-- End of Simulation --" severity failure ;
|
report "-- End of Simulation --" severity failure ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,143 +1,143 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
entity uart_tb is
|
entity uart_tb is
|
||||||
end entity ; -- uart_tb
|
end entity ; -- uart_tb
|
||||||
|
|
||||||
architecture arch of uart_tb is
|
architecture arch of uart_tb is
|
||||||
|
|
||||||
signal clock : std_logic := '1' ;
|
signal clock : std_logic := '1' ;
|
||||||
signal reset : std_logic := '1' ;
|
signal reset : std_logic := '1' ;
|
||||||
signal enable : std_logic := '0' ;
|
signal enable : std_logic := '0' ;
|
||||||
|
|
||||||
signal rs232_rxd : std_logic ;
|
signal rs232_rxd : std_logic ;
|
||||||
signal rs232_txd : std_logic := '1' ;
|
signal rs232_txd : std_logic := '1' ;
|
||||||
|
|
||||||
signal txd_we : std_logic ;
|
signal txd_we : std_logic ;
|
||||||
signal txd_full : std_logic := '0' ;
|
signal txd_full : std_logic := '0' ;
|
||||||
signal txd_data : std_logic_vector(7 downto 0) ;
|
signal txd_data : std_logic_vector(7 downto 0) ;
|
||||||
|
|
||||||
signal rxd_re : std_logic ;
|
signal rxd_re : std_logic ;
|
||||||
signal rxd_empty : std_logic := '1' ;
|
signal rxd_empty : std_logic := '1' ;
|
||||||
signal rxd_data : std_logic_vector(7 downto 0) := (others =>'0') ;
|
signal rxd_data : std_logic_vector(7 downto 0) := (others =>'0') ;
|
||||||
|
|
||||||
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
procedure nop( signal clock : in std_logic ; count : in natural ) is
|
||||||
begin
|
begin
|
||||||
for i in 1 to count loop
|
for i in 1 to count loop
|
||||||
wait until rising_edge(clock) ;
|
wait until rising_edge(clock) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
end procedure ;
|
end procedure ;
|
||||||
|
|
||||||
procedure uart_send( signal clock : in std_logic ; signal txd : out std_logic ; data : in std_logic_vector(7 downto 0) ; cpb : in natural ) is
|
procedure uart_send( signal clock : in std_logic ; signal txd : out std_logic ; data : in std_logic_vector(7 downto 0) ; cpb : in natural ) is
|
||||||
begin
|
begin
|
||||||
wait until rising_edge(clock) ;
|
wait until rising_edge(clock) ;
|
||||||
-- Send start bit
|
-- Send start bit
|
||||||
txd <= '0' ;
|
txd <= '0' ;
|
||||||
nop( clock, cpb ) ;
|
nop( clock, cpb ) ;
|
||||||
|
|
||||||
-- Send data
|
-- Send data
|
||||||
for i in 0 to data'high loop
|
for i in 0 to data'high loop
|
||||||
txd <= data(i) ;
|
txd <= data(i) ;
|
||||||
nop( clock, cpb ) ;
|
nop( clock, cpb ) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
|
|
||||||
-- Send stop bit
|
-- Send stop bit
|
||||||
txd <= '1' ;
|
txd <= '1' ;
|
||||||
nop( clock, cpb ) ;
|
nop( clock, cpb ) ;
|
||||||
end procedure ;
|
end procedure ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
clock <= not clock after 1 ns ;
|
clock <= not clock after 1 ns ;
|
||||||
|
|
||||||
U_uart : entity work.uart
|
U_uart : entity work.uart
|
||||||
port map (
|
port map (
|
||||||
clock => clock,
|
clock => clock,
|
||||||
reset => reset,
|
reset => reset,
|
||||||
enable => enable,
|
enable => enable,
|
||||||
|
|
||||||
rs232_rxd => rs232_rxd,
|
rs232_rxd => rs232_rxd,
|
||||||
rs232_txd => rs232_txd,
|
rs232_txd => rs232_txd,
|
||||||
|
|
||||||
txd_we => txd_we,
|
txd_we => txd_we,
|
||||||
txd_full => txd_full,
|
txd_full => txd_full,
|
||||||
txd_data => txd_data,
|
txd_data => txd_data,
|
||||||
|
|
||||||
rxd_re => rxd_re,
|
rxd_re => rxd_re,
|
||||||
rxd_empty => rxd_empty,
|
rxd_empty => rxd_empty,
|
||||||
rxd_data => rxd_data
|
rxd_data => rxd_data
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
stimulate : process
|
stimulate : process
|
||||||
begin
|
begin
|
||||||
-- Reset
|
-- Reset
|
||||||
reset <= '1' ;
|
reset <= '1' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
-- Done with reset ...
|
-- Done with reset ...
|
||||||
reset <= '0' ;
|
reset <= '0' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
-- Make sure we don't do anything when we aren't enabled ...
|
-- Make sure we don't do anything when we aren't enabled ...
|
||||||
enable <= '0' ;
|
enable <= '0' ;
|
||||||
nop( clock, 10 ) ;
|
nop( clock, 10 ) ;
|
||||||
|
|
||||||
-- ... and now lets go!
|
-- ... and now lets go!
|
||||||
enable <= '1' ;
|
enable <= '1' ;
|
||||||
nop( clock, 100000 ) ;
|
nop( clock, 100000 ) ;
|
||||||
|
|
||||||
-- Ding!
|
-- Ding!
|
||||||
report "-- End of Simulation -- " severity failure ;
|
report "-- End of Simulation -- " severity failure ;
|
||||||
|
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
-- Just keep sending data in from the UART
|
-- Just keep sending data in from the UART
|
||||||
simulate_uart_sending : process
|
simulate_uart_sending : process
|
||||||
variable val : natural := 0 ;
|
variable val : natural := 0 ;
|
||||||
begin
|
begin
|
||||||
rs232_txd <= '1' ;
|
rs232_txd <= '1' ;
|
||||||
wait until enable = '1' ;
|
wait until enable = '1' ;
|
||||||
nop( clock, 100 ) ;
|
nop( clock, 100 ) ;
|
||||||
while true loop
|
while true loop
|
||||||
uart_send( clock, rs232_txd, std_logic_vector(to_unsigned(val,8)), 10 ) ;
|
uart_send( clock, rs232_txd, std_logic_vector(to_unsigned(val,8)), 10 ) ;
|
||||||
val := (val + 1) mod 256 ;
|
val := (val + 1) mod 256 ;
|
||||||
--nop( clock, 5 ) ;
|
--nop( clock, 5 ) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
-- Feedback data continuously
|
-- Feedback data continuously
|
||||||
simulate_s2u_fifo : process
|
simulate_s2u_fifo : process
|
||||||
begin
|
begin
|
||||||
rxd_empty <= '1' ;
|
rxd_empty <= '1' ;
|
||||||
wait until enable = '1' ;
|
wait until enable = '1' ;
|
||||||
nop( clock, 100 ) ;
|
nop( clock, 100 ) ;
|
||||||
rxd_empty <= '0' ;
|
rxd_empty <= '0' ;
|
||||||
rxd_data <= (others =>'0') ;
|
rxd_data <= (others =>'0') ;
|
||||||
while true loop
|
while true loop
|
||||||
wait until rising_edge( clock ) and rxd_re = '1' ;
|
wait until rising_edge( clock ) and rxd_re = '1' ;
|
||||||
rxd_data <= std_logic_vector(unsigned(rxd_data)+1) ;
|
rxd_data <= std_logic_vector(unsigned(rxd_data)+1) ;
|
||||||
end loop ;
|
end loop ;
|
||||||
end process ;
|
end process ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -1,134 +1,134 @@
|
||||||
-- Copyright (c) 2013 Nuand LLC
|
-- Copyright (c) 2013 Nuand LLC
|
||||||
--
|
--
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
-- Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
-- of this software and associated documentation files (the "Software"), to deal
|
-- of this software and associated documentation files (the "Software"), to deal
|
||||||
-- in the Software without restriction, including without limitation the rights
|
-- in the Software without restriction, including without limitation the rights
|
||||||
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
-- copies of the Software, and to permit persons to whom the Software is
|
-- copies of the Software, and to permit persons to whom the Software is
|
||||||
-- furnished to do so, subject to the following conditions:
|
-- furnished to do so, subject to the following conditions:
|
||||||
--
|
--
|
||||||
-- The above copyright notice and this permission notice shall be included in
|
-- The above copyright notice and this permission notice shall be included in
|
||||||
-- all copies or substantial portions of the Software.
|
-- all copies or substantial portions of the Software.
|
||||||
--
|
--
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
-- THE SOFTWARE.
|
-- THE SOFTWARE.
|
||||||
|
|
||||||
library ieee ;
|
library ieee ;
|
||||||
use ieee.std_logic_1164.all ;
|
use ieee.std_logic_1164.all ;
|
||||||
use ieee.numeric_std.all ;
|
use ieee.numeric_std.all ;
|
||||||
|
|
||||||
entity uart_bridge is
|
entity uart_bridge is
|
||||||
port (
|
port (
|
||||||
-- UART Interface
|
-- UART Interface
|
||||||
uart_clock : in std_logic ;
|
uart_clock : in std_logic ;
|
||||||
uart_reset : in std_logic ;
|
uart_reset : in std_logic ;
|
||||||
uart_enable : in std_logic ;
|
uart_enable : in std_logic ;
|
||||||
uart_rxd : out std_logic ;
|
uart_rxd : out std_logic ;
|
||||||
uart_txd : out std_logic ;
|
uart_txd : out std_logic ;
|
||||||
|
|
||||||
-- SPI Interface
|
-- SPI Interface
|
||||||
spi_clock : in std_logic ;
|
spi_clock : in std_logic ;
|
||||||
spi_reset : in std_logic ;
|
spi_reset : in std_logic ;
|
||||||
spi_sclk : out std_logic ;
|
spi_sclk : out std_logic ;
|
||||||
spi_miso : in std_logic ;
|
spi_miso : in std_logic ;
|
||||||
spi_mosi : out std_logic ;
|
spi_mosi : out std_logic ;
|
||||||
spi_csn : out std_logic
|
spi_csn : out std_logic
|
||||||
) ;
|
) ;
|
||||||
end entity ; -- uart_bridge
|
end entity ; -- uart_bridge
|
||||||
|
|
||||||
architecture arch of uart_bridge is
|
architecture arch of uart_bridge is
|
||||||
|
|
||||||
-- UART to SPI FIFO signals
|
-- UART to SPI FIFO signals
|
||||||
signal u2s_write : std_logic ;
|
signal u2s_write : std_logic ;
|
||||||
signal u2s_full : std_logic ;
|
signal u2s_full : std_logic ;
|
||||||
signal u2s_data : std_logic_vector(7 downto 0) ;
|
signal u2s_data : std_logic_vector(7 downto 0) ;
|
||||||
|
|
||||||
-- SPI to UART FIFO signals
|
-- SPI to UART FIFO signals
|
||||||
signal s2u_read : std_logic ;
|
signal s2u_read : std_logic ;
|
||||||
signal s2u_empty : std_logic ;
|
signal s2u_empty : std_logic ;
|
||||||
signal s2u_data : std_logic_vector(7 downto 0) ;
|
signal s2u_data : std_logic_vector(7 downto 0) ;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
-- UART interface
|
-- UART interface
|
||||||
U_uart : entity work.uart
|
U_uart : entity work.uart
|
||||||
port map (
|
port map (
|
||||||
-- Control signals
|
-- Control signals
|
||||||
clock => uart_clock,
|
clock => uart_clock,
|
||||||
reset => uart_reset,
|
reset => uart_reset,
|
||||||
enable => uart_enable,
|
enable => uart_enable,
|
||||||
|
|
||||||
-- External UART signals
|
-- External UART signals
|
||||||
rs232_rxd => uart_rxd,
|
rs232_rxd => uart_rxd,
|
||||||
rs232_txd => uart_txd,
|
rs232_txd => uart_txd,
|
||||||
|
|
||||||
-- FIFO signals for UART to FIFO from external interface
|
-- FIFO signals for UART to FIFO from external interface
|
||||||
txd_we => u2s_write,
|
txd_we => u2s_write,
|
||||||
txd_full => u2s_full,
|
txd_full => u2s_full,
|
||||||
txd_wdata => u2s_data,
|
txd_wdata => u2s_data,
|
||||||
|
|
||||||
-- FIFO signals for FIFO to UART to be transmitted back
|
-- FIFO signals for FIFO to UART to be transmitted back
|
||||||
rxd_re => s2u_read,
|
rxd_re => s2u_read,
|
||||||
rxd_empty => s2u_empty,
|
rxd_empty => s2u_empty,
|
||||||
rxd_rdata => s2u_data
|
rxd_rdata => s2u_data
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
-- Dual clock FIFO for UART -> SPI comms
|
-- Dual clock FIFO for UART -> SPI comms
|
||||||
U_u2s_fifo : entity work.async_fifo
|
U_u2s_fifo : entity work.async_fifo
|
||||||
port map (
|
port map (
|
||||||
-- Write side: UART
|
-- Write side: UART
|
||||||
w_clock => uart_clock,
|
w_clock => uart_clock,
|
||||||
w_enable => u2s_write,
|
w_enable => u2s_write,
|
||||||
w_data => u2s_data,
|
w_data => u2s_data,
|
||||||
w_empty => open,
|
w_empty => open,
|
||||||
w_full => u2s_full,
|
w_full => u2s_full,
|
||||||
|
|
||||||
-- Read side: SPI
|
-- Read side: SPI
|
||||||
r_clock => spi_clock,
|
r_clock => spi_clock,
|
||||||
r_enable => spi_read,
|
r_enable => spi_read,
|
||||||
r_data => spi_data,
|
r_data => spi_data,
|
||||||
r_empty => spi_empty,
|
r_empty => spi_empty,
|
||||||
r_full => open
|
r_full => open
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
-- Dual clock FIFO for SPI -> UART comms
|
-- Dual clock FIFO for SPI -> UART comms
|
||||||
U_s2u_fifo : entity work.async_fifo
|
U_s2u_fifo : entity work.async_fifo
|
||||||
port map (
|
port map (
|
||||||
-- Write side: SPI
|
-- Write side: SPI
|
||||||
w_clock => spi_clock,
|
w_clock => spi_clock,
|
||||||
w_enable => spi_readback_wen,
|
w_enable => spi_readback_wen,
|
||||||
w_data => spi_readback_data,
|
w_data => spi_readback_data,
|
||||||
w_empty => open,
|
w_empty => open,
|
||||||
w_full => s2u_full,
|
w_full => s2u_full,
|
||||||
|
|
||||||
-- Read side: UART
|
-- Read side: UART
|
||||||
r_clock => uart_clock,
|
r_clock => uart_clock,
|
||||||
r_enable => s2u_read,
|
r_enable => s2u_read,
|
||||||
r_data => s2u_data,
|
r_data => s2u_data,
|
||||||
r_empty => s2u_empty,
|
r_empty => s2u_empty,
|
||||||
r_full => open
|
r_full => open
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
-- LMS SPI interface
|
-- LMS SPI interface
|
||||||
U_lms_spi : entity lms_spi
|
U_lms_spi : entity lms_spi
|
||||||
port map (
|
port map (
|
||||||
-- Control signals
|
-- Control signals
|
||||||
clock => spi_clock,
|
clock => spi_clock,
|
||||||
reset => spi_reset,
|
reset => spi_reset,
|
||||||
|
|
||||||
-- SPI data stream
|
-- SPI data stream
|
||||||
spi_data => spi_data,
|
spi_data => spi_data,
|
||||||
spi_read => spi_read,
|
spi_read => spi_read,
|
||||||
spi_empty => spi_empty,
|
spi_empty => spi_empty,
|
||||||
|
|
||||||
-- SPI readback data stream
|
-- SPI readback data stream
|
||||||
readback_data => spi_readback_data,
|
readback_data => spi_readback_data,
|
||||||
readback_enable => spi_readback_wen
|
readback_enable => spi_readback_wen
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
end architecture ; -- arch
|
end architecture ; -- arch
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# FX3 PLL
|
# FX3 PLL
|
||||||
echo "Build FX3 PLL"
|
echo "Build FX3 PLL"
|
||||||
ip-generate \
|
ip-generate.exe \
|
||||||
--output-directory="fx3_pll" \
|
--output-directory="fx3_pll" \
|
||||||
--output-name="fx3_pll" \
|
--output-name="fx3_pll" \
|
||||||
--remove-qsys-generate-warning \
|
--remove-qsys-generate-warning \
|
||||||
|
|
@ -22,7 +22,7 @@ ip-generate \
|
||||||
|
|
||||||
# System PLL
|
# System PLL
|
||||||
echo "Build System PLL"
|
echo "Build System PLL"
|
||||||
ip-generate \
|
ip-generate.exe \
|
||||||
--output-directory="system_pll" \
|
--output-directory="system_pll" \
|
||||||
--output-name="system_pll" \
|
--output-name="system_pll" \
|
||||||
--remove-qsys-generate-warning \
|
--remove-qsys-generate-warning \
|
||||||
|
|
|
||||||
|
|
@ -1,524 +1,50 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||||
<buildSystem id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339">
|
<cconfiguration id="cdt.managedbuild.toolchain.gnu.cross.base.17224070">
|
||||||
<storageModule id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339" moduleId="org.eclipse.cdt.core.settings"/>
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.cross.base.17224070" moduleId="org.eclipse.cdt.core.settings" name="Default">
|
||||||
</buildSystem>
|
<externalSettings/>
|
||||||
<cconfiguration id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339">
|
<extensions>
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
<configuration artifactName="bladeRF_nios" buildProperties="" description="" id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339" name="Nios II" parent="org.eclipse.cdt.build.core.prefbase.cfg">
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<folderInfo id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339." name="/" resourcePath="">
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<toolChain id="altera.nios2.mingw.gcc4.1252612423" name="MinGW Nios II GCC4" superClass="altera.nios2.mingw.gcc4">
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<targetPlatform id="altera.nios2.mingw.gcc4.1914476081" name="Nios II" superClass="altera.nios2.mingw.gcc4"/>
|
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<builder buildPath="${workspace_loc://bladeRF_nios}" id="cdt.managedbuild.target.gnu.builder.cygwin.base.656724989" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.cygwin.base"/>
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<tool id="cdt.managedbuild.tool.gnu.assembler.cygwin.base.1204759541" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.cygwin.base">
|
</extensions>
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.802842597" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
</storageModule>
|
||||||
</tool>
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
<tool id="cdt.managedbuild.tool.gnu.archiver.cygwin.base.1706665657" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.cygwin.base"/>
|
<configuration buildProperties="" id="cdt.managedbuild.toolchain.gnu.cross.base.17224070" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
|
||||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.cygwin.base.1631729392" name="Cygwin C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.cygwin.base">
|
<folderInfo id="cdt.managedbuild.toolchain.gnu.cross.base.17224070.1633983466" name="/" resourcePath="">
|
||||||
<option id="gnu.cpp.compiler.option.preprocessor.undef.1851588163" name="Undefined symbols (-U)" superClass="gnu.cpp.compiler.option.preprocessor.undef" valueType="undefDefinedSymbols">
|
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.base.447565788" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.base">
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST32_MAX__"/>
|
<option id="cdt.managedbuild.option.gnu.cross.prefix.831410452" name="Prefix" superClass="cdt.managedbuild.option.gnu.cross.prefix"/>
|
||||||
<listOptionValue builtIn="false" value="__SIG_ATOMIC_MAX__"/>
|
<option id="cdt.managedbuild.option.gnu.cross.path.527300648" name="Path" superClass="cdt.managedbuild.option.gnu.cross.path"/>
|
||||||
<listOptionValue builtIn="false" value="__FLT_EPSILON__"/>
|
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.181473810" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MANT_DIG__"/>
|
<builder id="cdt.managedbuild.builder.gnu.cross.1035497258" managedBuildOn="false" name="Gnu Make Builder.Default" superClass="cdt.managedbuild.builder.gnu.cross"/>
|
||||||
<listOptionValue builtIn="false" value="__DBL_MIN__"/>
|
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.1264279326" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler"/>
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST64_TYPE__"/>
|
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.808427911" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler"/>
|
||||||
<listOptionValue builtIn="false" value="__SCHAR_MAX__"/>
|
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.1833819473" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MANT_DIG__"/>
|
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.379737521" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker"/>
|
||||||
<listOptionValue builtIn="false" value="__UINTPTR_TYPE__"/>
|
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.1099174303" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
|
||||||
<listOptionValue builtIn="false" value="__DBL_MIN_10_EXP__"/>
|
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.1496107346" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler"/>
|
||||||
<listOptionValue builtIn="false" value="__unix__"/>
|
</toolChain>
|
||||||
<listOptionValue builtIn="false" value="__DBL_DENORM_MIN__"/>
|
</folderInfo>
|
||||||
<listOptionValue builtIn="false" value="_stdcall"/>
|
</configuration>
|
||||||
<listOptionValue builtIn="false" value="__SHRT_MAX__"/>
|
</storageModule>
|
||||||
<listOptionValue builtIn="false" value="__DBL_HAS_DENORM__"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_WCHAR_T__"/>
|
</cconfiguration>
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_PTRDIFF_T__"/>
|
</storageModule>
|
||||||
<listOptionValue builtIn="false" value="__GXX_TYPEINFO_EQUALITY_INLINE"/>
|
<storageModule moduleId="scannerConfiguration">
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MAX__"/>
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_DOUBLE__"/>
|
<scannerConfigBuildInfo instanceId="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339;preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339.;cdt.managedbuild.tool.gnu.c.compiler.cygwin.base.1009810634;cdt.managedbuild.tool.gnu.c.compiler.input.cygwin.147388906">
|
||||||
<listOptionValue builtIn="false" value="__FLT_MIN_EXP__"/>
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"/>
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MANT_DIG__"/>
|
</scannerConfigBuildInfo>
|
||||||
<listOptionValue builtIn="false" value="__DEC32_EPSILON__"/>
|
<scannerConfigBuildInfo instanceId="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339;preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339.;cdt.managedbuild.tool.gnu.cpp.compiler.cygwin.base.1631729392;cdt.managedbuild.tool.gnu.cpp.compiler.input.cygwin.842138811">
|
||||||
<listOptionValue builtIn="false" value="__INTPTR_MAX__"/>
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"/>
|
||||||
<listOptionValue builtIn="false" value="__LDBL_DIG__"/>
|
</scannerConfigBuildInfo>
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST8_MAX__"/>
|
</storageModule>
|
||||||
<listOptionValue builtIn="false" value="__LDBL_DENORM_MIN__"/>
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MIN_EXP__"/>
|
<project id="test1.null.1998559220" name="test1"/>
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MAX__"/>
|
</storageModule>
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST8_MAX__"/>
|
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST8_MAX__"/>
|
</cproject>
|
||||||
<listOptionValue builtIn="false" value="__cdecl"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC_PATCHLEVEL__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_SUBNORMAL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_POINTER__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WINT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_HAS_INFINITY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MAX_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CYGWIN32__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MIN_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i386"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_LONG_LONG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_MERGED_TYPEINFO_NAMES"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT16_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_RADIX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTMAX_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTMAX_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__pentiumpro__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i686"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LONG_LONG_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_HAS_INFINITY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT32_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MAX_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_HAS_QUIET_NAN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIG_ATOMIC_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_HAS_DENORM__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__NO_INLINE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__unix"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__fastcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTPTR_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WINT_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_SUBNORMAL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__PTRDIFF_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZE_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_WEAK__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i686__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="unix"/>
|
|
||||||
<listOptionValue builtIn="false" value="__stdcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__cplusplus"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_EVAL_METHOD__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_X86_"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__PRAGMA_REDEFINE_EXTNAME"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT64_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__REGISTER_PREFIX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_HAS_QUIET_NAN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_DENORM_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CHAR32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CYGWIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTMAX_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8"/>
|
|
||||||
<listOptionValue builtIn="false" value="i386"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MIN_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTPTR_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_HAS_DENORM__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_ABI_VERSION"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTMAX_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_LONG_DOUBLE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZE_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__EXCEPTIONS"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_cdecl"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEPRECATED"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIG_ATOMIC_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_RTTI"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_SIZE_T__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC_MINOR__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__BIGGEST_ALIGNMENT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WINT_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT16_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT32_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__STDC__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_FLOAT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTMAX_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__VERSION__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT64_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_WINT_T__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_INT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__USER_LABEL_PREFIX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LONG_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__pentiumpro"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT8_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__PTRDIFF_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT8_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i386__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CHAR_BIT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_SUBNORMAL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_HAS_QUIET_NAN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_SHORT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC_EVAL_METHOD__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC_GNU_INLINE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_fastcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__declspec(x)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_HAS_INFINITY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__STDC_HOSTED__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DECIMAL_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MAX_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_UNSIGNED__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_LONG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTMAX_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FINITE_MATH_ONLY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CHAR16_TYPE__"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.cygwin.842138811" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input.cygwin"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.cygwin.base.1009810634" name="Cygwin C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.cygwin.base">
|
|
||||||
<option id="gnu.c.compiler.option.preprocessor.undef.symbol.937831354" name="Undefined symbols (-U)" superClass="gnu.c.compiler.option.preprocessor.undef.symbol" valueType="undefDefinedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIG_ATOMIC_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SCHAR_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTPTR_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MIN_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__unix__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_DENORM_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_stdcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SHRT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_HAS_DENORM__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_WCHAR_T__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_PTRDIFF_T__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_TYPEINFO_EQUALITY_INLINE"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_DOUBLE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTPTR_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_DENORM_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__cdecl"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC_PATCHLEVEL__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_SUBNORMAL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_POINTER__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WINT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_HAS_INFINITY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MAX_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CYGWIN32__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MIN_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i386"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_LONG_LONG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_MERGED_TYPEINFO_NAMES"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT16_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_RADIX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTMAX_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTMAX_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__pentiumpro__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i686"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LONG_LONG_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_HAS_INFINITY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT32_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MAX_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_HAS_QUIET_NAN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIG_ATOMIC_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_HAS_DENORM__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__NO_INLINE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__unix"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__fastcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTPTR_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WINT_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_SUBNORMAL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__PTRDIFF_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZE_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i686__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="unix"/>
|
|
||||||
<listOptionValue builtIn="false" value="__stdcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_EVAL_METHOD__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_X86_"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__PRAGMA_REDEFINE_EXTNAME"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT64_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__REGISTER_PREFIX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_HAS_QUIET_NAN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT8_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_DENORM_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CHAR32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CYGWIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTMAX_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8"/>
|
|
||||||
<listOptionValue builtIn="false" value="i386"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MIN_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTPTR_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_HAS_DENORM__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GXX_ABI_VERSION"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTMAX_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MIN_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_LONG_DOUBLE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZE_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_cdecl"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIG_ATOMIC_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_SIZE_T__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST16_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC_MINOR__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__BIGGEST_ALIGNMENT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WINT_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT16_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT64_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC64_EPSILON__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT32_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT32_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_LEAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__STDC__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_FLOAT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INTMAX_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT_FAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC32_MAX_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__VERSION__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT64_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_WINT_T__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_INT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__USER_LABEL_PREFIX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LONG_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__pentiumpro"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT8_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__INT16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST32_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__PTRDIFF_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT8_C(c)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__i386__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CHAR_BIT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_SUBNORMAL_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_HAS_QUIET_NAN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_SHORT__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC_EVAL_METHOD__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DBL_MANT_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_FAST16_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT_LEAST64_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DEC128_MIN__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__GNUC_GNU_INLINE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="_fastcall"/>
|
|
||||||
<listOptionValue builtIn="false" value="__declspec(x)"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FLT_HAS_INFINITY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINT8_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__STDC_HOSTED__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__DECIMAL_DIG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MAX_10_EXP__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__SIZEOF_LONG__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__UINTMAX_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__LDBL_MAX__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__FINITE_MATH_ONLY__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__WCHAR_TYPE__"/>
|
|
||||||
<listOptionValue builtIn="false" value="__CHAR16_TYPE__"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.cygwin.147388906" superClass="cdt.managedbuild.tool.gnu.c.compiler.input.cygwin"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.cygwin.base.227964594" name="Cygwin C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.cygwin.base"/>
|
|
||||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.cygwin.base.1294903400" name="Cygwin C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.cygwin.base">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.658614507" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
|
||||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
|
||||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
|
||||||
</inputType>
|
|
||||||
</tool>
|
|
||||||
<tool id="altera.tool.gnu.c.compiler.mingw.1156165052" name="Nios II GCC C Compiler" superClass="altera.tool.gnu.c.compiler.mingw">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.479999861" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="altera.tool.gnu.cpp.compiler.mingw.1974147634" name="Nios II GCC C++ Compiler" superClass="altera.tool.gnu.cpp.compiler.mingw">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1182290822" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="altera.tool.gnu.archiver.mingw.581246810" name="Nios II GCC Archiver" superClass="altera.tool.gnu.archiver.mingw"/>
|
|
||||||
<tool id="altera.tool.gnu.c.linker.mingw.1248788786" name="Nios II GCC C Linker" superClass="altera.tool.gnu.c.linker.mingw"/>
|
|
||||||
<tool id="altera.tool.gnu.assembler.mingw.1067107951" name="Nios II GCC Assembler" superClass="altera.tool.gnu.assembler.mingw">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.469807157" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
|
||||||
</tool>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339" moduleId="org.eclipse.cdt.core.settings" name="Nios II">
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<project id="bladeRF_nios.null.928137151" name="bladeRF_nios"/>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
|
||||||
<scannerConfigBuildInfo instanceId="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339;preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339.;cdt.managedbuild.tool.gnu.c.compiler.cygwin.base.1009810634;cdt.managedbuild.tool.gnu.c.compiler.input.cygwin.147388906">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339;preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339.;cdt.managedbuild.tool.gnu.cpp.compiler.cygwin.base.1631729392;cdt.managedbuild.tool.gnu.cpp.compiler.input.cygwin.842138811">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets">
|
|
||||||
<buildTargets>
|
|
||||||
<target name="mem_init_install" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
|
|
||||||
<buildCommand>make</buildCommand>
|
|
||||||
<buildArguments/>
|
|
||||||
<buildTarget>mem_init_install</buildTarget>
|
|
||||||
<stopOnError>true</stopOnError>
|
|
||||||
<useDefaultCommand>false</useDefaultCommand>
|
|
||||||
<runAllBuilders>false</runAllBuilders>
|
|
||||||
</target>
|
|
||||||
<target name="mem_init_generate" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
|
|
||||||
<buildCommand>make</buildCommand>
|
|
||||||
<buildArguments/>
|
|
||||||
<buildTarget>mem_init_generate</buildTarget>
|
|
||||||
<stopOnError>true</stopOnError>
|
|
||||||
<useDefaultCommand>false</useDefaultCommand>
|
|
||||||
<runAllBuilders>false</runAllBuilders>
|
|
||||||
</target>
|
|
||||||
<target name="help" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
|
|
||||||
<buildCommand>make</buildCommand>
|
|
||||||
<buildArguments/>
|
|
||||||
<buildTarget>help</buildTarget>
|
|
||||||
<stopOnError>true</stopOnError>
|
|
||||||
<useDefaultCommand>false</useDefaultCommand>
|
|
||||||
<runAllBuilders>false</runAllBuilders>
|
|
||||||
</target>
|
|
||||||
</buildTargets>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
|
||||||
<configuration configurationName="Nios II">
|
|
||||||
<resource resourceType="PROJECT" workspacePath="/bladeRF_nios"/>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
|
||||||
</cproject>
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,15 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<project>
|
<project>
|
||||||
<configuration id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1762988339" name="Nios II">
|
<configuration id="cdt.managedbuild.toolchain.gnu.cross.base.17224070" name="Default">
|
||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider class="com.altera.sbtgui.project.importer.Nios2GCCBuiltinSpecsDetector" console="false" env-hash="-1534438009598365954" id="altera.tool.Nios2GCCBuiltinSpecsDetector" keep-relative-paths="false" name="Nios II GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="-1306444479900" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
</provider>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
</provider>
|
||||||
</extension>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
</configuration>
|
</extension>
|
||||||
</project>
|
</configuration>
|
||||||
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,8 @@ $(LIBAD936X_BUILDDIR)/Makefile: $(LIBAD936X_MAKE_DEP)
|
||||||
|
|
||||||
$(LIBAD936X_BUILDDIR)/libad936x.a: $(LIBAD936X_BUILD_DEP)
|
$(LIBAD936X_BUILDDIR)/libad936x.a: $(LIBAD936X_BUILD_DEP)
|
||||||
@$(ECHO) Info: Building libad936x
|
@$(ECHO) Info: Building libad936x
|
||||||
@$(MAKE) --no-print-directory -C $(LIBAD936X_BUILDDIR) ad936x
|
#@$(MAKE) --no-print-directory -C $(LIBAD936X_BUILDDIR) ad936x
|
||||||
|
@$(MAKE) -C $(LIBAD936X_BUILDDIR) ad936x
|
||||||
|
|
||||||
# Ensure libad936x is built before the application objects that depend on its headers
|
# Ensure libad936x is built before the application objects that depend on its headers
|
||||||
$(APP_OBJS): $(LIBAD936X_BUILDDIR)/libad936x.a
|
$(APP_OBJS): $(LIBAD936X_BUILDDIR)/libad936x.a
|
||||||
|
|
|
||||||
|
|
@ -1,311 +1,311 @@
|
||||||
# Top level pins for bladeRF
|
# Top level pins for bladeRF
|
||||||
package require ::quartus::project
|
package require ::quartus::project
|
||||||
|
|
||||||
# IO Standard
|
# IO Standard
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to c4_clock
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to c4_clock
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_csx
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_csx
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_sclk
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_sclk
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_sdi
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_sdi
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_sdo
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to dac_sdo
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[16]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[16]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[15]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[15]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[14]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[14]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[13]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[13]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[12]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[12]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[11]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[11]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[10]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[10]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[9]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[9]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[8]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[8]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[7]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[7]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[6]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[6]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[5]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[5]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[4]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[4]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[3]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[3]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_present
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_present
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_spi_clock
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_spi_clock
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_spi_miso
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_spi_miso
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_spi_mosi
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_spi_mosi
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[12]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[12]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[11]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[11]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[10]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[10]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[9]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[9]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[8]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[8]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[7]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[7]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[6]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[6]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[5]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[5]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[4]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[4]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[3]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[3]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[1]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[0]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_ctl[0]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[31]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[31]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[30]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[30]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[29]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[29]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[28]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[28]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[27]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[27]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[26]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[26]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[25]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[25]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[24]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[24]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[23]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[23]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[22]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[22]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[21]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[21]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[20]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[20]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[19]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[19]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[18]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[18]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[17]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[17]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[16]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[16]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[15]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[15]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[14]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[14]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[13]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[13]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[12]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[12]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[11]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[11]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[10]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[10]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[9]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[9]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[8]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[8]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[7]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[7]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[6]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[6]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[5]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[5]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[4]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[4]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[3]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[3]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[1]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[0]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_gpif[0]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_uart_cts
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_uart_cts
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_uart_rxd
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_uart_rxd
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_uart_txd
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_uart_txd
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_pll_out
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_pll_out
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_reset
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_reset
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_clock_out
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_clock_out
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[11]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[11]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[10]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[10]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[9]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[9]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[8]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[8]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[7]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[7]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[6]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[6]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[5]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[5]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[4]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[4]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[3]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[3]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[1]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[0]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_data[0]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_enable
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_enable
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_iq_select
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_iq_select
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sclk
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sclk
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sdio
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sdio
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sdo
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sdo
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sen
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_sen
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[11]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[11]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[10]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[10]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[9]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[9]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[8]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[8]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[7]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[7]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[6]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[6]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[5]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[5]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[4]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[4]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[3]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[3]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[1]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[0]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_data[0]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_enable
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_enable
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_iq_select
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_iq_select
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to led[3]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led[3]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tdi
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tdi
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tck
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tck
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tdo
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tdo
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tms
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to altera_reserved_tms
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to c4_tx_clock
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to c4_tx_clock
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_clock_in
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_clock_in
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[31]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[31]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[32]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[32]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[28]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[28]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[27]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[27]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[26]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[26]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[25]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[25]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[24]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[24]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[30]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[30]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[29]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[29]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[23]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[23]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[22]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[22]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[21]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[21]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[20]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[20]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[19]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[19]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[18]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[18]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[17]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to exp_gpio[17]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to si_sda
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to si_sda
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to mini_exp1
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to mini_exp1
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to mini_exp2
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to mini_exp2
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to ref_vctcxo_tune
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to ref_vctcxo_tune
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to ref_sma_clock
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to ref_sma_clock
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to si_scl
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to si_scl
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_pclk
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to fx3_pclk
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to led[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led[1]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to led[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to led[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_v[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_v[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_v[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_rx_v[1]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_v[2]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_v[2]
|
||||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_v[1]
|
set_instance_assignment -name IO_STANDARD "1.8 V" -to lms_tx_v[1]
|
||||||
|
|
||||||
# Location Assignments
|
# Location Assignments
|
||||||
set_location_assignment PIN_A11 -to c4_clock
|
set_location_assignment PIN_A11 -to c4_clock
|
||||||
set_location_assignment PIN_B10 -to dac_csx
|
set_location_assignment PIN_B10 -to dac_csx
|
||||||
set_location_assignment PIN_B9 -to dac_sclk
|
set_location_assignment PIN_B9 -to dac_sclk
|
||||||
set_location_assignment PIN_A10 -to dac_sdi
|
set_location_assignment PIN_A10 -to dac_sdi
|
||||||
set_location_assignment PIN_A9 -to dac_sdo
|
set_location_assignment PIN_A9 -to dac_sdo
|
||||||
set_location_assignment PIN_M1 -to fx3_ctl[12]
|
set_location_assignment PIN_M1 -to fx3_ctl[12]
|
||||||
set_location_assignment PIN_J4 -to fx3_ctl[11]
|
set_location_assignment PIN_J4 -to fx3_ctl[11]
|
||||||
set_location_assignment PIN_J6 -to fx3_ctl[10]
|
set_location_assignment PIN_J6 -to fx3_ctl[10]
|
||||||
set_location_assignment PIN_N1 -to fx3_ctl[8]
|
set_location_assignment PIN_N1 -to fx3_ctl[8]
|
||||||
set_location_assignment PIN_G3 -to fx3_ctl[7]
|
set_location_assignment PIN_G3 -to fx3_ctl[7]
|
||||||
set_location_assignment PIN_F7 -to fx3_ctl[6]
|
set_location_assignment PIN_F7 -to fx3_ctl[6]
|
||||||
set_location_assignment PIN_B1 -to fx3_ctl[5]
|
set_location_assignment PIN_B1 -to fx3_ctl[5]
|
||||||
set_location_assignment PIN_C1 -to fx3_ctl[4]
|
set_location_assignment PIN_C1 -to fx3_ctl[4]
|
||||||
set_location_assignment PIN_H1 -to fx3_ctl[3]
|
set_location_assignment PIN_H1 -to fx3_ctl[3]
|
||||||
set_location_assignment PIN_H6 -to fx3_ctl[2]
|
set_location_assignment PIN_H6 -to fx3_ctl[2]
|
||||||
set_location_assignment PIN_F2 -to fx3_ctl[1]
|
set_location_assignment PIN_F2 -to fx3_ctl[1]
|
||||||
set_location_assignment PIN_F1 -to fx3_ctl[0]
|
set_location_assignment PIN_F1 -to fx3_ctl[0]
|
||||||
set_location_assignment PIN_AA1 -to fx3_gpif[31]
|
set_location_assignment PIN_AA1 -to fx3_gpif[31]
|
||||||
set_location_assignment PIN_Y1 -to fx3_gpif[30]
|
set_location_assignment PIN_Y1 -to fx3_gpif[30]
|
||||||
set_location_assignment PIN_AB3 -to fx3_gpif[29]
|
set_location_assignment PIN_AB3 -to fx3_gpif[29]
|
||||||
set_location_assignment PIN_P1 -to fx3_gpif[28]
|
set_location_assignment PIN_P1 -to fx3_gpif[28]
|
||||||
set_location_assignment PIN_W7 -to fx3_gpif[27]
|
set_location_assignment PIN_W7 -to fx3_gpif[27]
|
||||||
set_location_assignment PIN_R2 -to fx3_gpif[26]
|
set_location_assignment PIN_R2 -to fx3_gpif[26]
|
||||||
set_location_assignment PIN_W6 -to fx3_gpif[25]
|
set_location_assignment PIN_W6 -to fx3_gpif[25]
|
||||||
set_location_assignment PIN_W1 -to fx3_gpif[24]
|
set_location_assignment PIN_W1 -to fx3_gpif[24]
|
||||||
set_location_assignment PIN_R1 -to fx3_gpif[23]
|
set_location_assignment PIN_R1 -to fx3_gpif[23]
|
||||||
set_location_assignment PIN_V5 -to fx3_gpif[22]
|
set_location_assignment PIN_V5 -to fx3_gpif[22]
|
||||||
set_location_assignment PIN_T4 -to fx3_gpif[21]
|
set_location_assignment PIN_T4 -to fx3_gpif[21]
|
||||||
set_location_assignment PIN_M4 -to fx3_gpif[20]
|
set_location_assignment PIN_M4 -to fx3_gpif[20]
|
||||||
set_location_assignment PIN_T5 -to fx3_gpif[19]
|
set_location_assignment PIN_T5 -to fx3_gpif[19]
|
||||||
set_location_assignment PIN_P4 -to fx3_gpif[18]
|
set_location_assignment PIN_P4 -to fx3_gpif[18]
|
||||||
set_location_assignment PIN_M6 -to fx3_gpif[17]
|
set_location_assignment PIN_M6 -to fx3_gpif[17]
|
||||||
set_location_assignment PIN_N6 -to fx3_gpif[16]
|
set_location_assignment PIN_N6 -to fx3_gpif[16]
|
||||||
set_location_assignment PIN_D1 -to fx3_gpif[15]
|
set_location_assignment PIN_D1 -to fx3_gpif[15]
|
||||||
set_location_assignment PIN_C8 -to fx3_gpif[14]
|
set_location_assignment PIN_C8 -to fx3_gpif[14]
|
||||||
set_location_assignment PIN_C7 -to fx3_gpif[13]
|
set_location_assignment PIN_C7 -to fx3_gpif[13]
|
||||||
set_location_assignment PIN_C4 -to fx3_gpif[12]
|
set_location_assignment PIN_C4 -to fx3_gpif[12]
|
||||||
set_location_assignment PIN_C6 -to fx3_gpif[11]
|
set_location_assignment PIN_C6 -to fx3_gpif[11]
|
||||||
set_location_assignment PIN_B3 -to fx3_gpif[10]
|
set_location_assignment PIN_B3 -to fx3_gpif[10]
|
||||||
set_location_assignment PIN_F10 -to fx3_gpif[9]
|
set_location_assignment PIN_F10 -to fx3_gpif[9]
|
||||||
set_location_assignment PIN_B4 -to fx3_gpif[8]
|
set_location_assignment PIN_B4 -to fx3_gpif[8]
|
||||||
set_location_assignment PIN_K1 -to fx3_gpif[7]
|
set_location_assignment PIN_K1 -to fx3_gpif[7]
|
||||||
set_location_assignment PIN_A8 -to fx3_gpif[6]
|
set_location_assignment PIN_A8 -to fx3_gpif[6]
|
||||||
set_location_assignment PIN_A3 -to fx3_gpif[5]
|
set_location_assignment PIN_A3 -to fx3_gpif[5]
|
||||||
set_location_assignment PIN_F8 -to fx3_gpif[4]
|
set_location_assignment PIN_F8 -to fx3_gpif[4]
|
||||||
set_location_assignment PIN_A5 -to fx3_gpif[3]
|
set_location_assignment PIN_A5 -to fx3_gpif[3]
|
||||||
set_location_assignment PIN_B8 -to fx3_gpif[2]
|
set_location_assignment PIN_B8 -to fx3_gpif[2]
|
||||||
set_location_assignment PIN_B7 -to fx3_gpif[1]
|
set_location_assignment PIN_B7 -to fx3_gpif[1]
|
||||||
set_location_assignment PIN_B6 -to fx3_gpif[0]
|
set_location_assignment PIN_B6 -to fx3_gpif[0]
|
||||||
set_location_assignment PIN_AA4 -to fx3_uart_cts
|
set_location_assignment PIN_AA4 -to fx3_uart_cts
|
||||||
set_location_assignment PIN_AA5 -to fx3_uart_rxd
|
set_location_assignment PIN_AA5 -to fx3_uart_rxd
|
||||||
set_location_assignment PIN_AA3 -to fx3_uart_txd
|
set_location_assignment PIN_AA3 -to fx3_uart_txd
|
||||||
set_location_assignment PIN_T21 -to lms_pll_out
|
set_location_assignment PIN_T21 -to lms_pll_out
|
||||||
set_location_assignment PIN_T22 -to lms_rx_clock_out
|
set_location_assignment PIN_T22 -to lms_rx_clock_out
|
||||||
set_location_assignment PIN_B22 -to lms_rx_data[11]
|
set_location_assignment PIN_B22 -to lms_rx_data[11]
|
||||||
set_location_assignment PIN_B21 -to lms_rx_data[10]
|
set_location_assignment PIN_B21 -to lms_rx_data[10]
|
||||||
set_location_assignment PIN_C22 -to lms_rx_data[9]
|
set_location_assignment PIN_C22 -to lms_rx_data[9]
|
||||||
set_location_assignment PIN_C21 -to lms_rx_data[8]
|
set_location_assignment PIN_C21 -to lms_rx_data[8]
|
||||||
set_location_assignment PIN_D22 -to lms_rx_data[7]
|
set_location_assignment PIN_D22 -to lms_rx_data[7]
|
||||||
set_location_assignment PIN_E21 -to lms_rx_data[6]
|
set_location_assignment PIN_E21 -to lms_rx_data[6]
|
||||||
set_location_assignment PIN_D21 -to lms_rx_data[5]
|
set_location_assignment PIN_D21 -to lms_rx_data[5]
|
||||||
set_location_assignment PIN_F21 -to lms_rx_data[4]
|
set_location_assignment PIN_F21 -to lms_rx_data[4]
|
||||||
set_location_assignment PIN_E22 -to lms_rx_data[3]
|
set_location_assignment PIN_E22 -to lms_rx_data[3]
|
||||||
set_location_assignment PIN_H21 -to lms_rx_data[2]
|
set_location_assignment PIN_H21 -to lms_rx_data[2]
|
||||||
set_location_assignment PIN_F22 -to lms_rx_data[1]
|
set_location_assignment PIN_F22 -to lms_rx_data[1]
|
||||||
set_location_assignment PIN_J21 -to lms_rx_data[0]
|
set_location_assignment PIN_J21 -to lms_rx_data[0]
|
||||||
set_location_assignment PIN_H22 -to lms_rx_iq_select
|
set_location_assignment PIN_H22 -to lms_rx_iq_select
|
||||||
set_location_assignment PIN_U21 -to lms_tx_data[11]
|
set_location_assignment PIN_U21 -to lms_tx_data[11]
|
||||||
set_location_assignment PIN_P22 -to lms_tx_data[10]
|
set_location_assignment PIN_P22 -to lms_tx_data[10]
|
||||||
set_location_assignment PIN_U22 -to lms_tx_data[9]
|
set_location_assignment PIN_U22 -to lms_tx_data[9]
|
||||||
set_location_assignment PIN_R21 -to lms_tx_data[8]
|
set_location_assignment PIN_R21 -to lms_tx_data[8]
|
||||||
set_location_assignment PIN_N22 -to lms_tx_data[7]
|
set_location_assignment PIN_N22 -to lms_tx_data[7]
|
||||||
set_location_assignment PIN_R22 -to lms_tx_data[6]
|
set_location_assignment PIN_R22 -to lms_tx_data[6]
|
||||||
set_location_assignment PIN_M22 -to lms_tx_data[5]
|
set_location_assignment PIN_M22 -to lms_tx_data[5]
|
||||||
set_location_assignment PIN_P21 -to lms_tx_data[4]
|
set_location_assignment PIN_P21 -to lms_tx_data[4]
|
||||||
set_location_assignment PIN_L22 -to lms_tx_data[3]
|
set_location_assignment PIN_L22 -to lms_tx_data[3]
|
||||||
set_location_assignment PIN_N21 -to lms_tx_data[2]
|
set_location_assignment PIN_N21 -to lms_tx_data[2]
|
||||||
set_location_assignment PIN_K22 -to lms_tx_data[1]
|
set_location_assignment PIN_K22 -to lms_tx_data[1]
|
||||||
set_location_assignment PIN_M21 -to lms_tx_data[0]
|
set_location_assignment PIN_M21 -to lms_tx_data[0]
|
||||||
set_location_assignment PIN_AA13 -to lms_reset
|
set_location_assignment PIN_AA13 -to lms_reset
|
||||||
set_location_assignment PIN_AA14 -to lms_rx_enable
|
set_location_assignment PIN_AA14 -to lms_rx_enable
|
||||||
set_location_assignment PIN_AA20 -to lms_tx_v[2]
|
set_location_assignment PIN_AA20 -to lms_tx_v[2]
|
||||||
set_location_assignment PIN_AB13 -to lms_sdio
|
set_location_assignment PIN_AB13 -to lms_sdio
|
||||||
set_location_assignment PIN_AB14 -to lms_sdo
|
set_location_assignment PIN_AB14 -to lms_sdo
|
||||||
set_location_assignment PIN_AB15 -to lms_tx_enable
|
set_location_assignment PIN_AB15 -to lms_tx_enable
|
||||||
set_location_assignment PIN_AB16 -to lms_sen
|
set_location_assignment PIN_AB16 -to lms_sen
|
||||||
set_location_assignment PIN_AB19 -to lms_rx_v[2]
|
set_location_assignment PIN_AB19 -to lms_rx_v[2]
|
||||||
set_location_assignment PIN_AB20 -to lms_rx_v[1]
|
set_location_assignment PIN_AB20 -to lms_rx_v[1]
|
||||||
set_location_assignment PIN_J22 -to lms_tx_iq_select
|
set_location_assignment PIN_J22 -to lms_tx_iq_select
|
||||||
set_location_assignment PIN_F11 -to exp_spi_mosi
|
set_location_assignment PIN_F11 -to exp_spi_mosi
|
||||||
set_location_assignment PIN_D13 -to exp_gpio[2]
|
set_location_assignment PIN_D13 -to exp_gpio[2]
|
||||||
set_location_assignment PIN_E13 -to exp_gpio[3]
|
set_location_assignment PIN_E13 -to exp_gpio[3]
|
||||||
set_location_assignment PIN_E14 -to exp_gpio[4]
|
set_location_assignment PIN_E14 -to exp_gpio[4]
|
||||||
set_location_assignment PIN_E15 -to exp_gpio[5]
|
set_location_assignment PIN_E15 -to exp_gpio[5]
|
||||||
set_location_assignment PIN_E16 -to exp_gpio[6]
|
set_location_assignment PIN_E16 -to exp_gpio[6]
|
||||||
set_location_assignment PIN_D17 -to exp_gpio[7]
|
set_location_assignment PIN_D17 -to exp_gpio[7]
|
||||||
set_location_assignment PIN_D19 -to exp_gpio[8]
|
set_location_assignment PIN_D19 -to exp_gpio[8]
|
||||||
set_location_assignment PIN_C19 -to exp_gpio[9]
|
set_location_assignment PIN_C19 -to exp_gpio[9]
|
||||||
set_location_assignment PIN_D20 -to exp_gpio[10]
|
set_location_assignment PIN_D20 -to exp_gpio[10]
|
||||||
set_location_assignment PIN_C20 -to exp_gpio[11]
|
set_location_assignment PIN_C20 -to exp_gpio[11]
|
||||||
set_location_assignment PIN_F13 -to exp_gpio[12]
|
set_location_assignment PIN_F13 -to exp_gpio[12]
|
||||||
set_location_assignment PIN_F14 -to exp_gpio[13]
|
set_location_assignment PIN_F14 -to exp_gpio[13]
|
||||||
set_location_assignment PIN_F15 -to exp_gpio[14]
|
set_location_assignment PIN_F15 -to exp_gpio[14]
|
||||||
set_location_assignment PIN_D15 -to exp_gpio[15]
|
set_location_assignment PIN_D15 -to exp_gpio[15]
|
||||||
set_location_assignment PIN_A13 -to exp_gpio[16]
|
set_location_assignment PIN_A13 -to exp_gpio[16]
|
||||||
set_location_assignment PIN_C13 -to exp_present
|
set_location_assignment PIN_C13 -to exp_present
|
||||||
set_location_assignment PIN_G1 -to fx3_pclk
|
set_location_assignment PIN_G1 -to fx3_pclk
|
||||||
set_location_assignment PIN_AA15 -to lms_sclk
|
set_location_assignment PIN_AA15 -to lms_sclk
|
||||||
set_location_assignment PIN_B13 -to exp_spi_miso
|
set_location_assignment PIN_B13 -to exp_spi_miso
|
||||||
set_location_assignment PIN_E11 -to exp_spi_clock
|
set_location_assignment PIN_E11 -to exp_spi_clock
|
||||||
set_location_assignment PIN_AA7 -to led[1]
|
set_location_assignment PIN_AA7 -to led[1]
|
||||||
set_location_assignment PIN_AB7 -to led[2]
|
set_location_assignment PIN_AB7 -to led[2]
|
||||||
set_location_assignment PIN_AA21 -to lms_tx_v[1]
|
set_location_assignment PIN_AA21 -to lms_tx_v[1]
|
||||||
set_location_assignment PIN_J3 -to fx3_ctl[9]
|
set_location_assignment PIN_J3 -to fx3_ctl[9]
|
||||||
set_location_assignment PIN_G22 -to c4_tx_clock
|
set_location_assignment PIN_G22 -to c4_tx_clock
|
||||||
set_location_assignment PIN_A12 -to exp_clock_in
|
set_location_assignment PIN_A12 -to exp_clock_in
|
||||||
set_location_assignment PIN_A14 -to exp_gpio[25]
|
set_location_assignment PIN_A14 -to exp_gpio[25]
|
||||||
set_location_assignment PIN_A15 -to exp_gpio[26]
|
set_location_assignment PIN_A15 -to exp_gpio[26]
|
||||||
set_location_assignment PIN_A16 -to exp_gpio[27]
|
set_location_assignment PIN_A16 -to exp_gpio[27]
|
||||||
set_location_assignment PIN_A17 -to exp_gpio[28]
|
set_location_assignment PIN_A17 -to exp_gpio[28]
|
||||||
set_location_assignment PIN_A18 -to exp_gpio[32]
|
set_location_assignment PIN_A18 -to exp_gpio[32]
|
||||||
set_location_assignment PIN_A19 -to exp_gpio[31]
|
set_location_assignment PIN_A19 -to exp_gpio[31]
|
||||||
set_location_assignment PIN_A20 -to exp_gpio[30]
|
set_location_assignment PIN_A20 -to exp_gpio[30]
|
||||||
set_location_assignment PIN_B20 -to exp_gpio[29]
|
set_location_assignment PIN_B20 -to exp_gpio[29]
|
||||||
set_location_assignment PIN_B14 -to exp_gpio[17]
|
set_location_assignment PIN_B14 -to exp_gpio[17]
|
||||||
set_location_assignment PIN_B15 -to exp_gpio[18]
|
set_location_assignment PIN_B15 -to exp_gpio[18]
|
||||||
set_location_assignment PIN_B16 -to exp_gpio[20]
|
set_location_assignment PIN_B16 -to exp_gpio[20]
|
||||||
set_location_assignment PIN_B17 -to exp_gpio[21]
|
set_location_assignment PIN_B17 -to exp_gpio[21]
|
||||||
set_location_assignment PIN_B18 -to exp_gpio[23]
|
set_location_assignment PIN_B18 -to exp_gpio[23]
|
||||||
set_location_assignment PIN_B19 -to exp_gpio[24]
|
set_location_assignment PIN_B19 -to exp_gpio[24]
|
||||||
set_location_assignment PIN_C15 -to exp_gpio[19]
|
set_location_assignment PIN_C15 -to exp_gpio[19]
|
||||||
set_location_assignment PIN_C17 -to exp_gpio[22]
|
set_location_assignment PIN_C17 -to exp_gpio[22]
|
||||||
set_location_assignment PIN_AB10 -to led[3]
|
set_location_assignment PIN_AB10 -to led[3]
|
||||||
set_location_assignment PIN_AB8 -to mini_exp1
|
set_location_assignment PIN_AB8 -to mini_exp1
|
||||||
set_location_assignment PIN_AB9 -to mini_exp2
|
set_location_assignment PIN_AB9 -to mini_exp2
|
||||||
set_location_assignment PIN_AB11 -to ref_vctcxo_tune
|
set_location_assignment PIN_AB11 -to ref_vctcxo_tune
|
||||||
set_location_assignment PIN_AB12 -to ref_sma_clock
|
set_location_assignment PIN_AB12 -to ref_sma_clock
|
||||||
set_location_assignment PIN_A6 -to si_scl
|
set_location_assignment PIN_A6 -to si_scl
|
||||||
set_location_assignment PIN_A7 -to si_sda
|
set_location_assignment PIN_A7 -to si_sda
|
||||||
|
|
||||||
# Configuration information
|
# Configuration information
|
||||||
set_global_assignment -name CYCLONEIII_CONFIGURATION_SCHEME "FAST PASSIVE PARALLEL"
|
set_global_assignment -name CYCLONEIII_CONFIGURATION_SCHEME "FAST PASSIVE PARALLEL"
|
||||||
set_global_assignment -name USE_CONFIGURATION_DEVICE OFF
|
set_global_assignment -name USE_CONFIGURATION_DEVICE OFF
|
||||||
set_global_assignment -name GENERATE_TTF_FILE ON
|
set_global_assignment -name GENERATE_TTF_FILE ON
|
||||||
set_global_assignment -name GENERATE_RBF_FILE ON
|
set_global_assignment -name GENERATE_RBF_FILE ON
|
||||||
set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
|
set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
|
||||||
set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
|
set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
|
||||||
set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -rise
|
set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -rise
|
||||||
set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -fall
|
set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -fall
|
||||||
set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -rise
|
set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -rise
|
||||||
set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall
|
set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall
|
||||||
set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
set_global_assignment -name RESERVE_DATA1_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name RESERVE_DATA1_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
set_global_assignment -name RESERVE_DATA7_THROUGH_DATA2_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name RESERVE_DATA7_THROUGH_DATA2_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
set_global_assignment -name RESERVE_OTHER_AP_PINS_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name RESERVE_OTHER_AP_PINS_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO"
|
||||||
|
|
||||||
# Drive Strength and Slew Rate
|
# Drive Strength and Slew Rate
|
||||||
set_instance_assignment -name SLEW_RATE 0 -to fx3_gpif[*]
|
set_instance_assignment -name SLEW_RATE 0 -to fx3_gpif[*]
|
||||||
#set_instance_assignment -name CURRENT_STRENGTH_NEW 16MA -to fx3_gpif[*]
|
#set_instance_assignment -name CURRENT_STRENGTH_NEW 16MA -to fx3_gpif[*]
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -408,6 +408,8 @@ endif
|
||||||
ifneq ($(SYS_LIB),)
|
ifneq ($(SYS_LIB),)
|
||||||
APP_LDFLAGS += -msys-lib=$(SYS_LIB)
|
APP_LDFLAGS += -msys-lib=$(SYS_LIB)
|
||||||
endif
|
endif
|
||||||
|
#Note: https://community.altera.com/discussions/nios-system/unrecognized-command-line-options-in-nios-ii-example-project/254078
|
||||||
|
#APP_LDFLAGS += -msys-lib=hal_bsp
|
||||||
|
|
||||||
endif # !AVOID_NIOS2_GCC3_OPTIONS
|
endif # !AVOID_NIOS2_GCC3_OPTIONS
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,7 @@ else
|
||||||
cmd="${cmd}; set nios_impl ${nios_rev}"
|
cmd="${cmd}; set nios_impl ${nios_rev}"
|
||||||
cmd="${cmd}; set ram_size $(get_qsys_ram $size)"
|
cmd="${cmd}; set ram_size $(get_qsys_ram $size)"
|
||||||
cmd="${cmd}; set platform_revision ${rev}"
|
cmd="${cmd}; set platform_revision ${rev}"
|
||||||
qsys-script \
|
qsys-script\
|
||||||
--script=${build_dir}/nios_system.tcl \
|
--script=${build_dir}/nios_system.tcl \
|
||||||
--cmd="${cmd}"
|
--cmd="${cmd}"
|
||||||
fi
|
fi
|
||||||
|
|
@ -434,6 +434,7 @@ if [ -f nios_system.sopcinfo ]; then
|
||||||
echo "Skipping qsys-generate, nios_system.sopcinfo already exists"
|
echo "Skipping qsys-generate, nios_system.sopcinfo already exists"
|
||||||
else
|
else
|
||||||
qsys-generate --synthesis=Verilog nios_system.qsys
|
qsys-generate --synthesis=Verilog nios_system.qsys
|
||||||
|
#qsys-generate --synthesis=vhdl nios_system.qsys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
@ -446,12 +447,13 @@ mkdir -p bladeRF_nios_bsp
|
||||||
if [ -f settings.bsp ]; then
|
if [ -f settings.bsp ]; then
|
||||||
echo "Skipping creating Nios BSP, settings.bsp already exists"
|
echo "Skipping creating Nios BSP, settings.bsp already exists"
|
||||||
else
|
else
|
||||||
|
echo "Debug:message1"
|
||||||
nios2-bsp-create-settings \
|
nios2-bsp-create-settings \
|
||||||
--settings settings.bsp \
|
--settings settings.bsp \
|
||||||
--type hal \
|
--type hal \
|
||||||
--bsp-dir bladeRF_nios_bsp \
|
--bsp-dir bladeRF_nios_bsp \
|
||||||
--cpu-name nios2 \
|
--cpu-name nios2 \
|
||||||
--script $(readlink -f $QUARTUS_ROOTDIR/..)/nios2eds/sdk2/bin/bsp-set-defaults.tcl \
|
--script $(wslpath -w $(readlink -f $QUARTUS_ROOTDIR/..)/nios2eds/sdk2/bin/bsp-set-defaults.tcl) \
|
||||||
--sopc nios_system.sopcinfo \
|
--sopc nios_system.sopcinfo \
|
||||||
--set hal.max_file_descriptors 4 \
|
--set hal.max_file_descriptors 4 \
|
||||||
--set hal.enable_instruction_related_exceptions_api false \
|
--set hal.enable_instruction_related_exceptions_api false \
|
||||||
|
|
@ -473,6 +475,7 @@ make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd ${build_dir}/../software/bladeRF_nios/
|
pushd ${build_dir}/../software/bladeRF_nios/
|
||||||
|
dirs -l -v
|
||||||
|
|
||||||
# Encountered issues on Ubuntu 13.04 with the SDK's scripts not resolving
|
# Encountered issues on Ubuntu 13.04 with the SDK's scripts not resolving
|
||||||
# paths properly. In the end, some items wind up being defined as .jar's that
|
# paths properly. In the end, some items wind up being defined as .jar's that
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set OUTFILE=master_tx.csv
|
set OUTFILE=master_tx.csv
|
||||||
if exist %OUTFILE% del %OUTFILE%
|
if exist %OUTFILE% del %OUTFILE%
|
||||||
|
|
||||||
echo Creating %OUTFILE%. This window will close when this is done.
|
echo Creating %OUTFILE%. This window will close when this is done.
|
||||||
for /L %%G in (1, 1, 1000) do echo "0, 0" >> %OUTFILE%
|
for /L %%G in (1, 1, 1000) do echo "0, 0" >> %OUTFILE%
|
||||||
for /L %%G in (1, 1, 100) do echo "1447, 1447" >> %OUTFILE%
|
for /L %%G in (1, 1, 100) do echo "1447, 1447" >> %OUTFILE%
|
||||||
for /L %%G in (1, 1, 1000) do echo "0, 0" >> %OUTFILE%
|
for /L %%G in (1, 1, 1000) do echo "0, 0" >> %OUTFILE%
|
||||||
|
|
|
||||||
2
thirdparty/analogdevicesinc/no-OS
vendored
2
thirdparty/analogdevicesinc/no-OS
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0bba46e6f6f75785a65d425ece37d0a04daf6157
|
Subproject commit 534f202a102530424b1ff2284fd89e0428e7b271
|
||||||
Loading…
Add table
Add a link
Reference in a new issue