Switch logic and CMOS
First determine which transistor paths conduct for each input combination. Then identify the logic function, output voltage and any steady current. Static complementary CMOS separates the pull-up and pull-down roles.
7.1 Ideal switch networks
Past papers · EC 2020–2026 (7 papers): 1 question, 1 mark · EE 2020–2026 (7 papers): 1 question, 2 marks
Treat an ideal n-channel switch controlled by bit as closed for and open for ; an ideal p-channel switch closes for . Series conducting conditions combine by AND, parallel conditions by OR. A pull-down network conducts on the output's zero-set, provided a pull-up establishes high whenever that network is off.
An output with neither a conducting pull-up nor pull-down is floating, not automatically logic zero. If both paths conduct, calculate voltage division/current instead of assuming valid ideal logic. For real MOS pass transistors, threshold drops can matter; apply the stated transistor model rather than the ideal-switch assumption.
7.2 Static complementary CMOS gates
The nMOS pull-down network (PDN) joins the output to ground; the pMOS pull-up network (PUN) joins it to . The PUN is the series/parallel dual of the PDN, with the same gate-input labels. A valid static gate has one conducting network in every settled binary input state, apart from leakage.
For , use series nMOS in parallel with nMOS . Its PUN is parallel pMOS in series with pMOS . A non-inverting AND or OR needs a final inverter after NAND or NOR, adding two transistors. Arbitrary XOR implementations require complemented signals or a different network topology; do not infer their transistor count from the NAND count.
Original conduction-network diagram for a static CMOS AOI21 gate.
A CMOS inverter has pMOS above and nMOS below with common input gates. Input 0: pMOS on, nMOS off, output high. Input : nMOS on, pMOS off, output low. At the final low state nMOS has and is in the linear-region limit, not saturation merely because its gate is high. Transistor current equations and threshold models: see the Electronic Devices handbook.
7.3 Noise margins, switching and power
Past papers · EC 2020–2026 (7 papers): 1 question, 1 mark
One full 0→1→0 cycle dissipates ; the charged capacitor stores . If activity counts all output transitions, use half that activity in the power formula. Series transistor stacks increase effective resistance; sizing and carrier mobility affect delay. Ideal static CMOS has zero steady current in the binary states, but nonzero switching energy. CMOS reference.
Last-minute recall
- A conducting PDN gives a low output.
- Complementary CMOS uses dual series/parallel networks.
- NAND has series nMOS; NOR has series pMOS.
- A floating node is not a forced zero.
- Resistive pull-up logic can consume steady power.
- CMOS noise margins need not be symmetric.
- Switching power depends on 0-to-1 activity and squared supply voltage.
- A charged capacitor stores half the energy drawn from an ideal voltage source during charging.