Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

S-parameter vs. Transient simulation in ADS

Status
Not open for further replies.

ktx2222

Member level 5
Member level 5
Joined
Jan 8, 2014
Messages
81
Helped
2
Reputation
4
Reaction score
2
Trophy points
8
Activity points
613
Hi all,

I have designed a circuit in ADS. If I use S-paramter simulation, output signal will be delayed to input. If I simulate in Transient, output phase will lead to input. My design works at 1.5GHz. What should I trust? Please explain to me. Thank you.
 

Last edited:
Do you include s-parameter box or distributed components in your schematic ?
If so, you have to pay attention to "causality" in transient analysis.
https://www.edaboard.com/threads/202948/

Hi pancho_hideboo,
Thank for your advice.
In fact, my circuit does not have S-parameter box or distributed components. I have learned about "causality" at the given link.
 
Last edited:

Can you upload graphs of your S parameter simulation?
Are you confused between S11 & S22 ?
Both will be different.
 

Do you include s-parameter box or distributed components in your schematic ?
If so, you have to pay attention to "causality" in transient analysis.
https://www.edaboard.com/threads/202948/

Hi pancho_hideboo,
I read the discussion in the link you gave but I am afraid that I could not understand what is the "causality" circuit. I think all circuits which composed from real device models are "causality". Can you explain more about this. Any example circuits?

Can you upload graphs of your S parameter simulation?
Are you confused between S11 & S22 ?
Both will be different.

Hi Abhishekabs, I included the photos of S-parameter simulation result of phase delay S21 and Transient simulation result which shows the waveform output a little bit leads phase to input.
phase delay.jpgwaveform.jpg
 

Hi pancho_hideboo,
I read the discussion in the link you gave but I am afraid that I could not understand what is the "causality" circuit. I think all circuits which composed from real device models are "causality". Can you explain more about this. Any example circuits?
https://www.designers-guide.org/Forum/YaBB.pl?num=1231076499/8#8

Show me schematic or netlist of testbench.
What load do you use ?
What signal source do you use as drive signal ?

And Vout/Vin is not equal to S21 generally.
https://www.designers-guide.org/Forum/YaBB.pl?num=1266168115/1#1
Confirm mag(Vout/Vin) and phase(Vout/Vin) by AC analysis.
 
Last edited:

https://www.designers-guide.org/Forum/YaBB.pl?num=1231076499/8#8

Show me schematic or netlist of testbench.
What load do you use ?
What signal source do you use as drive signal ?

And Vout/Vin is not equal to S21 generally.
https://www.designers-guide.org/Forum/YaBB.pl?num=1266168115/1#1
Confirm mag(Vout/Vin) and phase(Vout/Vin) by AC analysis.

I will send the netlist to your message box.
I use 50 ohm for the load in simulation.
In transient simulation, I use Vtsine (sine wave signal source in time-domain)

By AC analysis, the mag(Vout/Vin) and phase(Vout/Vin) are almost matched with S-parameters analysis.
 

https://www.designers-guide.org/Forum/YaBB.pl?num=1231076499/8#8

Show me schematic or netlist of testbench.
What load do you use ?
What signal source do you use as drive signal ?
Hi pancho_hideboo,

Here is the S-parameter analysis netlist:
Code:
*

