• 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. transient temperature plot

Stats

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

transient temperature plot

sjwprcker
sjwprcker over 2 years ago

Hi,

I would like to plot transient temperature in viva using ams sim environment. 

The experience with spectre is, a non-connected net with name "temp". Its waveform represents tran temperature. 

However, this solution doesn't work in ams environment. 

Is there any way similar working in ams environment then?

BR

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dea rsjwprcker,

    sjwprcker said:

    I would like to plot transient temperature in viva using ams sim environment. 

    The experience with spectre is, a non-connected net with name "temp". Its waveform represents tran temperature. 

    However, this solution doesn't work in ams environment. 

    Is there any way similar working in ams environment then?

    If you have any verilog-A based subcircuits in your netlist, or care to create a custom block, there are a couple of functions that can be used to both set and read the current temperature. Specifically, the $temperature function may be invoked to obtain the ambient temperature of a circuit in degrees Kelvin and $cds_set_temperature() can be called during simulation to change the global temperature (alternative to dynamic parameter simulation).

    There is an old Forum post with an example and discussion with Andrew. The post also mentions a bug which I assume has been addressed.

    community.cadence.com/.../verilog-a-model-and-temperature-in-ac-sim

    I hope I understood your need and this helps!

    Shawn

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ShawnLogan

    Shawn,

    I don't think that's what sjwprcker is asking. I think they are asking about the trick of adding a dummy node in the schematic called temp which is not connected to anything as a means of having something in the schematic to ask to save - which generates a save statement "save temp". Then when using dynamic parameters (I assume they are using that too, although it would have been helpful to say) you can then plot the temperature versus time.

    Strictly speaking the dummy node is just a means to generate the save statement, and the issue is that with AMS the nodes end up being scoped to the top level test bench and so (I assume) that it simply doesn't find the resulting signal afterwards.

    The solution (which works for spectre too - you don't then need the unconnected temp node in the schematic) is to create a file called (say) savestuff.scs with the contents:

    save temp

    Then add this via Setup→Simulation Files→Definition Files.

    Having done that, you would be able to access the temp signal from the results browser. Or by using VT("temp") .

    By the way Shawn, the bug that I mentioned in the other post was indeed fixed, back in mid-2018.

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago in reply to Andrew Beckett

    Dear Andrew,

    Andrew Beckett said:
    I don't think that's what sjwprcker is asking. I think they are asking about the trick of adding a dummy node in the schematic called temp which is not connected to anything as a means of having something in the schematic to ask to save - which generates a save statement "save temp".

    I did catch that, but since he indicated it did not work, I thought a verilog-A solution might be compatible with the schematic and might be a feasible solution. I did not know using the "save temp" statement in an AMS simulation would work if the use of the "dummy node" did not and hence did not suggest that.

    Andrew Beckett said:
    By the way Shawn, the bug that I mentioned in the other post was indeed fixed, back in mid-2018.

    Great! Thank you for letting me know!

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sjwprcker
    sjwprcker over 2 years ago in reply to Andrew Beckett

    Hi Andrew,

    Your solution works perfectly. I think the verilogA model also works well. I prefer the signal saving solution. 

    BR

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • sjwprcker
    sjwprcker over 2 years ago in reply to Andrew Beckett

    Hi Andrew,

    Your solution works perfectly. I think the verilogA model also works well. I prefer the signal saving solution. 

    BR

    • 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