The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 9:10am
Pages: 1
Send Topic Print
analysis based switch (sp1tswitch) in Spectre (Read 8055 times)
vivkr
Community Fellow
*****
Offline



Posts: 780

analysis based switch (sp1tswitch) in Spectre
Jan 16th, 2008, 12:03am
 
The analysis based switch sp1tswitch from Spectre analogLib can be configured to be closed or open for DC, AC, TRAN and IC.
Is it possible to do something similar for other analyses such as STB etc.?

Thanks
Vivek
Back to top
 
 
View Profile   IP Logged
achim.graupner
Community Member
***
Offline



Posts: 51

Re: analysis based switch (sp1tswitch) in Spectre
Reply #1 - Jan 16th, 2008, 2:24am
 
Hello,

well stb is an ac analysis, thus the switch behaves as in ac.
Notice that the instance named in stb (iprobe, vdc) is closed during dc but opened during ac (like a tp1switch)

Regards,
Achim
Back to top
 
 

Achim Graupner
ZMD AG, Dresden, Silicon Saxony, Germany
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: analysis based switch (sp1tswitch) in Spectre
Reply #2 - Jan 16th, 2008, 7:39am
 
Hello Achim,

My question was more general. So you are saying that AC switch levels will also work
for STB and XF. In some ways, that's not so desirable. What about NOISE? Also AC?
What about PSS? From what you mention, I would suppose that all these would also
be configured as AC as one would normally do a PAC, PNOISE etc. after PSS.

Is there a good way to get around this and build a switch which can be custom closed
for a given analysis, like sp1tswitch?

Regards
Vivek

Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: analysis based switch (sp1tswitch) in Spectre
Reply #3 - Jan 16th, 2008, 8:39am
 
You might be able to use the analysis() function of Verilog-A for writing the code for such a switch. See the Verilog-A Language Reference for details.
Back to top
 
 
View Profile WWW   IP Logged
haykp
Community Member
***
Offline



Posts: 40

Re: analysis based switch (sp1tswitch) in Spectre
Reply #4 - Nov 2nd, 2010, 4:22am
 
Hi Folks,

Sorry for my late replay...

To be honest I couldn't clear understand what is the reason of using sp1tswitch cell. So this is some cell which based on analyze type either opens or closes.
I don't understand why to use such cell ...

Please could you elaborate more why you need to use such cells or a good doc would be very helpful.

Thanks in advance.
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: analysis based switch (sp1tswitch) in Spectre
Reply #5 - Nov 2nd, 2010, 6:36am
 
Haykp,

  The switches are most often used in testbenches. For example, if
you want to measure open loop gain. You can short the inverting input
and the output for the dc operating point calculation so the circuit has
a well defined operating point. Then open the switch for ac analysis
to measure open loop gain.

                                                            Best Regards,

                                                                Sheldon
Back to top
 
 
View Profile   IP Logged
haykp
Community Member
***
Offline



Posts: 40

Re: analysis based switch (sp1tswitch) in Spectre
Reply #6 - Nov 2nd, 2010, 8:40am
 
Hi Sheldon,

Many thanks for your feedback.

Could you please elaborate also about the instantiation of these switches. So are these switches hspice cells or verilogA cells. How you simulate them? What is their implementation looks like.
the issue that I am facing is following: I need to use that cells in my design, but I don't know how I can do that ( sorry cannot tell more).
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: analysis based switch (sp1tswitch) in Spectre
Reply #7 - Nov 2nd, 2010, 9:39pm
 
Haykp,

   The analysis dependent cells are Spectre primitives. They are
available in analogLib, the cell name is sp1tswitch.

                                                           Best Regards,

                                                                Sheldon
Back to top
 
 
View Profile   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.