• 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. ADE explorer Ids derivative definition question

Stats

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

ADE explorer Ids derivative definition question

robert 21
robert 21 over 4 years ago

Hello ,I am trying to plot gm vs Vds by the settings shown bellow.

I am trying to use deriv but deriv doesnt say which derivative its exactly,how do i define if its derivative to Vgs or Vds?

Thanks.

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

    The derivative is with respect to whatever the x-axis is - ie whatever you’ve swept over, which is going to be the innermost sweep if you swept multiple variables. 

    You didn’t give any information as to what you’ve swept or how to set up the sweeps or even which ADE flavour you’re using but if you plot IDC without the derivative around it you’d see what the x-axis was. If you have more than one sweep and it’s the wrong variable as the innermost the you could use the swapSweep function and then use the deriv on the result of that. 

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • robert 21
    robert 21 over 4 years ago in reply to Andrew Beckett

    Hello Andrew,I am using ADE explorer,I am doing DC sweep from the calculator i have exported the expression of derivative of Ids as shown bellow.

    it gives me an EVAL error as shown in the printscreen bellow.
    I dont have the option to say if i want variable with resprect to Vgs or variable with respect to Vds.

    Why i picked the wrong variable? it doesnt let me choose a variable.
    So you straight away deriv want let me and that i should use swap sweep first?

    I also tried to export a plot data to the calculator and do a derivative to it.It didnt work either.
    Thanks.




    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to robert 21

    First of all,, if you're doing a DC sweep, you almost certainly want to use IS not IDC. IS will give you the current versus the sweep, whereas IDC will give you the current from the operating point. Since the operating point is a single value, you can't take the derivative - but you should be able to take the derivative of the IS.

    Your post is a bit confusing - you show one expression which is using IS (but has two value functions around it, so will probably destroy any sweep data and hence give you a single value at a particular corner and Vgs value, so deriv would probably fail).

    I would start by building this up piecemeal if it's not working:

    1. Turn off the parameter sweep in ADE
    2. Make sure you can plot the current expression first by adding IS("/NM0/D") - i.e. check that the current has been saved
    3. Then add deriv() around that and make sure it works (this should be with respect to Vds if that's what you're sweeping in the DC analysis)
    4. Re-enable the parameter sweep - see what happens - should give you a family of derivatives wrt Vds, one for each Vgs
    5. Note that if you want the swapSweep to be in the output expressions, it will have to be set up to have the "eval type" being "sweeps" or "all" (the eval type column does not appear by default). I haven't got the energy to go back and forth for the next few days explaining this (based on your previous posts) so please contact customer support if you can't work this bit out.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to robert 21

    First of all,, if you're doing a DC sweep, you almost certainly want to use IS not IDC. IS will give you the current versus the sweep, whereas IDC will give you the current from the operating point. Since the operating point is a single value, you can't take the derivative - but you should be able to take the derivative of the IS.

    Your post is a bit confusing - you show one expression which is using IS (but has two value functions around it, so will probably destroy any sweep data and hence give you a single value at a particular corner and Vgs value, so deriv would probably fail).

    I would start by building this up piecemeal if it's not working:

    1. Turn off the parameter sweep in ADE
    2. Make sure you can plot the current expression first by adding IS("/NM0/D") - i.e. check that the current has been saved
    3. Then add deriv() around that and make sure it works (this should be with respect to Vds if that's what you're sweeping in the DC analysis)
    4. Re-enable the parameter sweep - see what happens - should give you a family of derivatives wrt Vds, one for each Vgs
    5. Note that if you want the swapSweep to be in the output expressions, it will have to be set up to have the "eval type" being "sweeps" or "all" (the eval type column does not appear by default). I haven't got the energy to go back and forth for the next few days explaining this (based on your previous posts) so please contact customer support if you can't work this bit out.

    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