• 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. Hspice replacement for Switch from AnalogLib

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 16419
  • 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

Hspice replacement for Switch from AnalogLib

circuitmonkey
circuitmonkey over 5 years ago

Hello ,

I was using switch component from AnalogLib  in Spectre  (open voltage=0, closed voltage =1 , Open Switch Resistance=1G and Close switch resistance = 1) and I have recently developing a test circuit in Hspice .  Is there any component or subcircuit /macro model in hspice  which can replace switch I used in spectre . I tried VCRES but it does not seems to work.

Any help will be really appreciated .

Thanks

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    There is no analogLib equivalent of switch (which is a relay in spectre) for the hspiceD interface. The best option would appear to be the vcres component - what doesn't work about it? How have you got it configured?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • circuitmonkey
    circuitmonkey over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for quick reply.

    I tried using VCRES to make equivalent to switch. I used following setup

    Volt/res conversion factor = 100M

    Max output resistance =10G

    Minimum output resistance =0

    Rest of parameters were left  blank.

    My control voltage is changing from 0 to 1V 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to circuitmonkey

    What does the resulting netlist look like (the line for this vcres component)? I probably can't test it with HSPICE (you may need to ask Synopsys instead of asking here), but at least I can check whether the netlist line looks reasonable...

    Thanks,

    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