Step 3: Creating Design Partitions
You must create design partitions for each PR region that you want to partially reconfigure. You can create any number of independent partitions or PR regions in your design. This tutorial creates two design partitions for the u_blinking_led_child and u_blinking_led instances.
To create design partitions for hierarchical partial reconfiguration:
- Right-click the u_blinking_led_child instance in the Project Navigator and click .
Figure 3. Creating a Design Partition
- Click . The window displays all design partitions in the project.
- Edit the default partition name in the Design Partitions Window by double-clicking the name. Rename the partition to pr_partition.
- Repeat steps 1 and 2 to assign reconfigurable design partitions to the u_blinking_led instance. Rename this partition to pr_parent_partition.
- In the Design Partitions Window, click (…) at the farthest right column header and enable the Post Final Export File column.
- To export the finalized static region from the base revision compile, double-click the entry for root_partition in the Post Final Export File column, and type blinking_led_static.qdb. This file is for the subsequent PR implementation compiles.
- To export the finalized parent PR partition from the base revision compile, double-click the entry for pr_parent_partition in Post Final Export File, and type pr_parent_partition_default_final.qdb. This file is for the subsequent PR implementation compiles.
Figure 4. Design Partitions Window
Verify that the blinking_led.qsf contains the following assignments, corresponding to your reconfigurable design partitions:
set_instance_assignment -name PARTITION pr_partition -to \ u_blinking_led|u_blinking_led_child set_instance_assignment -name PARTIAL_RECONFIGURATION_PARTITION ON -to \ u_blinking_led|u_blinking_led_child set_instance_assignment -name PARTITION pr_parent_partition -to \ u_blinking_led set_instance_assignment -name PARTIAL_RECONFIGURATION_PARTITION ON -to \ u_blinking_led set_instance_assignment -name EXPORT_PARTITION_SNAPSHOT_FINAL \ blinking_led_static.qdb -to | -entity top set_instance_assignment -name EXPORT_PARTITION_SNAPSHOT_FINAL \ pr_parent_partition_default_final.qdb -to u_blinking_led -entity top