extract wavefom characteristics using spectre (commandline)

Status
Not open for further replies.

pierre13

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 would like to extract the wavefom characteristics using spectre simulator (commandline). I don't find the info using straight spectre simulator, so I switch to spice simulator using :

"simulator lang=spice
.EXTRACT TRAN LABEL=timing_info_result YVAL(A, 15n)"

Actually, I would like to size the PMOS versus the NMOS in an inverter architecture. So, I will extract some timing info (rising/falling times...). Here, the extract is a test.

However, I have the issue :

Warning from spectre during circuit read-in.
WARNING (SFE-1805): "input_sizing_MOS_inverter.scs" 51: .EXTRACT is not
recognised as a valid SPICE control card.

commandline : spectre input_sizing_MOS_inverter.scs &


input_sizing_MOS_inverter.scs :

subckt inv A1 YN vdd vnw vpw vss
parameters ...
M0 (YN A1 vdd vnw) PMOS_VTG ... \
...
M1 (YN A1 vss vpw) NMOS_VTG ... \
...
ends inv
// End of subcircuit definition.

I0 (A net2 vdd vdd vss vss) inv _par0=...
C0 (net2 vss) capacitor c=100f
include "./_graphical_stimuli.scs"
simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=70.0 \
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 tran stop=300n write="spectre.ic" writefinal="spectre.fc" \
annotate=status maxiters=5

finalTimeOP info what=oppoint where=rawfile
dcOp dc write="spectre.dc" maxiters=150 maxsteps=10000 annotate=status
dcOpInfo 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 I0.M0:d I0.M1:d
saveOptions options save=allpub

simulator lang=spice

.EXTRACT TRAN LABEL=timing_info_result YVAL(A, 15n)



Thanks to help me.

P.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…