.subckt 00_tl14 P1 P2
*C1 _net8778 _net8777 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C10 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C11 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C12 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C13 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C14 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C15 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C16 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C17 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C18 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C19 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C2 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C20 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C21 _net8831 _net8796 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C3 _net8778 _net8777 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C39 0 P2 _net8641 model=mim c=201.15fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C40 0 _net8831 _net8641 model=mim c=119.263fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C41 0 P1 _net8637 model=mim c=78.73fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C42 0 _net8889 _net8637 model=mim c=201.15fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C5 _net8777 _net8778 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C6 _net8777 _net8778 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C7 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C8 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C9 _net8889 _net8814 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*I2 _net8831 P2 _net8606 model=symind nlev=4 x=160um w=10um n=3 s=5um wu=19.14um grnd=-1 dtemp=0
*I3 P1 _net8889 _net8630 model=symind nlev=4 x=160um w=10um n=3 s=5um wu=19.14um grnd=-1 dtemp=0
*RK1 _net8737 _net8737 _net8740 model=k1res w=5um s=1 pbar=1 par=1 m=1 sh=Yes rsx=50 dtemp=0 l=5um r=64.85
*RK2 _net8767 _net8767 _net8758 model=k1res w=5um s=1 pbar=1 par=1 m=1 sh=Yes rsx=50 dtemp=0 l=5um r=64.85
*RN1 _net8741 _net8767 _net8758 model=opndres w=10um l=11.31um r=84.03 s=1 pbar=1 par=1 m=1 rsx=50 dtemp=0
*RN2 _net8765 _net8737 _net8740 model=opndres w=10um l=39.11um r=284.19 s=1 pbar=1 par=1 m=1 rsx=50 dtemp=0
*RNPC1 _net8737 _net8737 _net8740 model=oprppres w=10um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 bp=3 l=16.99um r=284.19
*RNPC2 _net8767 _net8767 _net8758 model=oprppres w=10um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 bp=3 l=16.99um r=284.19
*RNPC5 _net8763 0 _net8764 model=oprrpres bp=3 w=3um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 sh=1 l=12um r=6060.2
*RNPC6 _net8759 0 _net8762 model=oprrpres bp=3 w=3um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 sh=1 l=12um r=6060.2
VSRC1 VDD 0 '3*1tune{1.5*1to4.5by0.01}'
VSRC2 _net8765 0 '2.15*1tune{1*1to3.5by0.01}'
VSRC3 _net8767 0 '0.8*1tune{0.425*1to1by0.01}'
*TN1 _net8778 _net8777 _net8814 _net8763 model=nfet w=10um l=0.18um nf=50 m=1 par=1 gcon=2 nrd=0.0262 nrs=0.0262 ad='2.58e-12' as='2.65e-12' pd=10.46um ps=10.87um rsx=50 dtemp=0 rf=1 stis=2
*TN2 _net8777 _net8778 _net8796 _net8759 model=nfet w=10um l=0.18um nf=50 m=1 par=1 gcon=2 nrd=0.0262 nrs=0.0262 ad='2.58e-12' as='2.65e-12' pd=10.46um ps=10.87um rsx=50 dtemp=0 rf=1 stis=2
*TN3 _net8737 _net8737 0 _net8764 model=nfet w=2.5um w=0.5um nf=4 m=1 par=1 rsx=50 nrd=0.1066 nrs=0.1066 ad='6.3e-13' as='8.4e-13' pd=2.96um ps=4.35um stis=2 dtemp=0 rf=0 gcon=1
*TN4 _net8814 _net8737 0 _net8762 model=nfet w=2.5um w=0.5um nf=20 m=1 par=1 rsx=50 nrd=0.1066 nrs=0.1066 ad='6.3e-13' as='6.8e-13' pd=2.96um ps=3.24um stis=2 dtemp=0 rf=0 gcon=1
*TN5 _net8796 _net8737 0 _net8762 model=nfet w=2.5um w=0.5um nf=20 m=1 par=1 rsx=50 nrd=0.1066 nrs=0.1066 ad='6.3e-13' as='6.8e-13' pd=2.96um ps=3.24um stis=2 dtemp=0 rf=0 gcon=1
*TP1 _net8778 _net8741 VDD VDD model=pfet w=5um l=0.5um nf=20 as='1.37e-12' ad='1.28e-12' ps=5.99um pd=5.46um nrd=0.0526 nrs=0.0526 gcon=1 rsx=50 dtemp=0 rf=0 m=1 par=1
*TP2 _net8777 _net8741 VDD VDD model=pfet w=5um l=0.5um nf=20 as='1.37e-12' ad='1.28e-12' ps=5.99um pd=5.46um nrd=0.0526 nrs=0.0526 gcon=1 rsx=50 dtemp=0 rf=0 m=1 par=1
*TP3 _net8741 _net8741 VDD VDD model=pfet w=5um l=0.5um nf=4 as='1.7e-12' ad='1.28e-12' ps=8.1um pd=5.46um nrd=0.0526 nrs=0.0526 gcon=1 rsx=50 dtemp=0 rf=0 m=1 par=1
RTerm1 P1 0 50
RTerm2 P2 0 50
*X1 0 _net8758 model=subc l=0.8um w=0.8um dtemp=0
*X10 0 _net8764 model=subc l=10um w=10um dtemp=0
*X11 0 _net8762 model=subc l=10um w=10um dtemp=0
*X15 0 _net8740 model=subc l=10um w=10um dtemp=0
*X18 0 _net8641 model=subc l=10um w=10um dtemp=0
*X21 0 _net8637 model=subc l=10um w=10um dtemp=0
.ends 00_tl14


.end

And below is Transient analysis

Code:
*

