Different Frequencys in PSPICE

Thread Starter

Katie_EE

Joined Apr 8, 2010
14
Hello,

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...:

*CMOS INVERTER FIGURE 2.2d)

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
.PROBE
.END
 
Top