• 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. Accessing temperature in an AMS simulation

Stats

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

Accessing temperature in an AMS simulation

NickA
NickA over 6 years ago

In Spectre, you can assign a "temp" to a voltage source, and access the simulator temperature as a voltage, but this doesn't work in AMS. Is there a way to do something similar in AMS, to access the current temperature from the simulation?

  • Cancel
  • NickA
    NickA over 6 years ago

    I found this thread that I could use to get the temperature at the start of a simulation, but short of updating it on a periodic basis, I can't see a way to make it continuous

          https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/38379/verilog-a-model-and-temperature-in-ac-sim

    Also, how do I configure AMS to update the temperature using the "dynamic parameter" control? I tried to vary "temp", and it creates a variable called temp that has no link to the simulator temperature setting

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to NickA

    I don't think I understand what you're saying. If you're saying that you can have a vsource output the current temperature converted into a voltage, then that should work with AMS. Is that using tc1 and tc2?

    The temperature doesn't normally change during the transient unless you use the dynamic parameter control in spectre - and you can use the same mechanism with AMS. What INCISIVE/XCELIUM version are you using for AMS (this should appear in the AMS simulator log)?

    In VerilogA and VerilogAMS you can also use $temperature to retrieve the current simulator temperature.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • NickA
    NickA over 6 years ago in reply to Andrew Beckett

    Apologies, I think I've wasted your time. I couldn't get the dynamic temperature working in AMS yesterday, but it works today doing what I thought I tried yesterday...

    I wanted to combine that with something that reported the temperature in the simulation, and updated on the dynamic changes. It seems like the @(initial_step) function is updated on the temp changes, which I didn't expect, so that gives me everything I need. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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