• 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. RF Design
  3. [Help] How to use the "switch" in analogLib?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 63
  • Views 23914
  • 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

[Help] How to use the "switch" in analogLib?

xxgenerall
xxgenerall over 12 years ago

Hi, guys,

    Switch in analogLib has Vopen and Vclose. I found this. Vopen must not be equal to Vclose. Otherwise, Spectre will announce an Error.

    Then, I've done the following simulation. The schematic is below.

  • switch1.jpg
  • View
  • Hide
  • Cancel
  • xxgenerall
    xxgenerall over 12 years ago

    Simulation conditions:

    <1> Vopen=2V; Vclose=-2V.

    <2> Ropen=100 Ohms; Rclose=1 Ohm.

    <3> Is=1A; Vin=VCtrl.

    VCtrl is sweeped from -3V to 3V. Then Vout=Rout*Is, which is equal to Rout in value. The simulation result is below.

    • switch.jpg
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • xxgenerall
    xxgenerall over 12 years ago

    We can see,

    <1>VCtrl > Vopen, Rout=Ropen=100 Ohms.

    <2>VCtrl < Vclose, Rout=Rclose=1 Ohm.

    <3>Vclose < VCtrl < Vopen, Rclose < Rout < Ropen. So, Rout=f(VCtrl, Rclose, Ropen). The question is, what's the function relationship of "f"? For a given VCtrl, how to get the value of Rout?

    Doc file "analoglibref.pdf" doesn's present how to use "switch". And no content about how to set Vopen/Vclose is described.

    Can any one help me? Thanks in advance.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I don't see anything wrong (in fact your posts don't actually state what your issue is - you just show what you simulated and what the results are). Maybe if you look at my recent reply on the switch component that might help?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    OK, I'd not seen your third append when I posted. The relationship is described in "spectre -h relay" (as mentioned in the other post).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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