simulator lang=spectre global 0 include "/usr/local/cadence/tools.lnx86/dfII/samples/artist/ahdlLib/quantity.spectre" parameters vsup=1.0 Ts=1.5625u N=8192 // Library name: CD_AMPLIFIER // Cell name: openloop_pwm // View name: schematic V2 (vtri gnda) vsource type=pulse val0=0.0 val1=vsup period=Ts delay=0 \ rise=Ts/2.0 fall=Ts/2.0 width=0 V4 (vinp gnda) vsource type=sine sinedc=vsup/2.0 ampl=vsup*0.8/2 \ freq=8/(Ts*N) V0 (gnda 0) vsource dc=0 type=dc E2 (lc31 gnda net10 gnda) svcvs gain=1.0 numer=[ 1.5791367041742971e+10 0 \ 0 ] denom=[ 1.5791367041742971e+10 1.7771531752633463e+05 \ 0000000000000001 ] E0 (net10 gnda vinp vtri) vcvs gain=10000 min=0 max=vsup simulatorOptions options reltol=1e-4 vabstol=1e-6 iabstol=1e-12 temp=27 \ tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \ digits=5 cols=80 pivrel=1e-3 ckptclock=1800 \ sensfile="../psf/sens.output" checklimitdest=psf tran tran stop=13.3m errpreset=conservative maxstep=Ts/256.0 \ write="spectre.ic" writefinal="spectre.fc" annotate=status \ strobeperiod=Ts/16.0 strobedelay=2n 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 saveOptions options save=allpub