+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Junior Member level 3
    Points: 821, Level: 6

    Join Date
    Sep 2015
    Posts
    30
    Helped
    0 / 0
    Points
    821
    Level
    6

    Need to modify spectre netlist to get NF1

    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

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 17,409, Level: 31
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,681
    Helped
    724 / 724
    Points
    17,409
    Level
    31

    Re: Need to modify spectre netlist to get NF1

    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



--[[ ]]--