Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

hnlDoInstBased

hnlDoInstBased(
l_hnlListOfAllCells
)
=> t

Description

Driver for instance-based netlists. It determines the order in which most of the output functions are called. For each cellview in the schematic hierarchy that is determined by the hnlListOfAllCells variable, it sets the hnlCurrentCell global variable to the cellview to be netlisted.

Then, the following global variables are set:

hnlCellInputs hnlCellOutputs hnlCellOthers hnlCellOutTerms hnlCellInTerms hnlCellOtherTerms hnlCellNetsOnTerms

Next, if this cellview is the top-level cellview (the cellview specified to be netlisted), each of the functions specified in the hnlTopCellFuncs list is evaluated in order. If this is not the top-level schematic, each of the functions specified in the hnlMacroCellFuncs list is evaluated in order. None of these global functions take arguments.

The current environment is always stored in global variables so that they are available to the output functions. Upon completion, hnlCurrentCell is set to nil.

Arguments

l_hnlListOfAllCells

List of all cell views to be netlisted. This is a list of lists, and the first element of each sublist is a cell. For example:

'( (cell1) (cell2) (cell3) )

Value Returned

t

Always returns t.

Examples

hnlDoInstBased( '( ( cellView1 ) ( cellView2 ) )

Related Topics

OSS Functions


Return to top
 ⠀
X