AN 954: Hierarchical Partial Reconfiguration Tutorial: for the Intel Agilex® 7 FPGA Development Board

ID 683687
Date 1/16/2024
Public

Step 4: Allocating Placement and Routing Region for PR Partitions

When you create the base revision, the PR design flow uses your PR partition region allocation to place the corresponding persona core in the reserved region. To locate and assign the PR region in the device floorplan for your base revision:
  1. Right-click the u_blinking_led_child instance in the Project Navigator and click Logic Lock Region > Create New Logic Lock Region. The region appears on the Logic Lock Regions Window.
  2. Specify a region Width of 11 and Height of 5.
  3. Specify the placement region coordinates for blinking_led_child in the Origin column. The origin corresponds to the lower-left corner of the region. Specify the Origin as X182_Y13. The Compiler calculates (X192_Y17) as the top-right coordinate.
    Note: This tutorial uses the (X1 Y1) co-ordinates - (X182_Y13), a height of 5 and a width of 11 for the placement region. Define any value for the placement region. Ensure that the region covers the blinking_led_child logic.
  4. Enable the Reserved and Core-Only options.
  5. Double-click the Routing Region option. The Logic Lock Routing Region Settings dialog box appears.
  6. Select Fixed with expansion for the Routing type. Selecting this option automatically assigns an expansion length of 2. The routing region must be larger than the placement region to accommodate the routing of different personas.
  7. Repeat steps 1-6 for the u_blinking_led instance. The parent-level placement region must fully enclose the corresponding child-level placement and routing regions, while allowing sufficient space for the parent-level logic placement. Specify a Height of 13, and Width of 25. Specify the Origin as X173 Y11. The Compiler calculates the top-right coordinate.
    Figure 5. Defining Logic Lock Regions


Verify that the blinking_led.qsf contains the following assignments, corresponding to your floorplanning:
set_instance_assignment -name PLACE_REGION "X182 Y13 X192 Y17" -to \
     u_blinking_led|u_blinking_led_child
set_instance_assignment -name RESERVE_PLACE_REGION ON \
     -to u_blinking_led|u_blinking_led_child
set_instance_assignment -name CORE_ONLY_PLACE_REGION ON -to \
     u_blinking_led|u_blinking_led_child
set_instance_assignment -name REGION_NAME u_blinking_led_child -to \
     u_blinking_led|u_blinking_led_child
set_instance_assignment -name ROUTE_REGION "X180 Y11 X194 Y19" -to \
     u_blinking_led|u_blinking_led_child
set_instance_assignment -name RESERVE_ROUTE_REGION OFF -to \
     u_blinking_led|u_blinking_led_child
set_instance_assignment -name PLACE_REGION "X173 Y11 X197 Y23" \
     -to u_blinking_led
set_instance_assignment -name RESERVE_PLACE_REGION ON -to \
     u_blinking_led
set_instance_assignment -name CORE_ONLY_PLACE_REGION ON -to \
     u_blinking_led
set_instance_assignment -name REGION_NAME u_blinking_led -to \
     u_blinking_led
set_instance_assignment -name ROUTE_REGION "X172 Y10 X198 Y24" -to \
     u_blinking_led