You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is inefficient to use a -filter [NAME=xxx] for the tcl commands.
Since the object name is part of the get_xxx command line, it is much more efficient to use:
get_cells xxx
This allows Vivado to get only the objects that match, not all objects in the device.
An example of poor coding is in XilinxTclStore / tclapp / xilinx / designutils / report_hier_util.tcl on line 41:
Rather than:
set childList [get_cells -quiet -hierarchical -filter "NAME =~ $hierCell/* && IS_PRIMITIVE"]
use:
set childList [get_cells -quiet -hierarchical $hierCell/* -filter "IS_PRIMITIVE"]
This is especially obvious in things like get_sites, get_bels, etc. For example:
get_bels -filter [NAME = Tilename/Site_]
will get ALL bels in the device, then filter based on the request.
but
get_bels Tilename/Site_
will ONLY look at the bels in the specified Tilename. This is much faster.
Sterling Babcock
The text was updated successfully, but these errors were encountered:
It is inefficient to use a -filter [NAME=xxx] for the tcl commands.
Since the object name is part of the get_xxx command line, it is much more efficient to use:
get_cells xxx
This allows Vivado to get only the objects that match, not all objects in the device.
An example of poor coding is in XilinxTclStore / tclapp / xilinx / designutils / report_hier_util.tcl on line 41:
Rather than:
set childList [get_cells -quiet -hierarchical -filter "NAME =~ $hierCell/* && IS_PRIMITIVE"]
use:
set childList [get_cells -quiet -hierarchical $hierCell/* -filter "IS_PRIMITIVE"]
This is especially obvious in things like get_sites, get_bels, etc. For example:
get_bels -filter [NAME = Tilename/Site_]
will get ALL bels in the device, then filter based on the request.
but
get_bels Tilename/Site_
will ONLY look at the bels in the specified Tilename. This is much faster.
Sterling Babcock
The text was updated successfully, but these errors were encountered: