Shading Pblocks

Isolation Design Flow for Zynq UltraScale+ MPSoCs and UltraScale+ FPGAs (XAPP1335)

Document ID
XAPP1335
Release Date
2023-05-15
Revision
2.2 English

Looking at Pblocks might be easy but user floorplans are not always simple. IDF highly recommends taking advantage of the highlighting features of Vivado. The following Tcl script will highlight all the Pblocks in the design:

set pblocks [get_pblocks *];set ci 1;foreach pblock $pblocks {highlight_objects -color_index [expr {1 + ($ci % 19)}] [get_pblocks $pblock]; incr ci}

Shading the Pblocks tells the user what resources are included in it. Although shading can be seen when the Pblock is selected, highlighting it helps for better visibility. Additionally, it helps to differentiate between different Pblocks. In a highlighted Pblock, resources that have color are added to the Pblock and the regions that are black are not included. In the following figure, some of the PUs are not included for the red color highlighted Pblock. This is apparent from the highlighting, since entirety of the DSP and BRAM is not included in the original Pblock boundary. Hence, the corresponding PU tiles such as CLEs also did not get included.

Figure 1. Shading of Pblocks for Better Visualization of Its Included Resources