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.