mtwieg
Advanced Member level 6

Hi all, I'm trying to simulate the large signal output impedance of a nonlinear amplifier in spectre. I had previously done this in LTspice, but spectre seems like a much better choice since it has PSS analysis, which should cut down my simulation time and data size substantially.
The simulation is set up with the amplifier biased and driven at some level, and on its output I inject an AC voltage (same frequency as the amplifier) of some phase and magnitude (so three degrees of freedom in total). I do a bit sweep of all three parameters, and that works fine.
The problem is now I'm not sure what the best way to do postprocessing is. The specific analysis I'm trying to do isn't built into spectre (no I'm not trying to do LSSP), so my choices are to either export the data from spectre into a file I can read easily into MATLAB, or I can try making the calculator do the analysis for me. I've already been doing analysis in MATLAB so I want to stick with that for now.
So what I need is a way to reliably export the swept simulation results in an orderly format to a single csv file or something similar. This includes a few time domain waveforms, as well as several (maybe six) spectral waveforms per sweep point. I presume the most professional way to do this is by SKILL code but I'm a novice there, so I was hoping that I could get by configuring ADE in a state where all the waveforms I want to export are set as outputs, and I can just manually tell it to save all of them at once. Does this sound feasible?
The simulation is set up with the amplifier biased and driven at some level, and on its output I inject an AC voltage (same frequency as the amplifier) of some phase and magnitude (so three degrees of freedom in total). I do a bit sweep of all three parameters, and that works fine.
The problem is now I'm not sure what the best way to do postprocessing is. The specific analysis I'm trying to do isn't built into spectre (no I'm not trying to do LSSP), so my choices are to either export the data from spectre into a file I can read easily into MATLAB, or I can try making the calculator do the analysis for me. I've already been doing analysis in MATLAB so I want to stick with that for now.
So what I need is a way to reliably export the swept simulation results in an orderly format to a single csv file or something similar. This includes a few time domain waveforms, as well as several (maybe six) spectral waveforms per sweep point. I presume the most professional way to do this is by SKILL code but I'm a novice there, so I was hoping that I could get by configuring ADE in a state where all the waveforms I want to export are set as outputs, and I can just manually tell it to save all of them at once. Does this sound feasible?