Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20678 Discussions

Cyclone/AS configuration

Altera_Forum
Honored Contributor II
927 Views

Besides checking the configuration signals (CONF_DONE,nSTATUS...DATAO..etc.) is there anyway for me to check that my CYCLONE chip has been configured correctly after power up ? Is there anyway to check/compair the contents of my EPCS to what was configured on my CYCLONE device (simply :):). In my design I have an instantiated NIOS II processor and we have both hardware and firmware stored in the EPCS. On power up the CYCLONE is configured first and then the firmware is downloaded from the EPCS and and stored in external ASRAMs.  

 

Thanks in advance
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
224 Views

Yes. You can try using the CRC function. It will calculate the CRC value of the data it was configured with and compare it to the CRC value generated by Quartus II during compilation. See AN 357 for more information on this feature. 

 

 

--- Quote Start ---  

For Stratix, Stratix GX, Cyclone II, and Cyclone devices, the CRC is 

computed by the Quartus II software and downloaded into the device as 

part of the configuration bit stream. These devices store the CRC in the 32- 

bit storage register at the end of the configuration mode. 

When the error detection CRC feature is enabled in user mode, these 

devices recalculate the CRC based on the contents of the device and 

compare it against the 32-bit storage register. 

--- Quote End ---  

 

 

http://www.altera.com/literature/an/an357.pdf (http://www.altera.com/literature/an/an357.pdf)
0 Kudos
Reply