I got a homework question as follows:
I was able to create triangle wave but I am having problem with the output wave. It is not exactly a square wave. What am I doing wrong ?
Simulate the Schmitt Trigger in the Figure 4 using SPICE. Sweep Vin form 0 to 3.2 and plot Vin versus Vout when VDD= 3.2V. Determine the threshold voltages Vth- and Vth+ from the plot. Use the following parameters:
NMOS : vt0=0.48 gamma=0.524 kp=1.02e-4 PMOS : vt0=-0.46 gamma=0.406 kp=5.16e-5
All the transistors have the same L = 60n and W1 = 1.8u, W2 = 720n, W3 = 180n W4 = 1.2u W5=1.8u W6=180n