.subckt 00_tl14_transient P1 P2
*C1 _net11742 _net11743 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C10 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C11 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C12 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C13 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C14 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C15 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C16 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C17 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C18 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C19 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C2 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C20 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C21 _net12060 _net12061 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C3 _net11742 _net11743 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C39 0 P2 _net11230 model=mim c=201.15fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C40 0 _net12060 _net11230 model=mim c=119.263fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C41 0 P1 _net11239 model=mim c=78.73fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C42 0 _net12042 _net11239 model=mim c=201.15fF l=5um w=10um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C5 _net11743 _net11742 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C6 _net11743 _net11742 VDD model=mim c=339.401fF l=12um w=14um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C7 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C8 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*C9 _net12042 _net12043 VDD model=mim c=906.124fF l=56um w=22um m=1 par=1 lm=0 nlev=6 hd=0 est=1 rsx='-1' setind='-2' dtemp=0
*I2 _net12060 P2 _net11225 model=symind nlev=4 x=160um w=10um n=3 s=5um wu=19.14um grnd=-1 dtemp=0
*I3 P1 _net12042 _net11234 model=symind nlev=4 x=160um w=10um n=3 s=5um wu=19.14um grnd=-1 dtemp=0
RR1 Vs P1 50
RR2 P2 0 50
*RK1 _net11737 _net11737 _net11145 model=k1res w=5um s=1 pbar=1 par=1 m=1 sh=Yes rsx=50 dtemp=0 l=5um r=64.85
*RK2 _net11195 _net11195 _net11196 model=k1res w=5um s=1 pbar=1 par=1 m=1 sh=Yes rsx=50 dtemp=0 l=5um r=64.85
*RN1 _net11744 _net11195 _net11196 model=opndres w=10um l=11.31um r=84.03 s=1 pbar=1 par=1 m=1 rsx=50 dtemp=0
*RN2 _net11167 _net11737 _net11145 model=opndres w=10um l=39.11um r=284.19 s=1 pbar=1 par=1 m=1 rsx=50 dtemp=0
*RNPC1 _net11737 _net11737 _net11145 model=oprppres w=10um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 bp=3 l=16.99um r=284.19
*RNPC2 _net11195 _net11195 _net11196 model=oprppres w=10um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 bp=3 l=16.99um r=284.19
*RNPC5 _net11740 0 _net11735 model=oprrpres bp=3 w=3um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 sh=1 l=12um r=6060.2
*RNPC6 _net11741 0 _net11736 model=oprrpres bp=3 w=3um s=1 pbar=1 m=1 par=1 rsx='-1' dtemp=0 sh=1 l=12um r=6060.2
VSRC1 VDD 0 '3*1tune{1.5*1to4.5by0.01}'
VSRC2 _net11167 0 '2.15*1tune{1*1to3.5by0.01}'
VSRC3 _net11195 0 '0.8*1tune{0.425*1to1by0.01}'
*TN1 _net11742 _net11743 _net12043 _net11740 model=nfet w=10um l=0.18um nf=50 m=1 par=1 gcon=2 nrd=0.0262 nrs=0.0262 ad='2.58e-12' as='2.65e-12' pd=10.46um ps=10.87um rsx=50 dtemp=0 rf=1 stis=2
*TN2 _net11743 _net11742 _net12061 _net11741 model=nfet w=10um l=0.18um nf=50 m=1 par=1 gcon=2 nrd=0.0262 nrs=0.0262 ad='2.58e-12' as='2.65e-12' pd=10.46um ps=10.87um rsx=50 dtemp=0 rf=1 stis=2
*TN3 _net11737 _net11737 0 _net11735 model=nfet w=2.5um w=0.5um nf=4 m=1 par=1 rsx=50 nrd=0.1066 nrs=0.1066 ad='6.3e-13' as='8.4e-13' pd=2.96um ps=4.35um stis=2 dtemp=0 rf=0 gcon=1
*TN4 _net12043 _net11737 0 _net11736 model=nfet w=2.5um w=0.5um nf=20 m=1 par=1 rsx=50 nrd=0.1066 nrs=0.1066 ad='6.3e-13' as='6.8e-13' pd=2.96um ps=3.24um stis=2 dtemp=0 rf=0 gcon=1
*TN5 _net12061 _net11737 0 _net11736 model=nfet w=2.5um w=0.5um nf=20 m=1 par=1 rsx=50 nrd=0.1066 nrs=0.1066 ad='6.3e-13' as='6.8e-13' pd=2.96um ps=3.24um stis=2 dtemp=0 rf=0 gcon=1
*TP1 _net11742 _net11744 VDD VDD model=pfet w=5um l=0.5um nf=20 as='1.37e-12' ad='1.28e-12' ps=5.99um pd=5.46um nrd=0.0526 nrs=0.0526 gcon=1 rsx=50 dtemp=0 rf=0 m=1 par=1
*TP2 _net11743 _net11744 VDD VDD model=pfet w=5um l=0.5um nf=20 as='1.37e-12' ad='1.28e-12' ps=5.99um pd=5.46um nrd=0.0526 nrs=0.0526 gcon=1 rsx=50 dtemp=0 rf=0 m=1 par=1
*TP3 _net11744 _net11744 VDD VDD model=pfet w=5um l=0.5um nf=4 as='1.7e-12' ad='1.28e-12' ps=8.1um pd=5.46um nrd=0.0526 nrs=0.0526 gcon=1 rsx=50 dtemp=0 rf=0 m=1 par=1
*X1 0 _net11196 model=subc l=0.8um w=0.8um dtemp=0
*X10 0 _net11735 model=subc l=10um w=10um dtemp=0
*X11 0 _net11736 model=subc l=10um w=10um dtemp=0
*X15 0 _net11145 model=subc l=10um w=10um dtemp=0
*X18 0 _net11230 model=subc l=10um w=10um dtemp=0
*X21 0 _net11239 model=subc l=10um w=10um dtemp=0
.ends 00_tl14_transient


.end
 

It seems that you don't use same schematic for SP, AC and Tran Analysis.
If you use "P_1Tone" as drive signal, you can do SP, AC and Tran Analysis with one schematic.
Rather you have to use P_1Tone" as drive signal in Tran Analysis, if you want to compare results of Tran Analysis with SP Analysis.
**broken link removed**

Here is the S-parameter analysis netlist:
....
And below is Transient analysis
This is SPICE Format Netlist which don't include any simulation control statements such as analysis statement and option statement, etc.
Why do you show SPICE Format Netlist ?
I need ADS Format Netlist.

Show me ADS Format Netlist.

ADSsim's netlist exists as "netlist.log" in project directory.
Basically there are three methods to get netlist in Agilent ADS.
Here I excluded method in RFDE.

(1) Run ADSsim simulation

(2) Use Dynamic Link Menu ; DynamicLink > Top-level Design Netlist
https://edadocs.software.keysight.com/display/ads2009/Netlisting,+Simulating,+and+Displaying+Data

(3) Use AEL from AEL command console window which is similar to Cadence's CIW
Open a command line dialog (use Tools->Command Line... menu),
and enter "de_netlist();" at the "Command>>" prompt.

If you use (2) or (3), you can generate netlist without running simulation.
 
Last edited:
It seems that you don't use same schematic for SP, AC and Tran Analysis.
If you use "P_1Tone" as drive signal, you can do SP, AC and Tran Analysis with one schematic.
Rather you have to use P_1Tone" as drive signal in Tran Analysis, if you want to compare results of Tran Analysis with SP Analysis.
**broken link removed**

