Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbOpenHier

dbOpenHier( 
d_cellView 
x_numLevels 
) 
=> t 

Description

Opens and binds masters of instances that constitute a design hierarchy.

The starting point is the cellview specified by d_cellView. If x_numLevels is 0 (zero), no action is taken and t is returned. If x_numLevels is 1, masters of instances contained in cellview d_cellView are opened and bound. If x_numLevels is 2, masters of instances contained in each of the masters in level 1 are opened and bound. And so on for each level specified.

Arguments

d_cellView

Cellview that represents level 0 (zero) of a design hierarchy.

x_numLevels

Number of design hierarchy levels to open.

Values Returned

t

Always returns t and reports errors as encountered.

Examples

Opens the design hierarchy up to and including level one, which means open and bind the master of instances contained in the given cellview.

dbOpenCellViewByType does not automatically open and bind the masters.

cellview = dbOpenCellViewByType("design_gpdk090" "ADDFX2" "layout")

dbOpenHier() does not switch views. It only opens views that are directly instantiated.

dbOpenHier( cellview 1 )

Additional Information

The SKILL functions dbOpenHier, dbShapeQuery, and dbGetOverlaps perform different functions and have different implementations that may traverse the hierarchy in different ways. Although it is possible to use combinations of these and other functions to get similar results, code that is sensitive to the order of traversal may produce different results. For example, code that is traversing the hierarchy through dbOpenHier and dbShapeQuery, which needs to expand through Pcells, may produce a result that is different from dbGetOverlaps.

if there is a Pcell evaluation failure at some point of the traversal because these functions cannot guarantee order and it cannot be predicted whether or when a Pcell will fail to evaluate, some data that is produced by one set of SKILL functions may not be produced by a different set of SKILL functions.

Related Topics

dbShapeQuery

dbGetOverlaps


Return to top
 ⠀
X