pancho_hideboo
Advanced Member level 5
- Joined
- Oct 21, 2006
- Messages
- 2,847
- Helped
- 767
- Reputation
- 1,536
- Reaction score
- 733
- Trophy points
- 1,393
- Location
- Real Homeless
- Activity points
- 17,490
Try following netlist
Plot vdb(out_p) and vdb(out_n) of "input.snf0".
Plot v(out_p):0 and v(out_n):0 of "input.snf0" with choosing real() in Custom WaveView.
Plot vr(out_p):0 and vr(out_n):0 of "input.snf0".
Code:
.option PARHIER = LOCAL
.option POST
.temp 25
.GLOBAL gnd! vdd!
.param fund_period=2n
.param delta_phase_deg=0.0
.param tdelay='(delta_phase_deg/360)*fund_period'
v5 vdd! gnd! dc=1.8
v17 start gnd! dc=0 pulse ( 0 1.8 500p 1p 0 0.5 1)
v16 out_clk gnd! dc=0 pulse(0 1.8 '1.1*fund_period+tdelay'
+ 5p 5p 'fund_period/2' fund_period)
v2 ref_clk gnd! dc=0 pulse(0 1.8 '1.1*fund_period'
+ 5p 5p 'fund_period/2' fund_period)
xi12 vdd! down up out_clk ref_clk start pfdv2_sch
xi17 down up vctrl+ vctrl- cpv2_sch
vdummy_n vctrl- vctrl_n dc=0
c18 vctrl_n gnd! c=.8p
h_n out_n gnd! ccvs vdummy_n 1
vdummy_p vctrl+ vctrl_p dc=0
c7 vctrl_p gnd! c=.8p
h_p out_p gnd! ccvs vdummy_p 1
*.tran .1n 75n start=0
.sn tres='fund_period/10' period=fund_period
+ trinit='5*fund_period' maxtrinitcycles=5
+ sweep delta_phase_deg lin 101 -360 360
.op All 0
.option opfile=1 split_dp=1
.probe v(out_p) v(out_n)
.probe sn v(out_p) v(out_n)
.probe snfd v(out_p) v(out_n)
.probe snfd vdb(out_p) vdb(out_n)
.probe snfd v(out_p)[0] v(out_n)[0]
.probe snfd vr(out_p)[0] vr(out_n)[0]
.end
Plot v(out_p):0 and v(out_n):0 of "input.snf0" with choosing real() in Custom WaveView.
Plot vr(out_p):0 and vr(out_n):0 of "input.snf0".