Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems

MAX10 FPGA CFM size

MMuth8
Beginner
1,072 Views

Hi,

I am using MAX10(10M25DAF484C8G) FPGA and internal configuration memory(CFM) for FPGA code.

 

For Single uncompressed image configuration mode, generated the files(through convert programming files option) as below.

top.sof - 1660KB

top.pof - 773KB

output_file_auto.rpd - 772KB

output_file_cfm0_auto.rpd - 528KB

output_file_ufm_auto.rpd - 242KB

 

10M25DAF484C8G FPGA CFM size is 736KB.

1) During JTAG programming, Which file to configure?

2) During Remote System Upgrade, which file to configure?

3) How do i conclude CFM size is sufficient for my fpga code?

4) In case, if CFM is not sufficient for my fpga code, do i get any error while generating these files(through convert programming files option) in Quartus?

 

Thanks

 

0 Kudos
3 Replies
AnandRaj_S_Intel
Employee
887 Views

Hi Mahalakshmi,

 

10M25 FPGA CFM size is 5888 kb.

 

1) During JTAG programming, Which file to configure?

>>.sof

2) During Remote System Upgrade, which file to configure?

>>.pof (Hardware +software image)

3) How do i conclude CFM size is sufficient for my fpga code?

>>.check the .sof size, CFM-store the hardware configuration data for MAX 10 FPGAs. UFM—stores the user data or software applications.

4) In case, if CFM is not sufficient for my fpga code, do i get any error while generating these files(through convert programming files option) in Quartus?

>>yes.

 

Please refer below links.

https://www.youtube.com/watch?v=0k4AZmdW9Sk

https://www.youtube.com/watch?v=Z0l0GrjXn8w

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an730.pdf

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an741.pdf

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/max-10/ug_m10_config.pdf

 

Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

 

 

Regards

Anand

0 Kudos
MMuth8
Beginner
887 Views

Hi Anand,

 

Thanks for your response. It was very much useful.

 

3) How do i conclude CFM size is sufficient for my fpga code?

>>.check the .sof size

4) In case, if CFM is not sufficient for my fpga code, do i get any error while generating these files(through convert programming files option) in Quartus?

>>yes.

 

·        My SOF file size is 1660KBytes. I.e it is greater than the CFM size(10M25 FPGA CFM size is 5888 kb = 736KBytes)

But why I didn’t get any error while generating .pof, .rpd files (through convert programming files) in Quartus?

·        How do we use .rpd file?

From AN741.pdf page num 9, I see the below files needed for remote upgrde

— .pof—configuration file generated from a .sof and programmed into the internal flash.

— .rpd—contains the data for internal flash which includes ICB settings, CFM0, CFM1 and UFM.

— .map—holds the address for each memory sector of ICB settings, CFM0, CFM1 and UFM.

 

Please clarify.

 

Thanks,

Mahalakshmi

0 Kudos
AnandRaj_S_Intel
Employee
887 Views

Hi Mahalakshmi,

 

  1.  .sof used during JTAG configuration programs the CRAM only and does not contain ICB settings or CFM. We can use compression if the sof file is not fitting. While programming internal flash we have to check the hardware image size, refer to the .map file generated during .pof file generation.
  2. Refer section 1.7.4 of an741 Updating Image and Triggering Reconfiguration using UART.

Examples:

https://fpgacloud.intel.com/devstore/platform/15.1.0/Standard/i2c-remote-system-update-example/

https://fpgacloud.intel.com/devstore/platform/15.0.0/Standard/max10-remote-system-upgrade-rsu-over-uart-for-nios-ii-processor/

 

Regards

Anand

 

0 Kudos
Reply