Hi pancho_hideboo,

Thank you for your instruction. I didn't know that I can use "P_1Tone" as drive signal in Transient simulation. I used a VtSine in series with an ideal 50 Ohm resistor. I have changed to use P_1Tone source and the result is reasonable: Vout is delayed to Vin, although the phase delay are not good.

Spara.jpg Transient.jpg

Here are the ADS netlist:

Code:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="link_XXX"
Tran:Tran1 StartTime=0.0 nsec StopTime=200.0 nsec MaxTimeStep=0.002 nsec LimitStepForTL=yes TimeStepControl=2 TruncTol=7.0 ChargeTol=1.0e-14 IntegMethod=0 MaxGearOrder=2 \
Mu=0.5 MaxOrder=4 Freq[1]=1.0 GHz Order[1]=3 HB_Window=no \
HB_Sol=no ImpApprox=no ShortTL_Delay=1.0 psec ImpMode=1 UseInitCond=no \
LoadGminDC=no CheckKCL=yes CheckOnlyDeltaV=yes OverloadAlert=no DeviceBypass=no \
MaxIters=10 MaxItersDC=200 DevOpPtLevel=0 StatusLevel=2 OutputAllPoints=yes \
NoiseScale=1 ImpEnforcePassivity=yes \
OutputPlan="Tran1_Output" 

OutputPlan:Tran1_Output \
      Type="Output" \
      UseNodeNestLevel=yes \
      NodeNestLevel=2 \
      UseEquationNestLevel=yes \
      EquationNestLevel=2 \
      UseSavedEquationNestLevel=yes \
      SavedEquationNestLevel=2 \
      UseDeviceCurrentNestLevel=no \
      DeviceCurrentNestLevel=0 \
      DeviceCurrentDeviceType="All" \
      DeviceCurrentSymSyntax=yes \
      UseCurrentNestLevel=yes \
      CurrentNestLevel=999

Options:Options1  Temp=25 Tnom=25 TopologyCheck=yes ForceS_Params=yes GiveAllWarnings=yes MaxWarnings=10 ForceM_Params=yes InitialGuessAnnotation=0 TopologyCheckMessages=no  
"symind":I3  VIN _net2300 _net2301 _net2303 x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"symind":I2  _net2294 VOUT _net2296 _net2298 x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"subc":X10  0 sub l=30 um w=30 um dtemp=0 
"mim":C6  _net2290 _net2291 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C5  _net2290 _net2291 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C3  _net2291 _net2290 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C1  _net2291 _net2290 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C11  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C12  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C13  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C10  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C9  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C8  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C7  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C2  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C14  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C15  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C16  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C17  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C18  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C19  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C20  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C21  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C39  0 VOUT sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=201.15 fF 
"mim":C40  0 _net2294 sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=119.263 fF 
"opndres":RN1  _net2239 _net2237 sub r=84.03 Ohm w=10 um l=11.31 um s=1 pbar=1 m=1 par=1 _M=1 rsx=50 Ohm dtemp=0 
"oprrpres":RNPC6  _net2235 0 sub bp=3 r=6060.2 Ohm w=3 um l=12 um s=1 pbar=1 m=1 par=1 _M=1 rsx=-1 Ohm dtemp=0 sh=1 
"oprrpres":RNPC5  _net2234 0 sub bp=3 r=6060.2 Ohm w=3 um l=12 um s=1 pbar=1 m=1 par=1 _M=1 rsx=-1 Ohm dtemp=0 sh=1 
"opndres":RN2  _net2232 _net2233 sub r=284.19 Ohm w=10 um l=39.11 um s=1 pbar=1 m=1 par=1 _M=1 rsx=50 Ohm dtemp=0 
"nfet":TN5  _net2264 _net2233 0 sub w=2.5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=6.8e-013 pd=2.96 um ps=3.24 um dtemp=0 stis=2 rf=0 
"nfet":TN4  _net2283 _net2233 0 sub w=2.5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=6.8e-013 pd=2.96 um ps=3.24 um dtemp=0 stis=2 rf=0 
"nfet":TN3  _net2233 _net2233 0 sub w=2.5 um l=0.5 um nf=4 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=8.4e-013 pd=2.96 um ps=4.35 um dtemp=0 stis=2 rf=0 
"mim":C42  0 _net2300 sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=201.15 fF 
"mim":C41  0 VIN sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=78.73 fF 
V_Source:SRC2  _net2232 0 Type="V_DC" Vdc=2.15 V SaveCurrent=1 
V_Source:SRC3  _net2237 0 Type="V_DC" Vdc=0.8 V SaveCurrent=1 
"pfet":TP3  _net2239 _net2239 VDD VDD w=5 um l=0.5 um nf=4 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.7e-012 pd=5.46 um ps=8.1 um dtemp=0 rf=0 
"pfet":TP1  _net2291 _net2239 VDD VDD w=5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.37e-012 pd=5.46 um ps=5.99 um dtemp=0 rf=0 
"pfet":TP2  _net2290 _net2239 VDD VDD w=5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.37e-012 pd=5.46 um ps=5.99 um dtemp=0 rf=0 
"nfet":TN1  _net2291 _net2290 _net2283 _net2234 w=10 um l=0.18 um nf=50 m=1 par=1 _M=1 nlev=4 gcon=2 nrd=0.0262 nrs=0.0262 ad=2.58e-012 as=2.65e-012 pd=10.46 um ps=10.87 um rsx=50 Ohm dtemp=0 rf=1 stis=2 lm=1 
"nfet":TN2  _net2290 _net2291 _net2264 _net2235 w=10 um l=0.18 um nf=50 m=1 par=1 _M=1 nlev=4 gcon=2 nrd=0.0262 nrs=0.0262 ad=2.58e-012 as=2.65e-012 pd=10.46 um ps=10.87 um rsx=50 Ohm dtemp=0 rf=1 stis=2 lm=1 
V_Source:SRC1  VDD 0 Type="V_DC" Vdc=3 V SaveCurrent=1 
Port:PORT1  VIN 0 Num=1 Z=50 Ohm P[1]=polar(dbmtow(-30),0) Freq[1]=1.5 GHz    Noise=yes Pac=polar(dbmtow(0),0) 
Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes 
#include "link_XXX"
#include "link_XXX"
phires=0
cor_nfet = 0
cor_noin = 0
cor_noip = 0
cor_pfet = 0
cor_res = 0
cor_cap = 0
cor_ind = 0
cor_tox = 0
cor_pc = 0
cor_rx = 0
cor_toxdg = 0
cor_toxtg = 0
cor_nmos = 0
cor_pmos = 0
cor_jfet = 0
gbv = 2
gsti = 1
waferthk = 737.0
p5vonly = 0
gsh = 2
gii = 2
esd_event = 0
esd_exit = 1
esd_extr = 1
fwdlim = 0
simulator lang=spectre
include "link_XXX"
include "link_XXX" section=tt
simulator lang=ads

