warlocklw
Newbie level 5
- Joined
- Oct 27, 2013
- Messages
- 8
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 3
- Activity points
- 56
I got the above waveform. I need to get like below:
It's switching leakage current. How do I do? Below is my code.
__________________________________________________________
Vdd vdd gnd dc=1v
* --- Source ---
Vgate gate gnd 0
* --- 1 unit Inverter ---
Mp1 drain gate vdd vdd pmos1 W=20um L=3um
Mn1 drain gate gnd gnd nmos1 W=10um L=3um
.dc vgate 0 1 0.01
.print dc v(drain)
.end