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

hnlGetInstanceCount

hnlGetInstanceCount(
)
=> x_numberOfInstances

Description

Returns the number of instances in the design most recently netlisted in the same session. This does not include instances with the nlAction=ignore property that are ignored during netlisting.

Arguments

None

Value Returned

x_numberOfInstances

The number of instances in the design most recently netlisted in the same session.

Examples

(defmethod nlIncludeSrcFile ((obj <yourSimulator>Formatter) file)
(let ((nl (nlGetNetlister obj)))
(nlPrintStringNoFold nl "include '" simplifyFilename(file) "'")
(nlPrintStringNoFold nl "\n")
))
=> 5


Return to top
 ⠀
X