Code:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="link_XXX"
Tran:Tran1 StartTime=0.0 nsec StopTime=200.0 nsec MaxTimeStep=0.002 nsec LimitStepForTL=yes TimeStepControl=2 TruncTol=7.0 ChargeTol=1.0e-14 IntegMethod=0 MaxGearOrder=2 \
Mu=0.5 MaxOrder=4 Freq[1]=1.0 GHz Order[1]=3 HB_Window=no \
HB_Sol=no ImpApprox=no ShortTL_Delay=1.0 psec ImpMode=1 UseInitCond=no \
LoadGminDC=no CheckKCL=yes CheckOnlyDeltaV=yes OverloadAlert=no DeviceBypass=no \
MaxIters=10 MaxItersDC=200 DevOpPtLevel=0 StatusLevel=2 OutputAllPoints=yes \
NoiseScale=1 ImpEnforcePassivity=yes \
OutputPlan="Tran1_Output" 

OutputPlan:Tran1_Output \
      Type="Output" \
      UseNodeNestLevel=yes \
      NodeNestLevel=2 \
      UseEquationNestLevel=yes \
      EquationNestLevel=2 \
      UseSavedEquationNestLevel=yes \
      SavedEquationNestLevel=2 \
      UseDeviceCurrentNestLevel=no \
      DeviceCurrentNestLevel=0 \
      DeviceCurrentDeviceType="All" \
      DeviceCurrentSymSyntax=yes \
      UseCurrentNestLevel=yes \
      CurrentNestLevel=999

