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.
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?