T
tech11
Guest
Hello everyone,
I defined one function in '.simrc', but when I export out hspice netlist, I
get such error:
Running netlist
Begin Incremental Netlisting Aug 12 22:27:10 2007
*Error* eval: undefined function - HNLPrintPnpElement
End netlisting Aug 12 22:27:11 2007
"Netlister: There were errors, no netlist was produced."
Below is my function defination:
procedure( HNLPrintPnpElement()
hnlPrintString("q") hnlPrintString(hnlMapInstName(hnlCurrentInstName))
hnlPrintString(" ") hnlPrintString(hnlMapNetName(hnlNetNameOnTerm("C" 0)))
hnlPrintString(" ") hnlPrintString(hnlMapNetName(hnlNetNameOnTerm("B" 0)))
hnlPrintString(" ") hnlPrintString(hnlMapNetName(hnlNetNameOnTerm("E" 0)))
hnlHspicePrintInstPropVal('("modelType"))
;if( hnlCurrentType == "pnp" then
;hnlPrintString("pnp")
;hnlHspicePrintInstPropEqVal('("area" "m"))
hnlPrintString("\n")
)
What's the question?
B.R.
Joffre
I defined one function in '.simrc', but when I export out hspice netlist, I
get such error:
Running netlist
Begin Incremental Netlisting Aug 12 22:27:10 2007
*Error* eval: undefined function - HNLPrintPnpElement
End netlisting Aug 12 22:27:11 2007
"Netlister: There were errors, no netlist was produced."
Below is my function defination:
procedure( HNLPrintPnpElement()
hnlPrintString("q") hnlPrintString(hnlMapInstName(hnlCurrentInstName))
hnlPrintString(" ") hnlPrintString(hnlMapNetName(hnlNetNameOnTerm("C" 0)))
hnlPrintString(" ") hnlPrintString(hnlMapNetName(hnlNetNameOnTerm("B" 0)))
hnlPrintString(" ") hnlPrintString(hnlMapNetName(hnlNetNameOnTerm("E" 0)))
hnlHspicePrintInstPropVal('("modelType"))
;if( hnlCurrentType == "pnp" then
;hnlPrintString("pnp")
;hnlHspicePrintInstPropEqVal('("area" "m"))
hnlPrintString("\n")
)
What's the question?
B.R.
Joffre