Dec 16, 2020 #1 T tony0099757 Newbie Joined Dec 16, 2020 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 13 I'm trying to stimulate a pierce oscillator, but the program can't output the .pn file. 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: Dec 16, 2020
I'm trying to stimulate a pierce oscillator, but the program can't output the .pn file. 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
Dec 16, 2020 #2 S silkworm_ca Newbie Joined Dec 16, 2020 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 8 are there any error messages that you see? Can you share the log file ?
Dec 17, 2020 #3 T tony0099757 Newbie Joined Dec 16, 2020 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 13 silkworm_ca said: are there any error messages that you see? Can you share the log file ? Click to expand... It may be the harmonic balance ,I guess Attachments pierce.zip 3.4 KB · Views: 83 Last edited: Dec 17, 2020
silkworm_ca said: are there any error messages that you see? Can you share the log file ? Click to expand... It may be the harmonic balance ,I guess