Quartus® Prime Pro Edition User Guide: Partial Reconfiguration

ID 683834
Date 10/23/2024
Public
Document Table of Contents

1.6.7. Step 7: Compile the Base Revision and Export the Static Region

After defining and floorplanning PR partitions and revisions, you compile the base revision and export the static region. You can export individual design partitions manually, or you can export one or more partitions automatically each time you run the Compiler.
Follow these steps to compile and export the base and static region:
  1. To specify the current revision, click Project > Revisions, and then set the base revision as current, or select the base revision from the main toolbar drop-down list.
  2. For Arria® 10 and Cyclone® 10 GX designs, you can optionally add the following assignments to the .qsf to automatically generate the required PR bitstreams following compilation. This step is not required for Agilex® 7, Agilex™ 5, or Stratix® 10 designs.
    set_global_assignment -name GENERATE_PR_RBF_FILE ON
    set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
  3. To compile the base revision, click Processing > Start Compilation.
  4. To export the static region, click Project > Export Design Partition and specify options for the partition export:
    Figure 13. Export Design Partition
    Table 3.  Design Partition Options
    Option Setting
    Partition name Select root_partition.
    Partition database file Specify a descriptive file name.
    Include entity-bound SDC files Enable to include entity bound .sdc files with the partition export.
    Note: You must enable this option when exporting the base revision (root partition), so that the implementation compiles inherit the timing constraints defined in entity-bound .sdc files.
    Snapshot Select final snapshot.
  5. Alternatively, follow these steps to automatically export one or more design partitions after each compilation. You can automatically export any design partition that does not have a preserved parent partition, including the root_partition.
    1. To open the Design Partitions Window, click Assignments > Design Partitions Window.
    2. To automatically export a partition with final snapshot results any time you run the Fitter, specify a .qdb file name for the Post Final Export File option for that partition.
    Figure 14. Specifying Export File in Design Partitions Window

    QSF File Equivalent:

    set_instance_assignment -name \
         EXPORT_PARTITION_SNAPSHOT_<FINAL|SYNTHESIZED> \
         <hierarchy_path> -to <file_name>.qdb