• 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. Using $table_model in verilogA for finding current for a...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 13873
  • 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

Using $table_model in verilogA for finding current for a given temperature

RFStuff
RFStuff over 5 years ago

Dear All,

I am running a transient simulation in which I am varying the temperature from 0 to 125-C in step of 10-C after 1 us. This is done by using Dynamic Parameter option.

I want to use a PTAT current source for the test bench. I have the PTAT.csv file ( temp vs current) for this PTAT current source. Can I use this file by using  $table_model in verilogA model of PTAT current source.

Like--> i =  -$table_model ($temperature, "PTAT.csv", "1C").

Could anybody please comment on this possibility ?

 

Kind Regards.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    This should work. Be careful about making big discontinuous steps though (remember too that $temperature is in Kelvin, not Celsius).

    Andrew.

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

    Thanks Andrew. You are right. I was not subtracting 273.15 (Kelvin to Celsius) from $temperature and that is why I was getting only the last value (constant in the plot) stored in the .csv file.

    • 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