The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 27th, 2024, 4:38am
Pages: 1
Send Topic Print
IIP3 analysis on a netlist with nport statement (Read 4102 times)
amitava
New Member
*
Offline



Posts: 1
cincinnati
IIP3 analysis on a netlist with nport statement
Feb 06th, 2004, 11:59am
 
Hi,                                                                            
I am facing a problem when doing Cadence Spectre simulation for IIP3 analysis on a netlist that has "nport" statements modeling the interconnects of a circuit. As an example I am giving the nport statement of a 2 port network that I have in my netlist below:
--------------------------------------------                          
simulator lang=spectre                      
model sp_data1 nport file="spNport1.data"
//Components                                              
X1 (a1 a2 b1 b2 )sp_data1
-------------------------------------------              
                                                                               
The file "spNport1.data" contains the s-parameters (2x2 matrix) of the interconnects (a1 to a2 and b1 to b2) as a 2-port network. The netlist has other elements like resistors, transistors, inductors and capacitors connected to each other to form an LNA topology. There are other "nport" statements too for other connectivities but I have given an instace with 2 nets connecting a few of the components.              
                                                                               
When I simulate the entire netlist for doing the IIP3 analysis I get an error like this:
************************************
Error found by spectre during periodic steady state analysis `pss1'.
   Distributed components and components with hidden state are not allowed
       with this analysis -- analysis skipped.                      
               nport
                                                                               
Analysis `pss1' terminated prematurely due to error.
**************************************
As pss and pac analysis are essential to do the IIP3 analysis, I am not sure how to avoid this error from happening and to determine IIP3 of a netlist that has "nport" statements describing the interconnects.

(I went thru the designers guide on how to avoid "hidden-state" errors in spectre but am clueless on how to avoid the error in this case)

Can anyone of you help me on this.
                       
Thanks and Regards,
Amitava
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: IIP3 analysis on a netlist with nport statemen
Reply #1 - Mar 5th, 2004, 1:52am
 
You will need to set "interp=rational" on the nport
("Interpolation Method" on the edit parameters form in
the schematic), together with either ratorder (to indicate
the "order" it should use for the rational approximation when
producing a time domain representation. Alternatively
you can use relerr/abserr to control the accuracy
(see "spectre -h nport" for more info).

Currently only this approach for generating a time-domain
representation will work with spectreRF, because spline
and linear interpolation methods have hidden states
(as you've seen). In IC5141, all modes will work with
SpectreRF though (due out in June).

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
CDR
Junior Member
**
Offline



Posts: 18

Re: IIP3 analysis on a netlist with nport statemen
Reply #2 - Mar 24th, 2004, 6:44pm
 
What should be the format of spNport1.data?Could you give examples?
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: IIP3 analysis on a netlist with nport statemen
Reply #3 - Mar 28th, 2004, 11:36am
 
The format can be spectre's own format (I think this
is covered in the documentation), touchstone or citifile
format. From IC5033 this can be selected on the instance
of nport itself, but there's also a translator "sptr" which
can be used to do the conversion (translator also
available in older versions).

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.