AN 826: Hierarchical Partial Reconfiguration Tutorial: for Intel® Stratix® 10 GX FPGA Development Board

ID 683327
Date 1/05/2021

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 13 and Height of 6.
  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 X174_Y415. The Compiler calculates (X187_Y421) as the top-right coordinate.
    Note: This tutorial uses the (X1 Y1) co-ordinates - (174 415), a height of 6 and a width of 13 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 1. 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 6, and Width of 17. Specify the Origin as X173 Y411. The Compiler calculates the top-right coordinate.
    Figure 5. Logic Lock Regions Window
Verify that the blinking_led.qsf contains the following assignments, corresponding to your floorplanning:
set_instance_assignment -name PLACE_REGION "X174 Y415 X186 Y420" -to \
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 \
set_instance_assignment -name REGION_NAME u_blinking_led_child -to \
set_instance_assignment -name ROUTE_REGION "X173 Y414 X187 Y421" -to \
set_instance_assignment -name RESERVE_ROUTE_REGION OFF -to \
set_instance_assignment -name PLACE_REGION "X173 Y411 X189 Y416" \
     -to u_blinking_led
set_instance_assignment -name RESERVE_PLACE_REGION ON -to \
set_instance_assignment -name CORE_ONLY_PLACE_REGION ON -to \
set_instance_assignment -name REGION_NAME u_blinking_led -to \
set_instance_assignment -name ROUTE_REGION "X172 Y410 X190 Y417" -to \