tony0099757
Newbie
I'm trying to stimulate a pierce oscillator, but the program can't output the .pn file.
By the way, this is the code:
By the way, this is the code:
Code:
.protect
.lib'cic018.l'tt
.unprotect
.option post
.op
vdd vdd 0 pwl 0 0 1u 1.8 100u 1.8
*4.19MHz
.subckt cryosc1 a d
rs a b 30
cs b c 0.036p
ls c d 40m
c0 a d 8p
.ic v(d)=1.8
.ends
x1 n1 n3 cryosc1
c1 n1 0 27p
c2 n3 0 27p
rf n1 n2 10meg
rs n2 n3 390
MN1 n2 n1 0 0 n_18 L=1u W=2u m=1
MP2 n2 n1 vdd vdd p_18 L=1u W=4u m=1
.HBOSC tone=900meg nharms=9 probenode=n1 n2 1.8
.PHASENOISE v(n2) dec 100 10 10k
.print phasenoise phnoise(n2)
.end
Last edited by a moderator: