Article ID: 000087891 Content Type: Product Information & Documentation Last Reviewed: 10/25/2021

How can I obtain the amount of CRAM frames and size of a CRAM frame in Arria® II, Stratix® IV, Cyclone® V, Stratix® V, Arria® V, Intel® Arria® 10, and Intel® Cyclone® 10 FPGAs?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

To obtain the amount of CRAM frames and size of a CRAM frame in Arria® II, Stratix® IV, Cyclone® V, Stratix® V, Arria® V, Intel® Arria® 10, and Intel® Cyclone® 10 FPGAs, perform the steps described in the Resolution section.

Resolution

To obtain the amount of CRAM frames and size of a CRAM frame in Arria® II, Stratix® IV, Cyclone® V, Stratix® V, Arria® V, Intel® Arria® 10, and Intel® Cyclone® 10 FPGAs, perform the following steps:

  1. Choose Convert Programming Files under File menu in the Intel® Quartus® Prime Software.
  2. Add the device SRAM Object File (.sof) in the Input files to convert section of the Convert Programming Files GUI. Select Raw Binary File (.rbf) in the Programming file type dropdown menu, then select Create Fault Injection File to generate .fif. Click Generate.
  3. In the Command Shell, change directory to where the <output_file>.rbf and <output_file>.fif files were saved from Step 1, then type the following command to open FIF tcl shell:
    • quartus_fif -s
  4. Type the following command to set up the FIF driver:
    • setup -fif <output_file>.fif -rbf <output_file>.rbf
  5. Type dump to display all FIF Driver Contents. Refer to Total Frame Count column for the total amount of CRAM frames in the device.
  6. Type the following command to return the size of a given CRAM frame:
    • get_frame_size -frame <frame number>

Related Products

This article applies to 7 products

Arria® II FPGAs
Arria® V FPGAs and SoC FPGAs
Intel® Arria® 10 FPGAs and SoC FPGAs
Cyclone® V FPGAs and SoC FPGAs
Intel® Cyclone® 10 FPGAs
Stratix® IV FPGAs
Stratix® V FPGAs