Different Frequencys in PSPICE

Discussion in 'Homework Help' started by Katie_EE, May 8, 2010.

  1. Katie_EE

    Thread Starter New Member

    Apr 8, 2010

    For part of my lab I have to determine the Avg power dissipation of a cmos inverter with a load capacitance of 20 pF at frequencies of 1kHz, 10kHz, 100KHz and 1MHz using a power supply of Vdd = 5v.

    I have the code for all of it...EXCEPT the frequency...
    does anyone know how to input the frequency?

    here is my code so far without the frequency...:


    MD 3 2 0 0 NMOL1
    MP 3 2 1 1 PMOD1
    CL 3 0 20pF
    VI 2 0 PULSE (0 5V 0 1ns 1ns 1.5ms 4ms)
    VDD 1 0 DC 5V

    .DC VI 0 5 .01

    .MODEL NMOL1 NMOS (L=3U W=6U KP=69U GAMMA=0.37
    +LAMBDA=0.06 RD=1 RS=1 VTO=1.0 TOX=0.04U
    +CBD=2F CBS=2F CJ=200U CGBO=200P CGSO=40P CGDO=40P)

    .MODEL PMOD1 PMOS (L=3U W=6U KP=34.5U GAMMA=-0.37
    +LAMBDA=0.06 RD=1 RS=1 VTO=-1.0 TOX=0.04U
    +CBD=2F CBS=2F CJ=200U CGBO=200P CGSO=40P CGDO=40P)

    .TRAN 5n 10m
  2. Ghar

    Active Member

    Mar 8, 2010
    You set frequency using the period of the pulse.
    Katie_EE likes this.