• 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. Time Variable Resistor

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 126
  • Views 21918
  • 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

Time Variable Resistor

Ahmed Taha
Ahmed Taha over 9 years ago

Hi,

I have RC network, and I am running transient simulation. I would like to have one of network's resistors value to change over time.

I have input signal array to the network (Volts vs. time) and a corresponding resistor array values over time (ohm vs. time)

Is it possible to create such resistor with its value defined by that array of data over time in Cadence, Spectre?

Thanks.

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

    Hi Nicolas,

    Everything is correct here. It's because you have a linear sweep on the controlling voltage and hence a linear sweep of the resistance - and so if you're plotting the current, that will have a 1/x response on that linear sweep.

    I added save G0:oppoint to the netlist so I could plot the G0:lx0 parameter (and hence see the resistance changing). I then computed (in the calculator) both -3.3/v("net2" ?result "tran") and -3.3/getData("G0:lx0" ?result "tran") and plotted these. You can see that these two calculated currents overlay exactly with the current from the simulator. The top strip shows both the controlling voltage and the VCR value (the lx0) - again, they overlay exactly.

    Here's a zoomed in (in the y-direction) plot of the current - you can see it is gradually changing:

    This is not surprising - if you see the last red cross (at this zoom level) before the end of the ramp down, it's at about 0.5MV, which corresponds to 0.5MOhm in the VCR. Then the current will be 3.3/0.5M which is about 6uA. The scale of the current means  you hardly see this change. If you were to change the y-axis to a log scale for the current, this would be much more evident without the need to zoom in.

    So everything is working as it should - the results are correct.

    Regards,

    Andrew.

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

    Hi Nicolas,

    Everything is correct here. It's because you have a linear sweep on the controlling voltage and hence a linear sweep of the resistance - and so if you're plotting the current, that will have a 1/x response on that linear sweep.

    I added save G0:oppoint to the netlist so I could plot the G0:lx0 parameter (and hence see the resistance changing). I then computed (in the calculator) both -3.3/v("net2" ?result "tran") and -3.3/getData("G0:lx0" ?result "tran") and plotted these. You can see that these two calculated currents overlay exactly with the current from the simulator. The top strip shows both the controlling voltage and the VCR value (the lx0) - again, they overlay exactly.

    Here's a zoomed in (in the y-direction) plot of the current - you can see it is gradually changing:

    This is not surprising - if you see the last red cross (at this zoom level) before the end of the ramp down, it's at about 0.5MV, which corresponds to 0.5MOhm in the VCR. Then the current will be 3.3/0.5M which is about 6uA. The scale of the current means  you hardly see this change. If you were to change the y-axis to a log scale for the current, this would be much more evident without the need to zoom in.

    So everything is working as it should - the results are correct.

    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