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
Value Returned
|
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
Return to top