Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schProduceCVHierConfig

schProduceCVHierConfig( 
s_visitCB
h_configId
[ h_pathVectId ]
)
=> t / nil

Description

Traverses a configuration design hierarchy and invokes a callback for each unique cellview.

When invoked, the s_visitCB procedure is passed with the arguments d_cellViewId, x_depth, l_hierPath, and g_inStopCellView.

Where,

Arguments

s_visitCB

Name of the procedure to be invoked for each cellview.

h_configId

HDB configuration object identifier.

h_pathVectId

HDB path vector identifier.

Value Returned

t

The hierarchy was successfully traversed.

nil

No hierarchy traversal was performed.

Examples

(procedure (CCSPrintConfigSchematicViews @optional (win (hiGetCurrentWindow)))
(procedure (visit cv depth hierPath inStopList)
(for i 0 depth (printf ">"))
    (printf " %s.%s:%s\n" cv->libName cv->cellName cv->viewName))
(let ((config (deGetConfigId win)))
(when config (schProduceCVHierConfig 'visit config))))
(CCSPrintConfigSchematicViews)

Return to top
 ⠀
X