Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need to modify spectre netlist to get NF1

Status
Not open for further replies.

Avinash Akotkar

Junior Member level 3
Joined
Sep 27, 2015
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
261
Belwo netlist will calculate NF2 but I want NF1. I tried by keeping same output probe and input probe to input port but terminate with error.
Error: same
Warning from spectre during SP analysis `sp'.
WARNING (SPECTRE-16056): pg: Same port used as input and output probe.

DC simulation time: CPU = 1 ms, elapsed = 343.084 us.

Error found by spectre at freq = 0 Hz during SP analysis `sp'.
ERROR (SPCRTRF-15129): Neither 'iprobe' nor 'oprobe' appears in the active
ports list. Make sure 'iprobe' and 'oprobe' are active and then
restart.

=====Netlist for NF2=====
simulator lang=spectre
global 0
parameters v_var=1
vg (g_dc 0) vsource dc=v_var
cg (g g_ac) capacitor c=1
lg (g g_dc) inductor l=1

vd (d_dc 0) vsource dc=v_var
cd (d d_ac) capacitor c=1
ld (d d_dc) inductor l=1

vs (s 0) vsource dc=0
vb (b 0) vsource dc=0

m1 ( d g s b) model1 l=0.52e-6 w=0.4e-6

pd (d_ac 0) port num=2
pg (g_ac 0) port num=1
simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=27 \
tnom=27 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
sp sp ports=[pg pd] start=1e+4 stop=1e+13 donoise=yes \
oprobe=pd iprobe=pg annotate=status
modelParameter info what=models where=rawfile
element info what=inst where=rawfile
outputParameter info what=output where=rawfile
designParamVals info what=parameters where=rawfile
primitives info what=primitives where=rawfile
subckts info what=subckts where=rawfile
saveOptions options save=allpub
 

pg (g_ac 0) port num=1
pd (d_ac 0) port num=2

sp_nf1 sp ports=[pg pd] start=1e+4 stop=1e+13 donoise=yes \
oprobe=pg iprobe=pd annotate=status

sp_nf2 sp ports=[pg pd] start=1e+4 stop=1e+13 donoise=yes \
oprobe=pd iprobe=pg annotate=status
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top