• 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. Mixed-Signal Design
  3. Evaluating PSD of Opamp/Data Converter in MATLAB from Cadence...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 1401
  • 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

Evaluating PSD of Opamp/Data Converter in MATLAB from Cadence Spectre

growingmind
growingmind over 8 years ago

Hello,

I am designing various opamps and data converters in Cadence Spectre and would like to use MATLAB to generate Power Spectrum Density (PSD) plots of them.

I do not have the Cadence MATLAB toolbox installed and would like to do this without the toolbox.

Do I expert the traces directly out as .csv files and then process them in MATLAB to generate the associated PSDs ?

Is there another way ?  Any direction or help or advice regarding this would be helpful - or a tutorial.

Thank you!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    The toolbox doesn't need to be installed - it's in the MMSIM/SPECTRE installation (which you must have otherwise you couldn't run the simulation). You simply need to do:

    setenv MATLABPATH `cds_root spectre`/tools/spectre/matlab/64bit

    and then you can use cds_srr from within Matlab (assuming you're running Matlab on Linux - you didn't mention). No point overcomplicating things with going via ASCII files if you don't need to.

    Otherwise I'm sure you could do it by exporting CSV from ViVA and then using the Matlab csvread function to read the file. Not sure this really needs a tutorial?

    Andrew.

    • 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