ALIFARID
Newbie level 5
- Joined
- Oct 16, 2011
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Los Angles
- Activity points
- 1,339
I need to help to fix my Hspice code!
For this problem I want to plot Vout, and I write this code for spice, but it dont work, plz help me to solve this problem, Vout has to be like a plot in the picture which i attached, but it dont works:
For this problem I want to plot Vout, and I write this code for spice, but it dont work, plz help me to solve this problem, Vout has to be like a plot in the picture which i attached, but it dont works:
HTML:
Vdd 1 0 3.3
Vin 4 0
R1 1 2 10K
R2 2 3 10K
M2 3 2 1 0 PPMOS l=.35u w=10.5u
*.MODEL NNMOS NMOS ad=36p as=36p pd=24u ps=24u
.MODEL PPMOS PMOS ad=36p as=36p pd=24u ps=24u
M1 3 4 0 0 NNMOS l=.35u w=14u
.MODEL NNMOS NMOS ad=36p as=36p pd=24u ps=24u
.DC vin -5 5 .01
.PROB V(R1)
.END