Options:Options1  Temp=25 Tnom=25 TopologyCheck=yes ForceS_Params=yes GiveAllWarnings=yes MaxWarnings=10 ForceM_Params=yes InitialGuessAnnotation=0 TopologyCheckMessages=no  
"symind":I3  VIN _net2300 _net2301 _net2303 x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"symind":I2  _net2294 VOUT _net2296 _net2298 x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"subc":X10  0 sub l=30 um w=30 um dtemp=0 
"mim":C6  _net2290 _net2291 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C5  _net2290 _net2291 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C3  _net2291 _net2290 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C1  _net2291 _net2290 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C11  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C12  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C13  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C10  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C9  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C8  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C7  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C2  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C14  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C15  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C16  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C17  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C18  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C19  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C20  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C21  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C39  0 VOUT sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=201.15 fF 
"mim":C40  0 _net2294 sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=119.263 fF 
"opndres":RN1  _net2239 _net2237 sub r=84.03 Ohm w=10 um l=11.31 um s=1 pbar=1 m=1 par=1 _M=1 rsx=50 Ohm dtemp=0 
"oprrpres":RNPC6  _net2235 0 sub bp=3 r=6060.2 Ohm w=3 um l=12 um s=1 pbar=1 m=1 par=1 _M=1 rsx=-1 Ohm dtemp=0 sh=1 
"oprrpres":RNPC5  _net2234 0 sub bp=3 r=6060.2 Ohm w=3 um l=12 um s=1 pbar=1 m=1 par=1 _M=1 rsx=-1 Ohm dtemp=0 sh=1 
"opndres":RN2  _net2232 _net2233 sub r=284.19 Ohm w=10 um l=39.11 um s=1 pbar=1 m=1 par=1 _M=1 rsx=50 Ohm dtemp=0 
"nfet":TN5  _net2264 _net2233 0 sub w=2.5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=6.8e-013 pd=2.96 um ps=3.24 um dtemp=0 stis=2 rf=0 
"nfet":TN4  _net2283 _net2233 0 sub w=2.5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=6.8e-013 pd=2.96 um ps=3.24 um dtemp=0 stis=2 rf=0 
"nfet":TN3  _net2233 _net2233 0 sub w=2.5 um l=0.5 um nf=4 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=8.4e-013 pd=2.96 um ps=4.35 um dtemp=0 stis=2 rf=0 
"mim":C42  0 _net2300 sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=201.15 fF 
"mim":C41  0 VIN sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=78.73 fF 
V_Source:SRC2  _net2232 0 Type="V_DC" Vdc=2.15 V SaveCurrent=1 
V_Source:SRC3  _net2237 0 Type="V_DC" Vdc=0.8 V SaveCurrent=1 
"pfet":TP3  _net2239 _net2239 VDD VDD w=5 um l=0.5 um nf=4 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.7e-012 pd=5.46 um ps=8.1 um dtemp=0 rf=0 
"pfet":TP1  _net2291 _net2239 VDD VDD w=5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.37e-012 pd=5.46 um ps=5.99 um dtemp=0 rf=0 
"pfet":TP2  _net2290 _net2239 VDD VDD w=5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.37e-012 pd=5.46 um ps=5.99 um dtemp=0 rf=0 
"nfet":TN1  _net2291 _net2290 _net2283 _net2234 w=10 um l=0.18 um nf=50 m=1 par=1 _M=1 nlev=4 gcon=2 nrd=0.0262 nrs=0.0262 ad=2.58e-012 as=2.65e-012 pd=10.46 um ps=10.87 um rsx=50 Ohm dtemp=0 rf=1 stis=2 lm=1 
"nfet":TN2  _net2290 _net2291 _net2264 _net2235 w=10 um l=0.18 um nf=50 m=1 par=1 _M=1 nlev=4 gcon=2 nrd=0.0262 nrs=0.0262 ad=2.58e-012 as=2.65e-012 pd=10.46 um ps=10.87 um rsx=50 Ohm dtemp=0 rf=1 stis=2 lm=1 
V_Source:SRC1  VDD 0 Type="V_DC" Vdc=3 V SaveCurrent=1 
Port:PORT1  VIN 0 Num=1 Z=50 Ohm P[1]=polar(dbmtow(-30),0) Freq[1]=1.5 GHz    Noise=yes Pac=polar(dbmtow(0),0) 
Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes 
#include "link_XXX"
#include "link_XXX"
phires=0
cor_nfet = 0
cor_noin = 0
cor_noip = 0
cor_pfet = 0
cor_res = 0
cor_cap = 0
cor_ind = 0
cor_tox = 0
cor_pc = 0
cor_rx = 0
cor_toxdg = 0
cor_toxtg = 0
cor_nmos = 0
cor_pmos = 0
cor_jfet = 0
gbv = 2
gsti = 1
waferthk = 737.0
p5vonly = 0
gsh = 2
gii = 2
esd_event = 0
esd_exit = 1
esd_extr = 1
fwdlim = 0
simulator lang=spectre
include "link_XXX"
include "link_XXX" section=tt
simulator lang=ads
 

Here are the ADS netlist:
Code:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="link_XXX"
....
simulator lang=spectre
include "link_XXX"
include "link_XXX" section=tt
simulator lang=ads

Code:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="link_XXX"
....
simulator lang=spectre
include "link_XXX"
include "link_XXX" section=tt
simulator lang=ads
Why do you show completely same two netlist ?
You run only Transient Analysis.

You can run all of SP, AC, Tran, HB and LSSP Analysis just one time.
Why don't you run SP and Tran Analysis at one time ?

Code:
Port:PORT1  VIN 0 Num=1 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar(dbmtow(-30),0) \
Pac=polar(dbmtow(0),0)

Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes

I used a VtSine in series with an ideal 50 Ohm resistor.
If you use "VtSine" correctly, you can get same results with "P_1Tone".

Difference between "VtSine" and "P_1Tone" :
"VtSine" is Sine Wave.
"P_1Tone" is Cosine Wave

You had better set P[1]=polar(dbmtow(-30),-90), if you use
"P_1Tone" for Tran Analysis.

I have changed to use P_1Tone source and the result is reasonable: Vout is delayed to Vin,
Still you don't understand difference between S21 and VOUT/VIN.
Phase of denominator of S21 is not phase of VIN.

Add followings.
Code:
Port:PORT_ref  Vref 0 Num=3 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar(dbmtow(-30),[color=red]-90[/color]) \
Pac=polar(dbmtow(0),0)

R:Rref Vref 0 R=50 Ohm
You have to plot Vref and VOUT, if you compare Tran Analysis results with S21.
VIN is not reference for S21!!

although the phase delay are not good.
Your problem is not "Causality" issue.

Simply gain compression.

Run HB and Tran Analysis with sweeping pin_dBm.
Then plot Vref and VOUT.
Code:
Port:PORT1  VIN 0 Num=1 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar([color=red]dbmtow(pin_dBm),-90[/color]) \
Pac=polar(dbmtow(0),0)

Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes

Port:PORT_ref  Vref 0 Num=3 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar([color=red]dbmtow(pin_dBm),-90[/color]) \
Pac=polar(dbmtow(0),0)

R:Rref Vref 0 R=50 Ohm
 
Last edited:

Hi pancho_hideboo,

I am so sorry about my stupid, I did simulation again, here is the code:

