Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

nlIsSmartExtractedView

nlIsSmartExtractedView(
o_cellViewHandle
) 
=> t / nil 

Description

Identifies if the currently netlisted cellview is of the type smart_view. You can use this function in custom netlist procedures to modify the syntax printed to the netlist as required. For example, you can modify the syntax to determine if the printing of parenthesis needs to be enabled or disabled when printing the port connections of the instance.

Arguments

o_cellViewHandle

A handle to the current cellview that is being netlisted.

Value Returned

t

The cellview is netlisted.

nil

There is an error.

Examples

(nlIsSmartExtractedView ((nlGetCurrentCellView (nlGetNetlister inst)))
=> t

The following snippet shows how to use this function in a custom netlist procedure:

(defun _myCustomNetlistProc (instance)
     (let (netlister isNextGenExtrCV currentCV signalList)
netlister = (nlGetNetlister instance)
currentCV = (nlGetCurrentCellView netlister)
isNextGenExtrCV = (nlIsSmartExtractedView currentCV)
signalList = (nlGetSignalList instance)
(when (not isNextGenExtrCV) nlPrintString(netlister sprintf(nil "(")))
(foreach signal signalList nlPrintString(netlister sprintf(nil "%s " signal)))
(when (not isNextGenExtrCV) nlPrintString(netlister sprintf(nil ") ")))
 )
)
=> t


Return to top
 ⠀
X