The Effect Of The Threshold Voltage On Switch Operation

** Circuit Description **
* Input signal
Vi 2 0 DC 0V PWL (0 -5V 100ns -5V 200ns 5V 10ms 5V)
* Substrate Bias
Vss 3 0 DC -5V
* Control Signal
Vphi 1 0 DC +5V 
* Switch: NMOS Transistor
M1 2 1 6 3 nmos_enhancement_mosfet L=100u W=100u
* Load resistor 
Rload 6 0 100k
Cload 6 0 10pF
* mosfet model statement (by default, level 1)
.model nmos_enhancement_mosfet nmos (kp=0.25m Vto=+1.0V lambda=0.02 gamma=0.9)
** Analysis Requests **
.TRAN 1ns 500ns 0ns 1ns
** Output Requests **
.PLOT TRAN V(6)
.Probe
.end