Code:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="<simulation_directory>"
define my2port ( VIN  VOUT ) 
parameters   
"symind":I3  VIN _net2300 _net2301 _net2303 x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"symind":I2  _net2294 VOUT _net2296 _net2298 x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"subc":X10  0 sub l=30 um w=30 um dtemp=0 
"mim":C6  _net2290 _net2291 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C5  _net2290 _net2291 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C3  _net2291 _net2290 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C1  _net2291 _net2290 VDD bp=1 l=12 um w=14 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=339.401 fF 
"mim":C11  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C12  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C13  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C10  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C9  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C8  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C7  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C2  _net2300 _net2283 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C14  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C15  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C16  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C17  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C18  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C19  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C20  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C21  _net2294 _net2264 VDD bp=1 l=56 um w=22 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=906.124 fF 
"mim":C39  0 VOUT sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=201.15 fF 
"mim":C40  0 _net2294 sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=119.263 fF 
"opndres":RN1  _net2239 _net2237 sub r=84.03 Ohm w=10 um l=11.31 um s=1 pbar=1 m=1 par=1 _M=1 rsx=50 Ohm dtemp=0 
"oprrpres":RNPC6  _net2235 0 sub bp=3 r=6060.2 Ohm w=3 um l=12 um s=1 pbar=1 m=1 par=1 _M=1 rsx=-1 Ohm dtemp=0 sh=1 
"oprrpres":RNPC5  _net2234 0 sub bp=3 r=6060.2 Ohm w=3 um l=12 um s=1 pbar=1 m=1 par=1 _M=1 rsx=-1 Ohm dtemp=0 sh=1 
"opndres":RN2  _net2232 _net2233 sub r=284.19 Ohm w=10 um l=39.11 um s=1 pbar=1 m=1 par=1 _M=1 rsx=50 Ohm dtemp=0 
"nfet":TN5  _net2264 _net2233 0 sub w=2.5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=6.8e-013 pd=2.96 um ps=3.24 um dtemp=0 stis=2 rf=0 
"nfet":TN4  _net2283 _net2233 0 sub w=2.5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=6.8e-013 pd=2.96 um ps=3.24 um dtemp=0 stis=2 rf=0 
"nfet":TN3  _net2233 _net2233 0 sub w=2.5 um l=0.5 um nf=4 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.1066 nrs=0.1066 ad=6.3e-013 as=8.4e-013 pd=2.96 um ps=4.35 um dtemp=0 stis=2 rf=0 
"mim":C42  0 _net2300 sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=201.15 fF 
"mim":C41  0 VIN sub bp=2 l=5 um w=10 um m=1 par=1 lm=1 nlev=6 hd=0 est=1 rsx=-1 Ohm setind=-2 dtemp=0 c=78.73 fF 
V_Source:SRC2  _net2232 0 Type="V_DC" Vdc=2.15 V SaveCurrent=1 
V_Source:SRC3  _net2237 0 Type="V_DC" Vdc=0.8 V SaveCurrent=1 
"pfet":TP3  _net2239 _net2239 VDD VDD w=5 um l=0.5 um nf=4 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.7e-012 pd=5.46 um ps=8.1 um dtemp=0 rf=0 
"pfet":TP1  _net2291 _net2239 VDD VDD w=5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.37e-012 pd=5.46 um ps=5.99 um dtemp=0 rf=0 
"pfet":TP2  _net2290 _net2239 VDD VDD w=5 um l=0.5 um nf=20 m=1 par=1 _M=1 gcon=1 rsx=50 Ohm nrd=0.0526 nrs=0.0526 ad=1.28e-012 as=1.37e-012 pd=5.46 um ps=5.99 um dtemp=0 rf=0 
"nfet":TN1  _net2291 _net2290 _net2283 _net2234 w=10 um l=0.18 um nf=50 m=1 par=1 _M=1 nlev=4 gcon=2 nrd=0.0262 nrs=0.0262 ad=2.58e-012 as=2.65e-012 pd=10.46 um ps=10.87 um rsx=50 Ohm dtemp=0 rf=1 stis=2 lm=1 
"nfet":TN2  _net2290 _net2291 _net2264 _net2235 w=10 um l=0.18 um nf=50 m=1 par=1 _M=1 nlev=4 gcon=2 nrd=0.0262 nrs=0.0262 ad=2.58e-012 as=2.65e-012 pd=10.46 um ps=10.87 um rsx=50 Ohm dtemp=0 rf=1 stis=2 lm=1 
V_Source:SRC1  VDD 0 Type="V_DC" Vdc=3 V SaveCurrent=1 
end my2port
Tran:Tran1 StartTime=0.0 nsec StopTime=200.0 nsec MaxTimeStep=0.002 nsec LimitStepForTL=yes TimeStepControl=2 TruncTol=7.0 ChargeTol=1.0e-14 IntegMethod=0 MaxGearOrder=2 \
Mu=0.5 MaxOrder=4 Freq[1]=1.0 GHz Order[1]=3 HB_Window=no \
HB_Sol=no ImpApprox=no ShortTL_Delay=1.0 psec ImpMode=1 UseInitCond=no \
LoadGminDC=no CheckKCL=yes CheckOnlyDeltaV=yes OverloadAlert=no DeviceBypass=no \
MaxIters=10 MaxItersDC=200 DevOpPtLevel=0 StatusLevel=2 OutputAllPoints=yes \
NoiseScale=1 ImpEnforcePassivity=yes \
OutputPlan="Tran1_Output" 

OutputPlan:Tran1_Output \
      Type="Output" \
      UseNodeNestLevel=yes \
      NodeNestLevel=2 \
      UseEquationNestLevel=yes \
      EquationNestLevel=2 \
      UseSavedEquationNestLevel=yes \
      SavedEquationNestLevel=2 \
      UseDeviceCurrentNestLevel=no \
      DeviceCurrentNestLevel=0 \
      DeviceCurrentDeviceType="All" \
      DeviceCurrentSymSyntax=yes \
      UseCurrentNestLevel=yes \
      CurrentNestLevel=999

