Pspice Code For a Pmos

Thread Starter

Katie_EE

Joined Apr 8, 2010
14
I am trying to write code for a Pmos Load in Series with a Resistive Driver.

I am given the Vin = V(gate) = 3V and i must calculate Vout that is the node in between the Pmos and the resistor.

Given parameters:

Vss = 15v
VTO = -1.5
KP = 30E-6

I have to use Pspice to Verify it...

this is my Code so far:

* Problem 5
VSG 1 2
VSD 1 3
RS 3 0 5K
VI 2 2 DC 3
M1 1 1 3 0 M
VDD 1 0 DC 15
.MODEL M PMOS (VTO = -1.5 KP = 30E-6)
.DC VSD 0 16 0.05 VSG 0 16 .5
.PROBE
.END

I keep getting this error:
ERROR -- Voltage source and/or inductor loop involving VI
You may break the loop by adding a series resistance

i am not sure how to fix it...

Any suggestions on how i can fix this?
 
Top