• 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. comlex plot for gm_id method

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 63
  • Views 16362
  • 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

comlex plot for gm_id method

robert 21
robert 21 over 5 years ago

Hello i am trying to create  a plot of gm/Id(Id/W)  of the nmos shown bellow.

i know how to plot gm or Id separatly  (as shown in the setting bellow)

but how do i define the Y axes to be gm/Id and X axes to be Id/W ?

Thanks.

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

    This seems to be one of the most commonly asked questions on the forum. I suggest you do some searching to see if you can find an answer already on the forums (rather than me searching for you).

    Kind Regards,

    Andrew.

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

    Hello Andrew,I could not find a post for  Y axes to be gm/Id and X axes to be Id/W.

    i have found some manual with using XVAL (which is transient of frequency domain) where as here we have DC sweep.

    the algorithm i saw was to create 

    gm/W versus Id/W

    where we have to sweep the DC simualtion with W(width of transistor) which is not makes any sense and use XVAL which doesnt work for DC sweep.

    Could you please  tell me the general steps?

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 5 years ago in reply to robert 21

    Dear robert21,

    I could not find a post for   Y axes to be   gm/Id and X axes to be Id/W.

    You can define what ViVA Xl uses as the Y and X axes by using the calculator expression waveVsWave(). Did you try this or find it in the documentation? I found it pretty quickly robert21. It took me longer to create a test case!

    I assembled a test case and this works fine for me. I defined the values of gm/Id and Id/W as:

    gm_over_id,expr,(OS("/M0" "gm" "<results_directory>) / i("/M0/D" ?result "dc"))

    id_over_W,expr,(i("/M0/D" ?result "dc") / VAR("W"))

    I then defined the output waveform you wanted to plot as:

    gm_over_id/Id_over_W,expr,waveVsWave(?x id_over_W ?y gm_over_id)

    I was then able to plot the resulting waveform gm_over_id/Id_over_W as shown below as Figure 1. As verification that I was plotting the variables in the manner you requested, I exported variables gm_over_id and id_over_W as a function of their x values of vgate. I created the resulting plot in Figure 2 showing the same result as provided by ViVA XL.  I hope this helps robert21.

    Shawn

    Figure 1

    Figure 2

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • robert 21
    robert 21 over 5 years ago in reply to ShawnLogan

    Hello Shawn,yes your method of waveVsWave works great. Thanks.

     You have made the gm/id expression with one OS and one Idc param to construct the gm/id expression.

    However when i try to construct  ft=gm/cgg (Vgs)  we have two OS param thats needs to be saved, but my ADEL allowes to save only one OP to be saved.
    How can we  construct gm/cgg?

    thanks

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

    ADE (L included) allows more than one operating point parameter to be saved for a device. Just list the names (space separated) on the save op params form field. So I've no idea why you think you can only save one...

    Andrew.

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

    Hello Andrew, Thank you very much ,putting space in the OP ADEL  "gm cgg" allowed me to create gm/cgg in the calculator.

    Thanks.

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

    Hello Andrew, Thank you very much ,putting space in the OP ADEL  "gm cgg" allowed me to create gm/cgg in the calculator.

    Thanks.

    • 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