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
Value Returned
|
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