Modules 1 & 2 - NMOS Review

Section 4.2: NMOS Equations

A summary of the needed NMOS equations is as follows:

NMOS Model Summary

For all regions:

Kn=KnWL,Kn=μnCox=μnϵoxtox,IG=0,IB=0

For the Cutoff Region, when VGSVtn:

VGSVtnID=0

For the Triode Region, when VGSVtnVDS0:

ID=Kn((VGSVtn)VDS12VDS2)

For the Saturation Region, when VDSVGSVtn=VOV0. If ideal, then λ=0:

ID=Kn2(VGSVtn)2(1+λVDS)

The Threshold Voltage Vtn is calculated via:

Vtn=Vto+γ(vSB+2ϕF2ϕF)

Where ϕF is the flat-band voltage of the ENMOS, seen in [[EE 306 MOSFETs Equation Sheet Fall 2023.pdf]], and γ is the Body-effect parameter for the ENMOS.

There are some other parameters that we use to convert an NMOS to various formats, for instance, the transconductance gm is defined by:
SS

gm=δiDδvGS|Qpt=KnWL(VGSVtn)=2IDVGSVtn

Further, the on-resistance is the resistance in the triode region near the origin, given by:

Ron=[δiDδvDS]1|Qpt=1KnWL(VGSVtnVDS)=1KnWL(VGSVtn)

Sections 6.1-6.3: Inverter Characteristics - Digital Paradigm

6.1: Ideal Logic Gates

The logic symbol and voltage transfer characteristic (VTC) for an ideal inverter is given in the figure below:

6.2: Logic Level Def's and Noise Margins

Really the inverter circuit is a voltage controlled switch:
Pasted image 20240115194303.png

The transfer curve in 6.3(a) shows how the transition from VH to VL (or vice versa) is really gradual.
When VI<VIL which is the input low-logic-level, then we say that the input is logic low. Similarly, VI>VIH implies an input high-logic-level. These are defined as when the slope is 1. The region in-between is an indeterminate logic level, which includes when the slope is <<1. The points VOH,VOL are the logic level voltages of VH at the points of VIL,VIH respectively. We analyze this 'undefined' region later on. To summarize:

For our purposes V=0V, V+=2.5,3.3V.

6.2.2 Noise Margins

NML,NMH

NML=VILVOLNMH=VOHVIH

Example

If a TTL gate has VOH=3.6V,VOL=0.4V,VIH=2.0V,VIL=0.8V, then:

NML=0.8V0.4V=0.4V,NMH=3.6V2.0V=1.6V

6.2.3 Logic Gate Design Goals

Goals for logic gates:

  1. Minimize the width of the undefined input voltage range (ie: high noise margins)
  2. Input shouldn't be affected by Output
  3. Similar values of VOL,VOH,... should be used among all gates
  4. There should be allowed to have many different inputs to control one output, and many output to control an input of another gate
  5. It should consume little power

6.3 Dynamic Response of Logic Gates

The clock speed of a processor is bottle necked by the propagation delay, rise time, ..., which are all things we now have control of.

6.3.1 Rise and Fall Time

rise time tr is the time a signal takes from going from the 10% point to 90% point. The fall time tf is the same idea, but from going from 90% to 10% Pasted image 20240115202148.png
Here:

V10%=VL+0.1ΔVV90%=VL+0.9ΔV=VH0.1ΔVΔV=VHVL

6.3.2 Propagation Delay

Propagation Delay is the difference in time between the input and output signals reaching their 50% mark. The 50% point (in volts) is defined as:

V50%=VH+VL2

The propagation delay on the high-to-low output transition is τPHL and from low-to-high output transition is τPLH. The average propagation delay is the average of the two:

τP=τPLH+τPHL2
Example

Look at [[Pasted image 20240115202148.png]]. If VL=2.6V and VH=0.6V, and t1=100ns,t2=105ns,t3=150ns,t4=153ns, what are V10%,V90%,V50%,tr,tf?

Proof
We know that:

ΔV=VHVL=2.0VV10%=VL+0.1ΔV=2.4VV90%=VH0.1ΔV=0.8VV50%=VL+VH2=1.6Vtr=t4t3=3nstf=t2t1=5ns

6.3.3 Power-Delay Product

There's a power cost to switching a wire from 0 to 1 or vice versa, and for a whole gate there's an additive total cost. In low power regions, gate delay is dominated by inter gate wiring capacitance. But if we increase the power and device size, then we get limited by the speed of the electronic switching itself.

For our low-power purposes, we have it that the propagation delay decreases in direct proportion to the increase in power, so then the power-delay product (PDP) is defined as:

PDP=PτP

where P is the average power dissipated by the logic gate.