• Home
  • :
  • Community
  • :
  • Forums
  • :
  • Mixed-Signal Design
  • :
  • Evaluating PSD of Opamp/Data Converter in MATLAB from Cadence...

Mixed-Signal Design Forums

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

growingmind
growingmind over 3 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!

  • Reply
  • Cancel
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 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
    • Up 0 Down
    • Reply
    • 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.