Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- What do you mean by editing .rpd files? The file format is proprietary to Altera, so you do not get to edit anything. You can use Quartus to generate .rpd files, and you can use SRunner to download them. The S in SRunner stands for Serial, since the EPCS and EPCQ are really just re-branded SPI flash devices. You can read any number of SPI flash data sheets to understand the op-code and addressing schemes used by these dvices, eg., Micron data sheets are good. What you do not get to "learn" is what is the format of the .rpd file, eg., how do the bits in the file correspond to programming cells in the FPGA. That is the information Altera does not release. Note: because you mentioned .rpd files, you implied you are interested in using an SPI flash for FPGA configuration. If the SPI flash is larger than the configuration file size (compressed or not), you can use the remaining flash, eg., to store NIOS processor code, or user-defined data. After the FPGA configures from the SPI flash, the SPI interface pins can be configured as user I/O and you can use an SPI master in the FPGA fabric to access the flash. Cheers, Dave --- Quote End --- Thank you very much for replying! Actually I'm doing some research for FPGA chip testing. I need to download the configuration file into the chip and get the inputs of the chip fixed on some specific values.(eg: there are five inputs of a circuit and these inputs are fixed on '10010') So I'm considering to edit the configuration files but I don't know whether I can achieve my purpose using tools provided by Altera. Is there any tool can be helpful? Thanks again!