Forum Discussion

Jcole's avatar
Jcole
Icon for Occasional Contributor rankOccasional Contributor
1 year ago

Reading checksum of the rpd with FPGA

Would there be a method for the FPGA to verify the checksum of a .rpd file it receives serially?

I'm passing a rpd file to my FPGA to write into Flash and I want to make sure that the data is properly received. I've read where others have used tcl scripts and/or Quartus to read the checksum but didn't know if there was a particular area or the file itself that contained the information that maybe the FPGA could use to verify the file.

6 Replies

  • Hi,


    Any further information needed for this case? Else, I will set this case to close for now.


    Regards,

    Aiman


  • Hi,


    RPD is a bitstream which you can use write your own script to program into the flash. You cannot use Quartus Programmer to program RPD into flash. To validate the bistream, you can compare the data with the .map file. .map file can be generated during RPD file generating.


    Regards,

    Aiman


    • Jcole's avatar
      Jcole
      Icon for Occasional Contributor rankOccasional Contributor

      Hi, Thank you for responding, but that's not quite what I'm asking. I wanted to know if there was a checksum associated with the rpd file. I'm serially passing my FPGA the hex translation of a .rpd file from my connected processor. The FPGA will then write the received rpd file to the flash memory. I just want to know if there is a method for the FPGA to check that the file was received from the processor correctly such as the checksum.

      • FvM's avatar
        FvM
        Icon for Super Contributor rankSuper Contributor
        Why not add a e.g. crc32 to the file?
  • We do not receive any response from you to the previous answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you