Quartus® Prime Pro Edition User Guide: Partial Reconfiguration

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

1.15.2. Generating a Version-Compatible Compilation Database for PR Designs

Follow these steps to generate a version-compatible compilation database for PR designs:
  1. Export the entire compiled design from the Quartus® Prime software version N by clicking Project > Export Design, or by command line:
    quartus_cdb <project> -c <base_revision> --export_design --snapshot final \
         --file <base_revision>.qdb
  2. Import the compiled design to the Quartus® Prime software version M by clicking Project > Import Design, or by command line:
    quartus_cdb <project> -c <base_revision_import> --import_design --file \
         <base_revision>.qdb
    Note: Whenever possible, import the design into a different working directory than the directory that you use to compile the base design. If you must use the same directory for import and for compiling the base design, make a backup copy of your compiled design by archiving that design with qdb/* included, or make a copy of the entire directory and subdirectories elsewhere. You must also remove the old database directory qdb/* and all the bitstream related files (*.sof, *.msf, *.pmsf).
  3. Rerun the finalize stage of the Fitter in the Quartus® Prime Pro Edition software version M by clicking Processing > Start > Start Fitter (Finalize), or by command line:
    quartus_fit <project> -c <base_revision_import> --finalize
  4. Run the Assembler in the Quartus® Prime Pro Edition software version M to regenerate the static region bitstream by clicking Processing > Start > Start Assembler, or by command line:
    quartus_asm <project> -c <base_revision_import>
  5. Export the static region .qdb in the Quartus® Prime Pro Edition software version M by clicking Project > Export Design Partition, or by command line:
    quartus_cdb <project> -c <base_revision_import> --export_block \
    root_partition --snapshot final --file --include_sdc_entity_in_partition static.qdb
    Note: When exporting the base revision and the static partition, you must include any .sdc files that apply to the partition, by using the include_sdc_entity_in_partition option.
  6. Compile each implementation revision in the Quartus® Prime Pro Edition software version M, using the static revision .qdb that you exported in the previous step.
    quartus_sh –flow compile <project> –c <impl_rev>