1 tone & 2 tone simulation with spectre netlist

Discussion in 'Cadence' started by shou, Jan 17, 2011.

  1. shou

    shou Guest

    Hi ALL,

    I'd like do the 1 tone & 2 tone simulation with spectre using HICUM
    Level 0 as the BJT model.
    But I don't know which controll command should be used. Is the pss
    correct?

    my setup is:
    OP: VB=0.85V VC=1.0V
    Pavs: -40dbm to 0dmb

    input and output sites with DC_feed and DC_block.

    My netlist is written as:

    simulator lang = spectre
    global 0
    simulator1Options options temp=27 saveahdlvars=selected
    inline subckt hicumL0V1p2 (c b e s t)
    hicumL0V1p2 (c b e s t) MOD

    model MOD bht0 type=NPN
    + the model parameters
    ends hicumL0V1p2

    parameters p1=0.85 p2=1.0 p3=1e9 p4=0.0 p5=3.162e-3 p6=0.316 p7=40
    * -40dbm to 0dbm

    X1 (Cint Bint 0 0 net5) hicumL0V1p2

    DC_feed1 (B_DC Bint) inductor l=1uH
    DC_block1 (IN Bint) capacitor c=1uF

    DC_feed2 (C_DC Cint) inductor l=1uH
    DC_block2 (OUT Cint) capacitor c=1uF

    Load (OUT 0) resistor r=50

    V1 (B_DC 0) vsource dc=p1 type=dc
    V2 (C_DC 0) vsource dc=p2 type=dc

    V3 (IN 0) vsource sinedc=0 freq=p3 ampl=p4 type=sine

    simulator2Options options reltol=1e-3 vabstol=1e-6 iabstol=1e-15 \
    scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 \
    maxwarns=5 digits=5 cols=80 pivrel=1e-3 ckptclock=1800 \
    useprobes=yes

    How to write the The controll statements here?

    1. I want to bias the ampl of V3 (start=p5=3.162e-3 stop=p6=0.316
    lin=p7=40), how to write it?
    2. Is there power source in spectre, with which I bias the power from
    -40dbm to 0dbm?
    3. and how the save the output power at node OUT.


    any idea?

    Thanks a lot in advance!
    Shujun
     
    shou, Jan 17, 2011
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.