S_Param:SP1 CalcS=yes CalcY=yes CalcZ=yes GroupDelayAperture=1e-4 FreqConversion=no FreqConversionPort=1 StatusLevel=2 CalcNoise=no SortNoise=0 BandwidthForNoise=1.0 Hz DevOpPtLevel=0 \
SweepVar="freq" SweepPlan="SP1_stim" OutputPlan="SP1_Output" 

SweepPlan: SP1_stim Start=1 GHz Stop=2 GHz Step=0.01 GHz 

OutputPlan:SP1_Output \
      Type="Output" \
      UseEquationNestLevel=yes \
      EquationNestLevel=2 \
      UseSavedEquationNestLevel=yes \
      SavedEquationNestLevel=2

#include "<simulation_directory>"
#include "<simulation_directory>"
phires=0
cor_nfet = 0
cor_noin = 0
cor_noip = 0
cor_pfet = 0
cor_res = 0
cor_cap = 0
cor_ind = 0
cor_tox = 0
cor_pc = 0
cor_rx = 0
cor_toxdg = 0
cor_toxtg = 0
cor_nmos = 0
cor_pmos = 0
cor_jfet = 0
gbv = 2
gsti = 1
waferthk = 737.0
p5vonly = 0
gsh = 2
gii = 2
esd_event = 0
esd_exit = 1
esd_extr = 1
fwdlim = 0
simulator lang=spectre
include "<simulation_directory>"
include "<simulation_directory>" section=tt
simulator lang=ads
Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes 
Port:PORT1  VIN 0 Num=1 Z=50 Ohm P[1]=polar(dbmtow(-30),-90) Freq[1]=1.5 GHz    Noise=yes Pac=polar(dbmtow(0),0) 
my2port:X1  VIN VOUT _M=1 
Port:PORT_ref  Vref 0 Num=3 Z=50 Ohm P[1]=polar(dbmtow(-30),-90) Freq[1]=1.5 GHz    Noise=yes Pac=polar(dbmtow(0),0)

I cannot still get the same result between SP and Transient analysis.

simulation.jpg

simulation_result.jpg

Run HB and Tran Analysis with sweeping pin_dBm.
Then plot Vref and VOUT.
Code:
Port:PORT1  VIN 0 Num=1 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar([color=red]dbmtow(pin_dBm),-90[/color]) \
Pac=polar(dbmtow(0),0)

Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes

Port:PORT_ref  Vref 0 Num=3 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar([color=red]dbmtow(pin_dBm),-90[/color]) \
Pac=polar(dbmtow(0),0)

R:Rref Vref 0 R=50 Ohm

This code means if I change the input RF power, I may get the correct result?
 

Code:
Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes 
Port:PORT1  VIN 0 Num=1 Z=50 Ohm P[1]=polar(dbmtow(-30),-90) Freq[1]=1.5 GHz    Noise=yes Pac=polar(dbmtow(0),0) 
Port:PORT_ref  Vref 0 Num=3 Z=50 Ohm P[1]=polar(dbmtow(-30),-90) Freq[1]=1.5 GHz    Noise=yes Pac=polar(dbmtow(0),0)
Load for "PORT_ref" does not exist !!.
Surely read my appends.
Code:
Port:PORT1  VIN 0 Num=1 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar([color=red]dbmtow(pin_dBm),-90[/color]) \
Pac=polar(dbmtow(0),0)

Port:Term2  VOUT 0 Num=2 Z=50 Ohm Noise=yes

Port:PORT_ref  Vref 0 Num=3 Z=50 Ohm Noise=yes \
Freq[1]=1.5 GHz \
P[1]=polar([color=red]dbmtow(pin_dBm),-90[/color]) \
Pac=polar(dbmtow(0),0)

[color=red]R:Rref Vref 0 R=50 Ohm[/color]

I cannot still get the same result between SP and Transient analysis.
This code means if I change the input RF power, I may get the correct result?
I think so. Phase difference between SP and Tran Analysis is due to gain compression.
SP Analysis is a Small Signal Analysis.
In your case, VOUT is far small than Vref or VIN.

Code:
gnuplot> t1=198.3344e-9
gnuplot> t2=198.3604e-9
gnuplot> f=1.5e9
gnuplot> w=2*pi*f
gnuplot> pr w*(t2-t1)*180/pi
14.0400000000016
On the other hand, 48.587[deg] for SP Analysis.

Run Tran Analysis or HB Analysis with sweeping pin_dBm.
And plot Vref and Vout.

Code:
define my2port ( VIN  VOUT ) 
.............
"symind":I3  VIN _net2300 _net2301 _net2303 \
x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
"symind":I2  _net2294 VOUT _net2296 _net2298 \
x=160 um w=10 um n=3 s=5 um wu=19.14 um nlev=6 grnd=-1 dtemp=0 lm=1 altct=0 
.............
end my2port
You have two inductors connected to "VIN" and "VOUT" nodes in your DUT, "my2port".
And your stop time for Tran Analysis is 200nsec=300Periods refered to 1.5GHz.
Can it reach to enough steady state with StopTime=200nsec ?

Why is VOUT far small than Vref or VIN, even though it seems your DUT is amplifier ?
Is your amplifier Class-A operation ?

By the way, what ADS version do you use ?
Do you use "W2319EP Silicon RFIC Interoperability w/Virtuoso Element" ?
https://www.keysight.com/en/pd-2370...tuoso-element?nid=-34333.1082928&cc=US&lc=eng
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top