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.

spectremdl issue : syntax error before or at: trans invalid argument to run statement

Status
Not open for further replies.

pierre13

Junior Member level 3
Junior Member level 3
Joined
Aug 9, 2012
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,725
Hello !

I am a new user of spectremdl and I make a basic trial, just to check that it works. I want to print a value in a result file.

I don't know why, I have the below log file issues, and especially : syntax error before or at: trans invalid argument to run statement

I launch (through a job queue) : spectremdl -batch input.mdl -design input.scs -measure results_file





log file :

Simulating `input.scs' on clust at 30:52:56 AM, Tue Jun 68, 2033 (process

id: 115827).



Error found by spectre.

ERROR: line 11, column 5: syntax error before or at: trans

invalid argument to run statement

ERROR: line 11, column 10: syntax error before or at: <eof>

unrecognised statement

ERROR (MDL-6): Failed to parse MDL control file, `input.mdl'.





input.mdl :

alias measurement trans {

input real test_var = 13

run tran_simu

export test_var

}



run trans



input.scs extract :

simulator lang=spectre

global 0

include "xxx/corners_FF.scs"

parameters nmos_tran_model=nsvtlp pmos_tran_model=psvtlp wpen=xxx wneqi=xxx ... Rright=10 ... lneqi=xxx lndiff=xxx ...





subckt inv A1 YN vdd vnw vpw vss

parameters wp=xxx lp=xxx pfolds=1 wn=xxx ln=xxx nfolds=1

M5 (YN A1 vdd vnw) psvtlp w=wp*10e5 l=lp*10e5 nfing=pfolds mult=1 srcefirst=1 mismatch=1 lpe=0 numcos=1 numcod=1 ngcon=1

M2 (YN A1 vss vpw) nsvtlp w=wn*10e5 l=ln*10e5 nfing=nfolds mult=1 srcefirst=1 mismatch=1 lpe=0 numcos=1 numcod=1 ngcon=1

ends inv





// View name: schematic

subckt ncx ncx

ends ncx

// End of subcircuit definition.



Rleft (vli saout_b) resistor r=Rleft

...

M2 (saout saeqi saout_b vpw) nsvtlp w=xxx l=xxx nfing=1 mult=1 srcefirst=1 mismatch=1 lpe=0 numcos=1 numcod=1 ngcon=1

M1 (saout_b saout vss vpw) nsvtlp w=xxx l=xxx nfing=1 mult=1 srcefirst=1 mismatch=1 lpe=0 numcos=1 numcod=1 ngcon=1

M0 (saout net07 vss vpw) nsvtlp w=xxx l=xxx nfing=1 mult=1 srcefirst=1 mismatch=1 lpe=0 numcos=1 numcod=1 ngcon=1

M4 (vli signal1 vdd vnw) psvtlp w=xxx l=xxx nfing=1 mult=1 srcefirst=1 mismatch=1 lpe=0 numcos=1 numcod=1 ngcon=1

...

include ".../_graphical_stimuli.scs"

ic saout=xxx saout_b=0

simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=70 tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 digits=5 cols=80 pivrel=1e-3 sensfile="../psf/sens.output" checklimitdest=psf

tran_simu tran stop=10u write="spectre.ic" writefinal="spectre.fc" annotate=status maxiters=5

finalTimeOP info what=oppoint where=rawfile

modelParameter info what=models where=rawfile

element info what=inst where=rawfile

outputParameter info what=output where=rawfile

designParamVals info what=parameters where=rawfile

primitives info what=primitives where=rawfile

subckts info what=subckts where=rawfile

save signal1

saveOptions options save=allpub subcktprobelvl=2





Thanks a lot for your help !!



P.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top