Module 1: Foundations of Digital Logic · 1.3 Logic Gates & Truth Tables

Physical Characteristics of Digital Logic Gates

A logic gate is a physical semiconductor circuit that evaluates a Boolean function. This article describes the physical characteristics of logic gates, including the abstraction hierarchy, CMOS technology, propagation delay, fan-in, fan-out, and critical timing paths.

Abstraction Hierarchy in Digital Systems

Digital design divides hardware complexity across standardized abstraction levels. Each level hides physical implementation details and provides a defined interface to the higher level.

The abstraction hierarchy
Figure 1: Digital design abstraction hierarchy from system architecture to semiconductor physics

  1. System Level: Defines system architecture, memory maps, and functional blocks.
  2. Register-Transfer Level (RTL): Describes data flow and registers using hardware description languages (such as Verilog).
  3. Logic Gate Level: Represents the design as interconnected logic gates (AND, OR, NAND, flip-flops).
  4. Transistor Level: Implements gates using NMOS and PMOS transistors.
  5. Physical Layout Level: Defines semiconductor diffusion regions, polysilicon gates, and metal routing layers.

CMOS Circuit Structure

Most integrated circuits use Complementary Metal-Oxide-Semiconductor (CMOS) technology. CMOS circuits use two complementary types of Field-Effect Transistors (MOSFETs):

  • NMOS Transistors: Conduct electrical current when the gate voltage is HIGH. NMOS transistors connect between the output node and ground to form the pull-down network.
  • PMOS Transistors: Conduct electrical current when the gate voltage is LOW. PMOS transistors connect between power supply $V_{DD}$ and the output node to form the pull-up network.

In a steady logic state, exactly one network conducts. The circuit draws near-zero static current when inputs remain constant. Electrical power is dissipated primarily during switching transitions.

The fundamental CMOS building block is the inverter. It contains one PMOS transistor and one NMOS transistor. When the input is HIGH, the NMOS transistor conducts and pulls the output to ground (0 V). When the input is LOW, the PMOS transistor conducts and pulls the output to $V_{DD}$.

Propagation Delay

Logic gates do not switch instantaneously. The time difference between an input voltage transition and the resulting output voltage transition is the propagation delay ($t_{pd}$).

Standard cell timing models define two transition parameters:

  • $t_{pd,LH}$: Propagation delay when the output transitions from LOW to HIGH.
  • $t_{pd,HL}$: Propagation delay when the output transitions from HIGH to LOW.

These delay values differ because electron mobility in NMOS channels is approximately two to three times higher than hole mobility in PMOS channels. To balance transition times, silicon designers make PMOS transistors wider than NMOS transistors.

Semiconductor Process Node Typical Gate Propagation Delay
5 nm CMOS 15 to 30 ps
28 nm CMOS 50 to 100 ps
180 nm CMOS 200 to 500 ps
Legacy TTL (7400 series) Approximately 10 ns

Fan-In and Fan-Out Constraints

Fan-In

Fan-in specifies the number of input terminals on a logic gate. In CMOS design, additional inputs require extra transistors connected in series. Series transistors increase electrical resistance and degrade switching speed. Therefore, standard cell libraries typically restrict single-stage gates to a maximum fan-in of four.

Fan-Out

Fan-out defines the number of standard gate inputs connected to a single gate output. Each driven gate input introduces input capacitance. As load capacitance increases, the output transition time and propagation delay increase proportionally.

One output driving eight loads
Figure 2: Electrical loading effects when a single output drives multiple capacitive gate inputs

Standard cell designs generally limit direct fan-out to four or eight loads. When an output must drive many destinations, logic synthesis tools insert automated buffer trees to distribute capacitive load and preserve signal transition times.

Critical Timing Path Analysis

In synchronous digital design, the critical path is the combinational logic path that exhibits the longest propagation delay between two sequential registers.

The critical path determines the minimum operational clock period ($T_{clk}$) and maximum clock frequency ($f_{max}$):

$$T_{clk} \ge t_{cq} + t_{critical_comb} + t_{setup} + t_{skew}$$

$$f_{max} = \frac{1}{T_{clk}}$$

Where:

  • $t_{cq}$: Clock-to-Q propagation delay of the launch flip-flop
  • $t_{critical_comb}$: Cumulative propagation delay of all combinational gates along the path
  • $t_{setup}$: Required setup time of the destination flip-flop
  • $t_{skew}$: Maximum clock skew between clock pins

When a timing violation occurs, designers must apply one of three modifications:

  1. Restructure the combinational logic to reduce gate depth.
  2. Insert pipeline registers to divide the path across multiple clock cycles.
  3. Reduce the system clock frequency.

Delay Estimation: Inverter Chain

Figure 3 illustrates propagation delay accumulation across an inverter chain. Five cascaded inverters with $t_{pd} = 100\text{ ps}$ generate a total path delay of $500\text{ ps}$.

Five inverters in series
Figure 3: Delay accumulation across an inverter chain with inserted intermediate buffer

If an automated synthesis tool inserts an intermediate buffer with $t_{pd} = 50\text{ ps}$ to resolve a slew violation, the total path delay increases to $550\text{ ps}$.

Designers use Liberty timing libraries (.lib) and Standard Delay Format (SDF) files to perform precise timing analysis across Process, Voltage, and Temperature (PVT) operating corners.

Practice Exercises

Exercise 1: A combinational path between two registers passes through six gates with $t_{pd} = 80\text{ ps}$ each, plus one buffer with $t_{pd} = 40\text{ ps}$. The destination register requires setup time $t_{setup} = 30\text{ ps}$, and the clock skew budget is $t_{skew} = 20\text{ ps}$. Neglecting clock-to-Q delay, calculate the maximum operating clock frequency ($f_{max}$).

View Solution

Calculate total combinational path delay:

$$t_{path} = (6 \times 80\text{ ps}) + 40\text{ ps} = 480\text{ ps} + 40\text{ ps} = 520\text{ ps}$$

Calculate minimum clock period:

$$T_{clk} = 520\text{ ps} + 30\text{ ps} + 20\text{ ps} = 570\text{ ps}$$

Calculate maximum frequency:

$$f_{max} = \frac{1}{570 \times 10^{-12}\text{ s}} \approx 1.75\text{ GHz}$$

Exercise 2: A control signal must drive 20 standard gate inputs. The standard cell library guideline recommends a maximum fan-out of 4 per buffer. Determine the number of buffers and tree levels required to distribute this signal.

View Solution
  1. Level 2 (output stage): Driving 20 loads requires $\lceil 20 / 4 \rceil = 5$ buffers.
  2. Level 1 (intermediate stage): Driving 5 buffer inputs exceeds the fan-out limit of 4. Therefore, add two intermediate buffers (one driving 3 buffers, one driving 2 buffers).
  3. The root signal drives the two Level 1 buffers.

Total buffer count: 7 buffers ($2 + 5$). The buffer tree introduces two additional stages of propagation delay.

← Algebraic Simplification The Seven Basic Logic Gates →