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

geGetAdjustedPath

geGetAdjustedPath( 
w_winId 
t_pathList 
[ d_cellview ] 
[ t_viewnameList ] 
)
=> t_adjustedPathList

Description

Reduces the given hierarchical net path to the shortest hierarchical name that is equivalent to this net.

Arguments

w_winId

Window ID used to find the top-most point of the hierarchy for name reduction.

t_pathList

A single concatenated string for the instance hierarchy with "/" as the hierarchy separator in the string in version 4.4.3 of design framework II. In version 4.3.4, this was a list of strings of instance names for the instance hierarchy.

d_cellview

Database Id of a cellview to be used as the top-level cellview specified by w_winId. If this value is specified, the minimized name is relative to this cellview, rather than the topmost cellview. Specifying the value returned by geGetTopCellViewName as this third argument is the same as omitting the third argument.

t_viewnameList

A string specifying views to switch into when descending the hierarchy specified in t_pathList. If not specified, the default value schematic is used.

Value Returned

t_adjustedPathList

  

The reduced net name. If the net is local to this cellview only, the reduced net name is the same as the provided net name.

Examples

Assuming the currently displayed cellview has a net called gnd, the following example reduces this name to the smallest hierarchically correct name to reach this net. Since the gnd net is connected from this point up to the top level of hierarchy, the return value is "/gnd".

netpath = buildString(foreach(mapcar i
geGetHierMemInst(hiGetCurrentWindow()) car(i)->name) "/" )
netPath = strcat("/" netPath "/" "gnd")
geGetAdjustedPath( hiGetCurrentWindow() netPath)
=> "/gnd"

Related Topics

Probe Functions


Return to top
 ⠀
X