Quartus® Prime Pro Edition User Guide: Partial Reconfiguration

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

1.9.1. Running Timing Analysis on Aggregate Revisions

To ensure timing closure of a design with multiple PR regions, you create aggregate revisions for all possible PR region combinations and run timing analysis.
  1. To open the Revisions dialog box, click Project > Revisions.
  2. To create a new revision, double-click <<new revision>>.
  3. Specify the Revision name and select the base revision for Based on Revision.
  4. To export the post-fit database from the base compile (static partition), type the following command in the Quartus® Prime shell:
    quartus_cdb <project name> <base revision> --export_block \
         "root_partition" --snapshot final --file \
         "<base revision name>.qdb"
    Note: Ensure that you include all the .sdc and .ip files for the static and PR regions. To detect the clocks, ensure that the .sdc file for the PR Controller IP follows the entry of any .sdc file that creates the clocks that the IP core uses. You facilitate this order by ensuring the .ip file for the PR Controller IP comes after any .ip or .sdc files that you use to create these clocks in the .qsf file for the project revision. Refer to Partial Reconfiguration Solutions IP User Guide for more information.
  5. To export the post-fit database from multiple personas (for the PR implementation revisions), type the following commands in the Quartus® Prime shell:
    quartus_cdb <project name> -c <PR1 revision> --export_block \
         <PR1 Partition name> --snapshot final --file "pr1.qdb"
    quartus_cdb <project name> -c <PR2 revision> --export_block \
         <PR2 Partition name> --snapshot final --file "pr2.qdb"
  6. To import the post-fit databases of the static region as an aggregate revision, type the following commands in the Quartus® Prime shell:
    quartus_cdb <project name> -c <aggr_rev> --import_block \
         "root_partition" --file "<base revision name>.qdb"
    quartus_cdb <project name> -c <aggr_rev> --import_block \
         <PR1 partition name> --file "pr1.qdb" 
    quartus_cdb <project name> -c <aggr_rev> --import_block \
         <PR2 Partition name> --file "pr2.qdb"
    
  7. To integrate post-fit database of all the partitions, type the following command in the Quartus® Prime shell:
    quartus_fit <project name> -c <aggr_rev>
    Note: The Fitter verifies the legality of the post-fit database, and combines the netlist for timing analysis. The Fitter does not reroute the design.
  8. To perform timing analysis on the aggregate revision, type the following command in the Quartus® Prime shell:
    quartus_sta <proj name> -c <aggr_rev>
  9. Run timing analysis on aggregate revision for all possible PR persona combinations. If a specific persona fails timing closure, recompile the persona and perform timing analysis again.