Back

Logic Gates

Key Concepts — Logic Gates

01

Logic gates are circuits whose output depends on Boolean inputs (HIGH/1 or LOW/0). Building blocks of all digital systems.

02

Basic gates: AND, OR, NOT. Universal gates: NAND, NOR (any logic can be built from either alone).

03

Truth tables define each gate's behaviour. AND: output 1 only if all inputs 1. OR: output 1 if any input 1. NOT: inverts input.

04

XOR (exclusive OR): output 1 when inputs differ. XNOR: complement of XOR.

05

DeMorgan's laws: (A·B)' = A' + B' and (A+B)' = A'·B'. Lets you convert AND into OR (with inversions) and vice versa.

06

CMOS technology builds all logic from complementary p-MOS and n-MOS pairs — very low static power consumption.

07

Standard CMOS voltages: V_DD = 3.3 V or 5 V; logic 0 < ~0.8 V, logic 1 > ~2.0 V (TTL levels).

08

Combinational logic: output depends only on current inputs (adders, multiplexers). Sequential logic: output also depends on past (flip-flops, registers, memory).