Digital Integrated Circuits: CMOS Logic, Delay Optimization, Sequential Elements, and Semiconductor Memories
Static CMOS Logic Design and Transistor Sizing
Fundamental Complementary Structure:
Static CMOS gates consist of two complementary sub-networks: a Pull-Up Network (PUN) constructed from PMOS transistors connected to , and a Pull-Down Network (PDN) constructed from NMOS transistors connected to .
The PUN and PDN are mutually exclusive during steady-state operation; when the PUN conducts, the output node charges to (logic ), and when the PDN conducts, the output discharges to (logic ).
Dual network topology: Inputs that place NMOS transistors in series within the PDN correspond to PMOS transistors in parallel within the PUN (e.g., NAND gates). Conversely, parallel NMOS configurations in the PDN map to series PMOS configurations in the PUN (e.g., NOR gates).
Carrier Mobility and Inverter Sizing:
Electron mobility () in the NMOS channel is significantly higher than hole mobility () in the PMOS channel, typically by a factor of to .
To achieve symmetric rise () and fall () propagation delays and place the gate switching threshold () at approximately , the PMOS channel width must be scaled larger than the NMOS channel width:
If a reference symmetrical unit inverter has an NMOS width of and a PMOS width of or , its total input capacitance equals:
Transistor Sizing in Complex Gates:
N-input NAND Gate:
The PDN consists of NMOS transistors in series. To maintain an equivalent pull-down resistance equal to a unit inverter, each series NMOS must have its width scaled by :
The PUN consists of PMOS transistors in parallel. In the worst-case scenario where only one PMOS is conducting, its width must match the unit PMOS inverter width:
N-input NOR Gate:
The PDN consists of NMOS transistors in parallel. In the worst-case single-transistor conduction, the NMOS width is identical to a unit inverter:
The PUN consists of PMOS transistors in series. To maintain equivalent pull-up resistance , each series PMOS must be scaled by :
Because series PMOS sizing causes prohibitive area and parasitic capacitance penalties, high fan-in static NOR gates are avoided in high-performance digital libraries.
Switching Point Characteristics:
The switching threshold () is defined as the operating point where .
Deviations in the width ratio shift :
Increasing PMOS width shifts the transfer curve to the right (higher ), enhancing low noise margin () at the expense of high noise margin ().
Elmore Delay Model and Parasitic RC Analysis
Equivalent Resistance of MOSFET Channels:
In digital switching, transistors operate over saturation and triode regions. The channel is approximated by an effective switched-on resistance:
The effective channel resistance scales inversely with width: doubling halves the on-resistance .
Lumped and Distributed RC Delay:
For a uniform distributed RC transmission line representing long metal interconnect or polysilicon gates with total resistance and total capacitance , the propagation delay calculated through diffusion modeling yields:
The factor of distinguishes a distributed network from a single lumped RC network where .
Elmore Delay Formulation:
For an RC tree with non-cyclic topologies, the Elmore delay from the driving source to any destination leaf node is:
is the path resistance from the input source to the common ancestor node shared between node and node .
is the lumped capacitance located at node .
Internal Node Parasitics and Stacking Effects:
In a series stack of NMOS transistors discharging an output node to ground:
Each internal source/drain junction contains parasitic diffusion capacitance consisting of bottom-plate area capacitance () and sidewall perimeter capacitance ():
The discharge delay involves charging/discharging all intermediate internal node capacitances through successive channel resistances, producing a delay that scales quadratically with stack depth :
To mitigate stack delays, shared diffusion contacts and tailored transistor sizing (tapering transistors closer to ground to be larger) are implemented in critical paths.
Dynamic Power, Short-Circuit Power, and Leakage Mechanisms
Dynamic Capacitive Power Dissipation:
During a transition, an energy of is drawn from the power supply. Half of this energy () is dissipated as heat in the PUN, and the remaining half is stored on the load capacitor .
During the subsequent transition, the stored energy () is discharged to ground through the PDN and dissipated as heat.
Total dynamic switching power over continuous operation at clock frequency with switching activity factor is:
Short-Circuit Power Dissipation:
During input transitions with finite rise and fall times (), there is an interval when the input voltage satisfies:
In this window, both NMOS and PMOS conduct simultaneously, creating a direct current path from to ground.
Short-circuit power is given by:
Minimizing input transition times relative to output transition times suppresses short-circuit current.
Static Leakage Current Mechanisms:
Subthreshold Leakage (): Conduction in the weak inversion region when :
Gate-Oxide Tunneling Leakage (): Quantum mechanical tunneling of electrons/holes through thin gate dielectrics (), highly dependent on electric field across the oxide ().
Junction Reverse-Bias Leakage (): Band-to-band tunneling (BTBT) and drift-diffusion current across the reverse-biased source/drain-to-substrate pn junctions.
Sequential Circuits, Latches, and Clock Timing Metrics
Bistability and Cross-Coupled Inverter Pairs:
Two cross-coupled inverters form a static bistable storage element featuring two stable operating points ( and ) and one metastable equilibrium point situated where the transfer curves intersect near .
Metastability occurs when electrical noise or asynchronous switching places the differential node voltages exactly on the unstable threshold, leading to non-deterministic settling times governed by the loop regeneration time constant ().
SR Latch Architectures and Operation:
NOR-based SR Latch:
Active-high inputs (Set) and (Reset).
Input condition forces .
Input condition forces .
Input condition corresponds to the hold (quiescent) state.
Input condition is forbidden; both outputs are forced to , violating complementarity (), and leading to race conditions/metastability upon simultaneous transitions back to .
NAND-based Latch:
Active-low control inputs and .
Quiescent state occurs when .
sets , while resets .
Forbidden input combination is .
Master-Slave D Flip-Flop Configuration:
Constructed by cascading two level-sensitive D-latches in series: a Master latch followed by a Slave latch, driven by complementary clock signals ( and ).
When ():
Master latch is transparent; it samples the external input onto intermediate node .
Slave latch is opaque (in hold state); it isolates the primary output from variations at .
When transitions from :
Master latch becomes opaque, capturing the logic level present at immediately before the clock edge.
Slave latch becomes transparent, propagating the captured state from to the system output .
This arrangement prevents through-transparency and implements edge-triggered sequential behavior.
Critical Sequential Timing Parameters:
Setup Time (): The minimum continuous duration that data input must remain stable before the active clock edge occurs to ensure valid latching.
Hold Time (): The minimum continuous duration that data input must remain stable after the active clock edge occurs to prevent overwriting the sampled data.
Clock-to-Q Propagation Delay (): The elapsed time between the arrival of the active clock edge and the valid transition of the output .
Maximum Operating Frequency Constraint:
Hold Time Violation Condition:
If the minimum logic delay is too small, an early arriving data signal can race through the logic and corrupt the subsequent register on the same clock cycle.
Method of Logical Effort and Delay Optimization
Linear Delay Model:
Normalized delay of a logic gate driving a load is expressed as:
is the Logical Effort, representing the gate's topological efficiency at delivering current relative to an inverter having identical input capacitance.
is the Electrical Effort (effective fan-out):
is the Parasitic Delay, representing intrinsic internal diffusion delay when driving zero external load ().
Logical Effort Values for Standard Topologies:
Inverter: ,
N-input NAND Gate:
2-input NAND: ,
3-input NAND: ,
N-input NOR Gate:
2-input NOR: ,
3-input NOR: ,
Path Delay Minimization in Multi-Stage Inverter Chains:
For a path of stages driving a capacitive load from an input capacitance :
Path Logical Effort:
Path Electrical Effort:
Path Branching Effort: , where
Total Path Effort:
Minimum path delay occurs when the stage effort is equal across all stages:
The minimum total path delay is:
Optimal Number of Stages ():
Differentiating path delay with respect to yields the condition:
For ideal parasitic delay , .
For realistic CMOS inverters (), optimal stage effort is to .
Optimal stage count is determined by:
Inverter Sizing Procedure:
Given stage effort , input capacitance for stage is sized according to:
Working backward from the final external load , each buffer transistor width scales upward geometrically by a factor of to .
Pass-Transistor Logic and Complementary Transmission Gates
Single-MOSFET Pass-Transistor Limitations:
NMOS Pass Transistor:
Transfers a logic () completely to the output (strong ) because , keeping the device in linear/triode conduction until .
Transfers a degraded logic (weak ): as the output charges up, the gate-to-source voltage drops to . Conduction stops when , causing the output to clamp at:
PMOS Pass Transistor:
Transfers a full rail-to-rail logic () completely (strong ).
Transfers a degraded logic (weak ): conduction ceases when the source drops to , clamping the output at:
Body Effect in Pass Transistors:
Because the substrate of an NMOS pass transistor is permanently connected to while its source node rises toward , a significant source-to-body reverse bias voltage () develops.
The threshold voltage increases according to the body effect equation:
This dynamic threshold elevation drops the transferred high voltage significantly below nominal levels (e.g., dropping a supply down to –).
When driving a subsequent static CMOS inverter, this attenuated voltage causes static DC current in the receiver because the PMOS pull-up cannot turn off completely ().
Complementary Transmission Gate (TG):
Constructed by placing an NMOS and a PMOS transistor in parallel, gated by complementary control signals ( and ).
When active ():
For low input voltages (), the NMOS operates in saturation/triode mode and passes a solid ground.
For high input voltages (), the PMOS conducts and pulls the output up to .
In intermediate ranges, both devices conduct simultaneously.
The combined equivalent resistance is uniform across the entire voltage range:
Provides full rail-to-rail dynamic voltage swings ( to ).
Multiplexer (MUX) Implementation:
A 2-to-1 multiplexer using transmission gates requires two TGs controlled by selection signals and , joined at a common output node followed by a restorer inverter.
This design uses only 6 transistors (including the control inverter), compared to 12 transistors required in static CMOS AND-OR-INVERT configurations, reducing input load and silicon area.
Dynamic CMOS Logic and Domino Circuits
Precharge-Evaluate Logic Mechanism:
Dynamic gates employ a single clock signal () to cycle between two distinct functional phases, eliminating the static PMOS logic network:
Precharge Phase ():
A pull-up PMOS turns ON, precharging the dynamic output node to .
An evaluation NMOS in series with the PDN is held OFF, preventing static paths to ground.
Evaluate Phase ():
The precharge PMOS turns OFF, and the evaluation footer NMOS turns ON.
If the logic inputs satisfy the pull-down conditions, the dynamic node discharges to .
If the logic inputs do not satisfy the conditions, the dynamic node floats high on its lumped capacitance ().
Vulnerabilities of Dynamic Nodes:
Charge Leakage: Subthreshold and reverse-biased junction leakage currents continuously drain charge from a floating dynamic high node during extended evaluation phases, establishing a strict lower bound on clock frequency ().
Charge Sharing: When the dynamic node is precharged high and internal node capacitances within the PDN are discharged, turning ON an upper transistor without discharging the entire path redistributes charge, causing an unintended voltage drop:
If , downstream gates trigger false transitions.
Keeper Circuits: A small "keeper" PMOS connected across the precharge node, controlled by the inverted output, supplies compensation current to counteract subthreshold leakage and stabilize the floating node without degrading evaluate speed.
Domino Logic Cascading Constraint:
Direct cascading of dynamic gates leads to race conditions. If an upstream dynamic gate's output is precharged to , it prematurely turns ON the evaluate transistor of the downstream dynamic gate when , potentially discharging the downstream node before the upstream gate evaluates.
The Domino Rule: Every dynamic gate must be followed by a static CMOS inverter. During precharge, the dynamic node is , so the inverter output is . Downstream evaluation NMOS transistors remain OFF during precharge and can only switch monotonically () during evaluation.
Semiconductor Memory Architectures and Decoding
Hierarchical Memory Organization:
A random-access memory array containing words of bits each ( bits) is organized as a 2D matrix of storage cells.
The memory structure consists of:
An address bus partitioned into row addresses ( bits) and column addresses ( bits), where .
Row Decoder: A -to- decoder asserting exactly one horizontal Wordline () at a time.
Column Decoder: Selects a subset of vertical Bitlines () via pass gates/multiplexers to route to the input/output sense circuitry.
Sense Amplifiers: Differential amplifiers detecting small voltage differentials (–) between bitlines, accelerating access times.
Row Decoders and Wordline Driving:
Implements wide NOR or NAND logic. In high-density memories, dynamic or pseudo-NMOS NOR decoders are preferred over static gates to minimize transistor counts on pitched wordline boundaries.
A predecoded structure partitions the primary address decoding into smaller subsets (e.g., 2-to-4 predecoders), driving final row-select driver stages to minimize total gate loading.
Static and Dynamic RAM: 6T SRAM and 1T-1C DRAM Cell Operation
Six-Transistor (6T) SRAM Cell Architecture:
Consists of two cross-coupled CMOS inverters ( and ) forming the bistable latch, accessed by two NMOS pass transistors ( and ) connected to complementary bitlines ( and ).
Gates of and are controlled by the horizontal wordline ().
SRAM Read Operation and Sizing Constraint (Cell Ratio):
Read Sequence:
Bitlines ( and ) are precharged to and then floated.
Wordline is driven high (), turning ON access transistors and .
Assuming cell stores and , current flows from through and driver NMOS to ground, discharging .
Intermediate node rises to an intermediate voltage determined by the voltage divider between and :
Read Stability Constraint: To prevent accidental flipping of the cross-coupled cell, must not exceed the switching threshold of inverter ():
Cell Ratio (): The transconductance/width of the pull-down driver transistor must be larger than that of the access transistor:
SRAM Write Operation and Sizing Constraint (Pull-up Ratio):
Write Sequence:
Column drivers force one bitline to ground () and the other to ().
Wordline is asserted ().
The low bitline discharges the high storage node () through access transistor , overcoming the pull-up PMOS .
Writeability Constraint: Access transistor must be strong enough to pull node down below the threshold needed to turn on inverter against pull-up PMOS .
Pull-up Ratio ():
Combined sizing hierarchy: .
One-Transistor One-Capacitor (1T-1C) DRAM Operation:
The storage cell consists of a single NMOS access transistor and an explicit trench/stacked storage capacitor (–).
Read Operation and Charge Sharing:
Bitline with large parasitic capacitance (–) is precharged to .
Asserting connects to , causing charge redistribution. The resulting bitline voltage shift is:
Because , the signal is small (–), requiring high-gain differential cross-coupled sense amplifiers.
Destructive Read and Refresh: Reading discharges . Sense amplifiers must restore the rail-to-rail voltage back into the cell immediately after sensing. Continuous leakage through the access transistor requires periodic refresh cycles (typically every ).
Non-Volatile Semiconductor Memories: ROM and Flash Technologies
Read-Only Memory (ROM) Arrays:
NOR ROM Array:
Bitlines are precharged to .
Each memory cell consists of an NMOS transistor whose gate connects to a Wordline () and whose drain connects to a Bitline ().
Programming a logic consists of placing an active NMOS at the intersection; when the corresponding goes high, the NMOS discharges the bitline.
Programming a logic consists of omitting the transistor (or omitting the diffusion/contact contact), leaving the bitline pulled high.
Characterized by high access speeds, but larger footprint due to parallel bitline connections.
NAND ROM Array:
NMOS transistors are connected in series along a vertical bitline.
In unprogrammed cells (logic ), a functional transistor is present. In programmed cells (logic ), the transistor channel is continuously shorted via a threshold implant or diffusion bypass.
To read a cell, its selected wordline is driven to , while all unselected series wordlines are driven high to act as pass transistors.
Provides significantly higher packing density than NOR ROM, at the cost of higher series resistance and lower read speeds.
Floating-Gate MOSFET and Threshold Programming:
Floating-gate transistors contain an electrically isolated polysilicon gate embedded between the channel oxide and a control gate.
Trapping electrons on the floating gate shifts the effective threshold voltage () observed from the control gate:
Unprogrammed/Erased State: Zero or net positive charge on the floating gate yields a low threshold (). Applying normal read voltage on the control gate turns the device ON.
Programmed State: Stored negative charge raises the threshold to . The normal read voltage cannot turn the device ON, representing a programmed logic state.
Programming and Erase Mechanisms:
Channel Hot-Electron (CHE) Injection: High accelerates electrons along the channel; high control gate voltage () bends the dielectric band structure, injecting hot electrons across the potential barrier onto the floating gate.
Fowler-Nordheim (FN) Tunneling: A high electric field () across a thin tunneling oxide induces quantum tunneling through the triangular barrier, enabling bidirectional movement of electrons for bulk erase and programming.
Flash Architectures: NOR vs. NAND Flash:
NOR Flash:
Cells are connected in parallel to bitlines, allowing fast, random access to individual bytes.
Ideal for execute-in-place (XIP) code execution in microcontrollers and firmware storage.
NAND Flash:
Cells are placed in series strings (typically 32 to 128 transistors) bounded by block-select transistors.
Eliminates individual cell contacts, maximizing silicon storage density per unit area.
Read and write operations occur in pages (e.g., –), while erase operations occur in entire blocks (e.g., hundreds of pages), making it suitable for mass data storage (SSDs, USB media).