With the floorplan for the DFX design created, pblocks can be analyzed and modified as needed to suit the requirements of the design.
Ultimately the reconfigurable pblock is a collection of resize_pblock
commands, one for each resource type. These may be modified directly in the design
constraint file (.xdc) or interactively within the IDE. With an existing pblock, select
and pull edges in or out to include more or fewer resources. If new resource types are
enclosed, a dialog box will ask which new types should be added to the pblock.
Modifications in the IDE can be saved to the target .xdc in a project, or explicitly
written to a constraint file using the write_xdc
command.
With a floorplan open in the AMD Vivado™ IDE, select the pblock to see the pblock properties. Each resource type covered by this pblock is shown within the statistics tab. The number of each resource available and required for the current Reconfigurable Module are listed. Any deficiencies in number or type are shown in red, alerting the user to expand the scope of the pblock.
Pblocks can also be seen as a collection of rectangles, independent of resource type. The
rectangles tab shows a full list of rectangles that together comprise the entire pblock.
These rectangles can be selected, highlighting the subsection of the pblock it
represents. These rectangles can be removed by right-clicking and selecting “Clear
Rectangle” – this can be useful when pruning an odd shaped pblock, returning a specific
section back to the static design. This action results in a call to
resize_pblock
using the -remove_rect
option. Only
use this switch when in interactive mode, as this option uses a coordinate grid system.
The resulting pblock creation constraints will still be made referencing device resource
types.