Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
17-Phys-A5-B — Analog and Digital Electronic Circuits — National Exams, May 2019
3 hours duration. Open book exam. Answer all SIX (6) questions.
Reference texts: A. S. Sedra & K. C. Smith, Microelectronic Circuits, 8th ed. (diode limiting circuits Ch. 4, BJT biasing and common-base amplifiers Ch. 6, MOSFET differential amplifiers and current mirrors Ch. 7–8, frequency response Ch. 9, feedback amplifiers Ch. 10, D/A converters Ch. 17); M. M. Mano & M. D. Ciletti, Digital Design, 6th ed. (Boolean algebra Ch. 2, static CMOS logic gates Ch. 10).
Fig. 6 — AND-OR-INVERT (AOI) gate: PDN = $(A,B,C$ in series$)\parallel D$ pulls the internal node $Y'$ low exactly when $ABC+D=1$; PUN is its series/parallel dual. A final inverter restores the true (non-inverted) $Y$.
Approach. Any static CMOS gate is naturally inverting, so first build the AND–OR–INVERT (AOI) network that realizes $Y'=\overline{A\cdot B\cdot C+D}$ directly from the Boolean expression (series=AND, parallel=OR in the NMOS pull-down; the PMOS pull-up is the exact series/parallel dual), then append one inverter stage to recover the non-inverted $Y$ the question asks for.
Pull-down network (PDN, NMOS). The PDN must conduct (pull the internal node $Y'$ to 0) exactly when $A\cdot B\cdot C+D=1$. Series NMOS realize AND, parallel branches realize OR: put NMOS $A$, $B$, $C$ in series (conducts only when $A=B=C=1$), and put NMOS $D$ in parallel with that series chain (conducts whenever $D=1$). $$Y' = \overline{A\cdot B\cdot C + D}$$
Pull-up network (PUN, PMOS) — the dual. Standard CMOS duality: series in the PDN becomes parallel in the PUN, and parallel becomes series. So PMOS $A$, $B$, $C$ are wired in PARALLEL with each other, and that group is in SERIES with PMOS $D$, between $V_{DD}$ and $Y'$. This conducts (pulls $Y'$ high) exactly when $D=0$ AND at least one of $A,B,C=0$ — the exact logical complement of the PDN's conduction condition, so $Y'$ is always driven to a valid logic level for all 16 input combinations.
Restore the non-inverted output. A static CMOS network always produces the complement of what its PDN pulls down on; since the question asks for $Y$ itself (not $Y'$), append one standard CMOS inverter (one NMOS + one PMOS, gates tied to $Y'$) so that $$\boxed{Y = \overline{Y'} = \overline{\overline{A\cdot B\cdot C+D}} = A\cdot B\cdot C+D}$$
Network
Topology
PDN (NMOS)
$(A\text{-}B\text{-}C$ series$)\parallel D$, between $Y'$ and GND
PUN (PMOS)
$(A\parallel B\parallel C)$ in series with $D$, between $V_{DD}$ and $Y'$