Lec 03 - CMOS Logic
The Switch Model
To understand CMOS logic, we first treat transistors as ideal switches with specific characteristics regarding how well they pass logic levels (Voltage).
Switch Behavior
Closed (ON) when Gate = HIGH
Closed (ON) when Gate = LOW
Connection
Typically in PDN (Pull-Down Network)
Typically in PUN (Pull-Up Network)
Signal Strength
Passes Strong 0
Passes Strong 1
Passes Weak 1
Passes Weak 0
Voltage Limits
Output rises only to ()
Output drops only to
Because NMOS is bad at passing 1s and PMOS is bad at passing 0s, we use complementary pairs (CMOS). PMOS pulls up to (Strong 1), and NMOS pulls down to GND (Strong 0).
Deriving Boolean Functions
In static CMOS, the function is determined by the connection of transistors. The construction rule is to use PUN/PDN:
PDN (Pull-Down Network): Connects output to GND.
A OR B -> A and B in parallel
A AND B -> A and B in series
PUN (Pull-Up Network): Dual/The exact complement of the PDN. Connects output to .
To derive the CMOS logic,
Look at the PDN: Write the boolean equation based on the NMOS connections.
If A and B are in series:
If A and B are in parallel:
Invert the Overall Expression: The physical output of a CMOS gate is always inverted (NAND, NOR, NOT).
Transistor Sizing & Resistance
We size transistors to achieve Equal Worst-Case Resistance for both pull-up and pull-down paths. This ensures the rise time () and fall time () are approximately equal.
Physics
We start from the mobility ratio. Electrons (NMOS) are faster than holes (PMOS).
So, the resistivity ratio is
As the resistance formula is:
(Length) and (Height/Thickness) are fixed by the technology process.
We control (Width) to adjust Resistance.
Sizing for Symmetry
To achieve (Equal Resistance):
Since PMOS is 2x more resistive per unit width, we must make it 2x wider.
Ratio: and .
Definitions
Some other definitions that we might encounter
INV1X: A standard unit inverter where . We treat the NMOS resistance as "1 unit ". So, for the resistance
Pull-Up () = (1 Unit Resistance)
Pull-Down () = (1 Unit Resistance)
During the calculation, the pull-up result and the pull-down result should finally be simplified to assuming that is for NMOS.
In INV4x, the inverter that is 4 times larger (in terms of transistor width) than the standard INV1X. Thus, for the resistance.
Pull-Up () = (0.25 Unit Resistance)
Pull-Down () = (0.25 Unit Resistance)
For an INV4X inverter, the equivalent worst-case resistance for both the pull-up and pull-down networks simplifies to: .
Area Estimation: Total Width Sum () is an indicator of the total silicon area required.
Propagation Delay
Delay is the time required for the output to switch states.
(Low-to-High): Time to charge output to . Requires PMOS to conduct.
(High-to-Low): Time to discharge output to GND. Requires NMOS to conduct.
Calculation
We model the transistor as a resistor () and the load as a capacitor ().
Input Pattern
Delay depends on which and how many transistors are ON. For example, in the following figure, we can see that
A=B=1->0 will charge the fastest
Then is A=1->0, B=1 because only CL needs to be charged.
A=1, B=1->0 is the slowest because both CL and Cint need to be charged.

When analyzing a transition (e.g., Input B goes ). Treat signal B as 0 for the steady-state analysis of that timeframe.
This will give us a tip for circuit optimizing
Place the transistor controlled by the latest signal closer to the Output node (rather than the supply rail). This minimizes the capacitance that the late signal needs to charge/discharge, speeding up the final transition.
Advanced Circuit Structures
Pass Transistor Logic
Pass Transistor uses transistors as switches to pass data signals (not just /GND).

For example, we can use pass transistor logic to build a multiplexer as follows:

The issue is that passing a "1" through an NMOS results in a voltage drop ().
Transmission Gate
Transmission gate combines NMOS and PMOS together and it can pass both strong 0s and strong 1s. Thus, XOR gate and multiplexer can be built using transmission gate.

Level Restoration Circuit
When using Pass Transistors (specifically NMOS-only), the "Weak 1" can be problematic.

To solve it, we can use a "Level Restorer" (a weak PMOS feedback loop) to pull the node back up to full .

In a restorer circuit, the main driver (NMOS) must be stronger than the feedback keeper (PMOS) to toggle the state.
"Strong" and "Weak" refer to the ability to drive current.
PMOS Width: Larger = Stronger pull-up.
NMOS Width: Larger = Stronger pull-down.
Last updated

