• 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. Input .csv file for ADE L simulation sampling error

Stats

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

Input .csv file for ADE L simulation sampling error

BigJim
BigJim over 6 years ago

The input signal for the simulation that I'm running comes from a .csv file that I generated in matlab. When I generate the file in matlab, the signal looks smooth and has a high resolution. However, when I run the simulation in ADE L, it appears that my smooth signal is automatically sampled at a rate that is far too course for my needs. I'm trying to keep the area under that signal as precise as I can and it looks like the sampling that is happening when I run the simulation is having some unintended effects on the output. Is there anyway I can get around this? I'd like to have the input file unaltered before it is used in the simulation. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    You didn't say how you are using this file in your simulation, nor did you say which simulator or version of the simulator you're using. That tends to help rather with giving an accurate answer.

    From a wild guess, you're using this with a vpwlf source or vsource with "pwl" as the source type, and you're using spectre. From an even wilder guess, your input signal is varying more rapidly than the time steps chosen by the simulator and has plenty of points in the file. So, use vsource with pwl as the source type and set "Breakpoints" to "yes" (this parameter isn't shown on the vpwlf source).

    If it's not that, you'll need to provide more colour to your problem.

    Andrew.

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

    Thanks for the help. I am using a current source and was using ipwlf. I'm also using spectre. I switched the source like you suggested and it worked for some cases. My current signal is four gaussian-like pulses. I'm trying to run simulations for varying signal lengths. As the signal duration gets shorter, the peaks get skinnier and taller. For an input current signal that lasts 4 ms (my longest signal) this fix worked great and I'm basically getting no sampling error in the simulation. However, for one of my shorter signals (higher and skinnier peaks, total signal lasts 1.6 ms), the input that I plot after running my simulation looks incorrect. basically it appears that the simulator is zooming in on the initial part of my signal and stretching it out to 1.6 ms. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BigJim
    BigJim over 6 years ago in reply to BigJim

    Actually I just figured my problem out. It was a plotting issue I was having. 

    • 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