Add one function in '.simrc', exporting out netlist I met er

Status
Not open for further replies.

tech11

Newbie level 5
Joined
Apr 5, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,349
hnlprintstring

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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…