Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top