The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> RF Simulators >> Saving PSS results using print statement or spectremdl https://designers-guide.org/forum/YaBB.pl?num=1445682375 Message started by vaidy.ts on Oct 24th, 2015, 3:26am |
Title: Saving PSS results using print statement or spectremdl Post by vaidy.ts on Oct 24th, 2015, 3:26am Hi folks I am writing a spectre netlist for a pss simulation. I am able to save the signals I want using the save command along with rawfmt statement but this spits out a huge file. I want instead to have a table containing only the variables I want, say input power pin and output power pout. For other simulations say DC I can do this either using a print statement such as print i(V0), name=dc to="out.dat" I can also use export statement using spectremdl to get DC simulation results in table format. My question is - can something similar be done for a pss simulation? I tried but couldn't get it to work. Below is a sample netlist using save option, I would like to re-write it using print option or spectremdl. Thanks in advance ------------------------------------------------- simulator lang=spectre global 0 parameters pin=-30 rf1=900M vb1=0 vb2=-2.5 vg1=2.5 vg2=-2.5 I5 (net10 net2 net13 0) myFET (replace this with any NFET model) V3 (net10 0) vsource dc=vb2 type=dc V1 (net13 0) vsource dc=vg2 type=dc PORT1 (net2 0) port r=50 type=sine PORT0 (net2 0) port r=50 type=sine freq=rf1 dbm=pin fundname="frf1" simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=25.0 tnom=25 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 digits=5 cols=80 pivrel=1e-3 sensfile="../psf/sens.output" checklimitdest=psf sweeppss sweep param=pin start=-30 stop=0 step=1 { pss pss flexbalance=yes fund=900M harms=3 errpreset=moderate outputtype=freq annotate=status save=selected oppoint=logfile } save PORT1:p |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |