Solution Inverter
Solution Inverter
Solution Inverter
1) Consider the CMOS inverter circuit in Figure P1 with the following parameters. Assume long channel transistors and no velocity saturation.
Vin
Vout
Figure P1 Find VOL, VOH, VIL, and VIH on the VTC. Also find the noise margins of this inverter.
2) Consider a CMOS inverter circuit with power supply voltage VDD = 3.3V. The I-V characteristic of the NMOS transistor is specified below. When VGS=3.3V, the drain current reaches its saturation level Isat = 2mA, for VDS > 2.5V. Assume that the input signal applied to the gate is a step pulse that switches instantaneously, from 0V to 3.3V.
3) Consider a CMOS inverter with supply voltage of VDD = 5V. Assume long channel transistors and no velocity saturation. Determine the fall time tfall, defined as the time elapsed between 90% to 10% transition of the output voltage. Assume kn = 20A/V2, others are given below.
5) For the resistive-load inverter in Figure P5, and assume an output load of 3 pF Given: VT0 = 0.43V, VDSAT=0.63, kn=115A/V2, = 0.06 V-1, VOH = 2.5V, VOL = 0.0463V
Figure P5 a) Calculate tplh, tphl, and tp Solution tpLH=0.69RLCL= 155 nsec. For tpHL: First calculate Ron for Vout at 2.5V and 1.27315V At Vout=2.5V, IDVsat=0.439mA giving Ron= 5695 (VOH VOL)/2.
t Vout=1.27315V, IDvsat=0.4106mA giving Ron= 3100.85. Thus, the average resistance between Vout=2.5V and Vout=1.27315V is Raverage=4.398k. tpHL=0.69RaverageCL=9.104nsec. tp=av{tpLH, tpHL}=82.05nsec ASIDE: if first-order approximation is considered, such that the 50% point is Vdd/2 t Vout=1.25V, IDvsat=0.41m giving Ron= 3049. Thus, the average resistance between Vout=2.5V and Vout=1.25V is Raverage=4.372k. tpHL=0.69RaverageCL=9.05nsec. tp=av{tpLH, tpHL}=82.0nsec b) Are the rising and falling delays equal? Why or why not? Solution tpLH >> tpHL because RL=75k is much larger than the effective linearized on-resistance of M1. c) Compute the static and dynamic power dissipation assuming the gate is clocked as fast as possible. Solution Static Power: VIN=VOL gives Vout=VOH=2.5V, thus IVDD=0A so PVDD=0W. VIN=VOH gives Vout=VOL=46.3mV, which is in the linear region. Calculating the current through M1 gives IVDD=32.8A PVDD=82W Dynamic Power: NOTE: fmax= 1 / tp =1 / 82.0nsec Pdyn=CLV*Vdd*fmax=3pF*(2.5V-46.3mV)*2.5V*12.2MHz=0.225mW.
6) Figure P6 shows two implementations of MOS inverters. Circuit A uses only NMOS transistors. Circuit B is a static CMOS inverter (NOTE: short-channel transistors and velocity saturated)
W/L = 0.75/0.25
Figure P6
Setting ID3 + ID4 = 0, we get VM = 1.095V. So the assumption that both transistors were velocity saturated holds.
b) Find VIH, VIL, NML and NMH for each inverter and comment on the results. Given that VIL = 0.503V and VIH = 1.35V for circuit A, and VIL = 0.861V and VIH = 1.22V for circuit B. How can you increase the noise margins and reduce the undefined region? Solution Circuit A Based on the VOL and VOH from part (a) VIL = 0.503V, VIH = 1.35V NMH = VOH - VIH = 1.765 - 1.35 = 0.415V, NML = VIL - VOL = 0.503- 0.263 = 0.240V Circuit B VIL = 0.861V, VIH = 1.22V NMH = VOH - VIH = 2.5V - 1.22V = 1.28V, NML = VIL - VOL = 0.861V- 0V = 0.861V We can increase the noise margins by moving VM closer to the middle of the output voltage swing. c) Comment on the differences in the VTCs, robustness and regeneration of each inverter. Solution It is clear from the two VTCs, that the CMOS inverter is more robust, since the low and high noise margins are higher than the first inverter. Also the regeneration in the second inverter is greater since it provides rail to rail output and the gain of the inverter is much greater.
7) For this problem assume: VDD = 2.5V, WP/L = 1.25/0.25, WN/L = 0.375/0.25, L=Leff =0.25m (i.e. xd= 0m), CL=Cinvgate, kn = 115A/V2, kp= -30A/V2, Vtn0 = | Vtp0 | = 0.4V, = 0V-1, = 0.4, 2|f|=0.6V, and tox = 58A. Use the HSPICE model parameters for parasitic capacitance given below (i.e. Cgd0, Cj, Cjsw), and assume that VSB=0V. (NOTE: short-channel transistors and velocity saturated)
Figure P7
a) What is the VM for this inverter? Solution Assume that VM is around midrail (1.25V). That means that the NMOS is velocity saturated and the PMOS is saturated. To find VM, we set the sum of the currents at Vout equal to 0 using the correct equation for each device:
b) Calculate tPHL, tPLH assuming CLeff = 6.5fF. (Assume an ideal step input, i.e. trise=tfall=0. Do this part by computing the average current used to charge/discharge CLeff.) Solution We can estimate the propagation delay using the approximation t =Q/I, where Q 10
= CLeffVDD and I is the average current used to charge/discharge CLeff. During the high-to-low transition CLeff is discharged through the NMOS transistor so I = IavgN. During the low-to-high transition CLeff is charged through the PMOS transistor so I = IavgP. In summary:
IavgP =
IavgN =
0.223 0.208
0.216
37.65
included channel length modulation, but it is ok if your solution did not (see problem assumptions).
8) Consider the circuit in Figure P8 (which is a low-swing driver, not an inverter). Given VTn0 = 0.43 and VTp0 = -0.4. NOTE: short-channel transistors and velocity saturated.
Figure P8
a) What is the voltage swing on the output node (Vout)? Assume =0. 11
Solution The range will be from 0.4 V to 2.07 V, since the PMOS is a weak pull down device and the NMOS is a weak pull up device. b) Compute tpLH (i.e. the time to transition from VOL to (VOH + VOL) /2). Assume the input rise time to be 0. VOL is the output voltage with the input at 0V and VOH is the output voltage with the input at 2.5V. Solution When the input is high and the capacitor charges, the PMOS device is in cutoff and the NMOS is velocity saturated for the duration of the charging. The total voltage range is 0.4 V to 2.07 V, so the midpoint is 1.24 V. We can use the average current method to approximate tplh. For the velocity saturated NMOS:
Solving for the current at V=0.4 V and V=1.24 V and averaging yields an average current of 404 uA. Then:
12