The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> RF Simulators >> Switched Capacitor, pss and pac https://designers-guide.org/forum/YaBB.pl?num=1267696255 Message started by computaholic on Mar 4th, 2010, 1:50am |
Title: Switched Capacitor, pss and pac Post by computaholic on Mar 4th, 2010, 1:50am Hello everyone, I am trying to simulate the frequency response of a very simple sc circiut. But i guess i am not able to generate any useful results, as a matter of fact, i (almost) dont have any idea how to do that. I have read a lot and i know it is somehow possible with pss and pac. But i just cant get these simulations up running. Maybe theres someone who can help me. Here some facts about my workspace: Tool: Cadence Virtuoso ADE L using Spectre The attached file includes all screenshots i took. "sc_sch" shows the circiut. Its supposed to be a low pass using sc. As the input source I chose "vsource" with "type dc" and "pacmag 1V". Nothing else is set. PHI and PHIbar are "vsource" with "type pulse". The options taken can be seen in the screenshots. Well, after doing everything as seen on the screenshots, I run pss and pac but all i get is an empty graph titeling "AC Response", but there's nothing to see. Can Anybody help me with this? computaholic |
Title: Re: Switched Capacitor, pss and pac Post by pancho_hideboo on Mar 4th, 2010, 2:06am Your circuit is a simple parallel SC same as attached figure. Show me your netlist. computaholic wrote on Mar 4th, 2010, 1:50am:
|
Title: Re: Switched Capacitor, pss and pac Post by pancho_hideboo on Mar 4th, 2010, 2:21am Netlist for "Tran_Impulse" Quote:
Attached figure is "Time Domain Waveforms" for Transient Analysis. |
Title: Re: Switched Capacitor, pss and pac Post by pancho_hideboo on Mar 4th, 2010, 2:22am Netlist for "PSS_PAC" Quote:
Attached figure is "Frequency Responses". |
Title: Re: Switched Capacitor, pss and pac Post by computaholic on Mar 4th, 2010, 3:05am Ok, here is my netlist: [quote]// Generated for: spectre // Generated on: Mar 4 10:39:24 2010 // Design library name: neuro_opamp_lib // Design cell name: sc_lowpass_tb_01 // Design view name: schematic simulator lang=spectre global 0 parameters Ibias=-1u rcut=1M ccut=1p Vdd=3.3 Csc=25f Clp=20p frq=640k \ PulseCut=10n inputfrq=100 include "/usr/prog/lfoundry/LF150/V1.2.0/PDK_LF150C_V1_2_0/models/spectre/LF150_Spectre.scs" section=MOS_tt include "/usr/prog/lfoundry/LF150/V1.2.0/PDK_LF150C_V1_2_0/models/spectre/LF150_Spectre.scs" section=act_t include "/usr/prog/lfoundry/LF150/V1.2.0/PDK_LF150C_V1_2_0/models/spectre/LF150_Spectre.scs" section=pas_t include "/usr/prog/lfoundry/LF150/V1.2.0/PDK_LF150C_V1_2_0/models/spectre/LF150_Spectre.scs" section=fix // Library name: neuro_opamp_lib // Cell name: sc_lowpass_tb_01 // View name: schematic C_Csc (net046 0) capacitor c=Csc C_Clp (pVout 0) capacitor c=Clp M0 (net046 lPHI lVin lVin) nmos_3 w=7.5u l=400.0n as=(3.375e-12)/(1) \ ad=(3.375e-12)/(1) ps=(15.9u)/(1) pd=(15.9u)/(1) m=(1)*(1) M1 (pVout lPHI_BAR net046 net046) nmos_3 w=7.5u l=400.0n \ as=(3.375e-12)/(1) ad=(3.375e-12)/(1) ps=(15.9u)/(1) \ pd=(15.9u)/(1) m=(1)*(1) M2 (net046 lPHI_BAR lVin lVin) pmos_3 w=18u l=400.0n as=(8.1e-12)/(1) \ ad=(8.1e-12)/(1) ps=(36.9u)/(1) pd=(36.9u)/(1) m=(1)*(1) M3 (pVout lPHI net046 net046) pmos_3 w=18u l=400.0n as=(8.1e-12)/(1) \ ad=(8.1e-12)/(1) ps=(36.9u)/(1) pd=(36.9u)/(1) m=(1)*(1) V3 (lVin 0) vsource dc=Vdd/2 type=dc pacmag=1 phase=1 PHI_BAR (lPHI_BAR 0) vsource type=pulse delay=(1/(2*frq)) val0=0 val1=3.3 \ period=1/frq rise=2n fall=2n width=(1/(2*frq)) - PulseCut PHI (lPHI 0) vsource type=pulse val0=0 val1=3.3 period=1/frq rise=2n \ fall=2n width=(1/(2*frq)) - PulseCut simulatorOptions options reltol=1e-3 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 sensfile="../psf/sens.output" \ checklimitdest=psf pss pss fund=640K harms=0 errpreset=liberal tstab=1.5m + saveinit=yes maxacfreq=50M tstabenvlp=no pac pac start=1 stop=50M dec=1 maxsideband=1 annotate=status 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 lVin pVout saveOptions options save=allpub [/quote] If Im displaying AC instead of PAC, how can I display PAC? The AC Response window just pops up automatically. |
Title: Re: Switched Capacitor, pss and pac Post by pancho_hideboo on Mar 4th, 2010, 3:08am computaholic wrote on Mar 4th, 2010, 3:05am:
Use "Direct Plot Form" in Cadence ADE. |
Title: Re: Switched Capacitor, pss and pac Post by computaholic on Mar 4th, 2010, 3:58am All Right! The Direct Plot Main Form did the work. I guess there were actually no mistakes, but i had trouble plotting it. Another questions has come up: What does the sidebands option do? |
Title: Re: Switched Capacitor, pss and pac Post by pancho_hideboo on Mar 4th, 2010, 4:15am computaholic wrote on Mar 4th, 2010, 3:58am:
Then read its messages. For your case, sideband which you should look is zero. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |