Stratix® 10 Configuration via Protocol (CvP) Implementation User Guide

ID 683704
Date 10/02/2024
Public
Document Table of Contents

6.2.4. Setting up and Compile the Updated Revision

In this section, you create a new revision that serves as the updated revision of the base design. The new revision reuses the root partition that is exported from the base revision. However, it uses a new core logic.

Perform the following steps to create and compile an updated revision:

  1. To create a new revision, Click Project > Revisions.
  2. The new Revision window appears. To create a new revision, double-click <<new revision>>. The Create Revision dialog box appears.
  3. Specify the revision name in Revision name field.
  4. For the Based on revision, select the base design, In this example design, the base design is called as top.
  5. Enable This project uses a Partition Database (.qdb) file for the root partition. Browse and add the root_partition.qdb generated from the base design. This setting is also present in the Design Partitions window.
  6. For the Revision Type, select same as top.
  7. Click OK and the Quartus® Prime exist the previous base design and load the new design revision. The new revision opens automatically by Quartus® Prime. You can confirm the current revision opened by the Quartus® Prime through the top tool bar.
    Figure 20. Creating Revisions
  8. In the pcie_example_design_update revision, make sure to remove the root_partition.qdb from the Design Partitions Window- Post Final Export File.
    Figure 21. Remove root_partition.qdb
  9. Create the new instance or module that you want to replace/update the partition.
  10. Use entity rebinding assignment in design partitions window to change the logic associated with the reserved core partition. Make sure to select the entity rebinding column when you use the entity rebinding assignment
    Figure 22. Entity Rebinding Column
    For example, First you use green_led as the logic within reserved core partition. Now you change the green_led logic to red_led via entity rebinding, which replaces the green_led instance with a red_led instance.
    Figure 23.  green_led Entity Re-binding to red_led
    Ensure that your Quartus® Prime project top_update includes source files associated with updated Reserved Core partition logic in Quartus® Prime.
  11. In the Quartus® Prime, clickAssignments > Settings > Files and remove the green_led.v file and replace it with red_led.v file.
  12. Verify the following lines in the .qsf file:
    set_instance_assignment -name ENTITY_REBINDING red_led -to led_inst_0 -entity top_hw
  13. To run compilation, click Processing > Start Compilation.