The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 4:21pm
Pages: 1
Send Topic Print
Saving PSS results using print statement or spectremdl (Read 37 times)
vaidy.ts
New Member
*
Offline



Posts: 4

Saving PSS results using print statement or spectremdl
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
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.