• 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. Plotting a Graph in cadence with different axis variables...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 18182
  • 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

Plotting a Graph in cadence with different axis variables DC-Analysis Design variable

mirtaji65
mirtaji65 over 4 years ago

I implemented a cascade current mirror circuit as shown blow.

And I want to plot the output voltage Vout  relative to the changes of input current (0<Iref<800uA) . I use DC-Analysis>Design-variable>start=0 / stop=800u then run the simulation
x-axis of chart in term of voltage and y-axis of chart in term of Iref

how can I change x-axis=Iref and y-axis=Vout 

Like the figure below

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

    OK, first of all you're using a really old version (must be at IC6.1.4 or before). The last fix version of that came out more than 9 years ago. The waveform tool has changed considerably since then, and it's much easier in current versions.

    Luckily I still have access to IC6.1.4 so could go back and try this out. I initially thought you might need a custom calculator function to do this, but assuming you want it the opposite way to what you described (your plot already  shows the output voltage relative to the changes of input current), and then you're asking to make the x-axis iref and y-axis vout (which it already is). The figure below has current on the y-axis and voltage on the x-axis.

    Anyway, using the calculator, plot VS("/out") (hit the "vs" button and click on the out node, then press the "evaluate the buffer" icon to the right of the "clip" checkbox. Then use the "xval" function in the calculator on the same expression - xval(VS("/out")) and plot that too. Now right click over the x-axis on the graph, and pick "Edit". On that form, you can change the plot vs to the VS("/out") and then you should get the current versus the voltage (the xval plot would have given you the current values on the y-axis).

    Andrew

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

    OK, first of all you're using a really old version (must be at IC6.1.4 or before). The last fix version of that came out more than 9 years ago. The waveform tool has changed considerably since then, and it's much easier in current versions.

    Luckily I still have access to IC6.1.4 so could go back and try this out. I initially thought you might need a custom calculator function to do this, but assuming you want it the opposite way to what you described (your plot already  shows the output voltage relative to the changes of input current), and then you're asking to make the x-axis iref and y-axis vout (which it already is). The figure below has current on the y-axis and voltage on the x-axis.

    Anyway, using the calculator, plot VS("/out") (hit the "vs" button and click on the out node, then press the "evaluate the buffer" icon to the right of the "clip" checkbox. Then use the "xval" function in the calculator on the same expression - xval(VS("/out")) and plot that too. Now right click over the x-axis on the graph, and pick "Edit". On that form, you can change the plot vs to the VS("/out") and then you should get the current versus the voltage (the xval plot would have given you the current values on the y-axis).

    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