AN 806: Hierarchical Partial Reconfiguration Tutorial: for Intel® Arria® 10 GX FPGA Development Board

ID 683278
Date 2/04/2021
Public

Step 8: Compiling the Base Revision

Before you begin:
  1. Run the PR bitstream ID init script using the following command:
    quartus_sh -t prpof_id_mif_gen.tcl init
    This command allows the Intel® Quartus® Prime software to assign bitstream IDs to child PR regions, for bitstream compatibility check.
  2. Add the following assignments to blinking_led.qsf:
    set_global_assignment -name GENERATE_PR_RBF_FILE ON
    set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
    These assignments allow the Assembler to automatically generate the required PR bitstreams.

To compile the base revision:

  1. To compile the base revision, click Processing > Start Compilation. Alternatively, the following command compiles the base revision:
    quartus_sh --flow compile  blinking_led -c blinking_led
    On successful compilation, the blinking_led_static.qdb file is generated in the output_files directory.
  2. To regenerate the base .sof file with the proper bitstream IDs for the child PR regions, run the PR bitstream ID update script using the following command:
    quartus_sh -t prpof_id_mif_gen.tcl update
  3. Verify generation of the following the bitstream files:
    Table 5.  Generated Files
    Name Type Description
    output_files/blinking_led.sof Base programming file Used to program the FPGA with the static logic, along with the default personas for the parent and child PR regions.
    output_files/blinking_led.pr_parent_partition.rbf PR bitstream file for parent PR partition Used to program the default persona for the parent PR region.
    output_files/blinking_led.pr_parent_partition.pr_partition.rbf PR bitstream file for child PR partition Used to program the default persona for the child PR region.
    <project_directory>/blinking_led_static.qdb .qdb database file Finalized database file used to import the static region.
    <project_directory>/pr_parent_partition_default_final.qdb .qdb database file Finalized database file used to import the default parent PR partition.