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:
- Right-click the u_blinking_led_child instance in the Project Navigator and click . The region appears on the Logic Lock Regions Window.
- Specify a region Width of 13 and Height of 6.
- 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.
- Enable the Reserved and Core-Only options.
- Double-click the Routing Region option. The Logic Lock Routing Region Settings dialog box appears.
- 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.
- 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
set_instance_assignment -name PLACE_REGION "X174 Y415 X186 Y420" -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 "X173 Y414 X187 Y421" -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 Y411 X189 Y416" \
-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 Y410 X190 Y417" -to \
u_blinking_led