• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. how to implement sp1t,sp2t,sp3t switch

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 19161
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to implement sp1t,sp2t,sp3t switch

eashwar g
eashwar g over 10 years ago

hi

how to use spt switches in schematic ..i.e the one available in analog-lib .There is no tutorial or data in manual ..can we use this for different voltages
i.e., if we give limits as 1V,2V,3V for sp3t switch then will that connect to a particular switch based on voltage?

Can we control the switches based on voltages
please suggest

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    There seems to be some misunderstanding here. The sp*tswitch components from analogLib are the "switch" component in spectre, as Shawn pointed out. The are not controlled by voltages (so the sp3tswitch doesn't have 1V, 2V, 3V inputs). What the switch component does is allow you to set the switch in different positions for different analyses. The primary idea behind this is to allow you to (say) have the switch in one position for DC, but different for AC. This was a traditional approach used for measuring open loop gain (close the loop for DC, open for AC), but a better approach for that problem is to use the stb (stability) analysis in spectre instead, as this keeps the loop closed all the time and so models the loading effects properly.

    There may be other useful applications for this switch, but they are relatively rare. The different variants in analogLib just have different numbers of throws - the sp3tswitch is a single pole three throw switch, so each switch has four positions - open, or the three different closed positions - hence the 0,1,2,3 values for each analysis.

    If you want a voltage controlled switch, the analogLib component is called switch (rather confusingly) which corresponds to spectre's "relay" component.

    Documentation on analogLib components can be found by using the Help from within Virtuoso, or running `cds_root virtuoso`/tools/bin/cdnshelp and then navigating to find "Analog Library Reference" (you could probably use various searches to find that manual). 

    Also, you should (as Shawn suggested) be able to run "spectre -h XXX" where XXX is the component name (e.g. switch, relay) in a UNIX terminal. If that doesn't work, look carefully at your setup. The same information is in the spectre documentation, but if spectre can't be found from the command line, then I suspect you wouldn't be able to find cdnshelp from the command line either. You may be doomed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    There seems to be some misunderstanding here. The sp*tswitch components from analogLib are the "switch" component in spectre, as Shawn pointed out. The are not controlled by voltages (so the sp3tswitch doesn't have 1V, 2V, 3V inputs). What the switch component does is allow you to set the switch in different positions for different analyses. The primary idea behind this is to allow you to (say) have the switch in one position for DC, but different for AC. This was a traditional approach used for measuring open loop gain (close the loop for DC, open for AC), but a better approach for that problem is to use the stb (stability) analysis in spectre instead, as this keeps the loop closed all the time and so models the loading effects properly.

    There may be other useful applications for this switch, but they are relatively rare. The different variants in analogLib just have different numbers of throws - the sp3tswitch is a single pole three throw switch, so each switch has four positions - open, or the three different closed positions - hence the 0,1,2,3 values for each analysis.

    If you want a voltage controlled switch, the analogLib component is called switch (rather confusingly) which corresponds to spectre's "relay" component.

    Documentation on analogLib components can be found by using the Help from within Virtuoso, or running `cds_root virtuoso`/tools/bin/cdnshelp and then navigating to find "Analog Library Reference" (you could probably use various searches to find that manual). 

    Also, you should (as Shawn suggested) be able to run "spectre -h XXX" where XXX is the component name (e.g. switch, relay) in a UNIX terminal. If that doesn't work, look carefully at your setup. The same information is in the spectre documentation, but if spectre can't be found from the command line, then I suspect you wouldn't be able to find cdnshelp from the command line either. You may be doomed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information