01Chapter 1: Number systems, 2's complement and codes (BCD, Gray)Digital circuits store and process bit patterns. A bit pattern has meaning only after a representation is chosen. This chapter assumes binary and hexadecimal notation, basic Boolean operations, and elementary algebra.2 min read
02Chapter 2: Boolean algebra, logic gates and dualityAssume you can represent binary values and understand basic AND, OR, and NOT operations. This chapter uses Boolean algebra to describe and simplify digital circuits.2 min read
03Chapter 3: Minterms, maxterms and canonical formsAssume you know binary values, Boolean operators, and basic truth tables. This chapter uses + for OR, adjacency for AND, and a prime mark (') for NOT.2 min read
04Chapter 4: Simplifying functions with Karnaugh mapsThis chapter assumes that you can read binary numbers, use AND, OR, and NOT operations, and write a Boolean expression. A Karnaugh map, or K-map, is a visual method for simplifying a Boolean function. It helps you find larger product terms and reduce the number of gates.2 min read
05Chapter 5: Building circuits from NAND or NOR onlyThis chapter assumes you know Boolean variables, truth tables, AND, OR, and NOT gates. You should also be comfortable with Boolean algebra and De Morgan’s laws:2 min read
06Chapter 6: Half adders, full adders and subtractorsAssume you know binary addition, Boolean algebra, and the AND, OR, and XOR gates. A combinational circuit produces outputs from the current inputs only. Adders and subtractors are combinational circuits used inside arithmetic logic units and processors.2 min read
07Chapter 7: Ripple-carry versus carry-lookahead additionAssume you know binary addition, Boolean AND and OR, XOR, and the operation of a full adder. A full adder adds two operand bits and an incoming carry bit.1 min read
08Chapter 8: Multiplexers and implementing functions with themA multiplexer, or MUX, is a combinational circuit that selects one input and sends it to one output. “Combinational” means the output depends only on the current inputs, not on a clock or stored state.2 min read
09Chapter 9: Decoders, encoders and priority encodersAssume you know binary representation, Boolean operators, and basic combinational logic. A decoder converts an \(n\)-bit binary input into one of \(2^n\) active output lines. An encoder performs the reverse operation: it converts an active input line into its binary index. A **priority encod1 min read
10Chapter 10: ROM, PLA and PAL as logic implementationsAssume you know Boolean expressions, truth tables, minterms, and basic combinational circuits. This chapter treats a logic circuit as a function that maps input bits to output bits.2 min read
11Chapter 11: Static hazards and how to remove themAssume you know Boolean algebra, truth tables, Karnaugh maps, and two-level sum-of-products (SOP) and product-of-sums (POS) circuits. You should also know that real gates have propagation delay: the time between an input change and the corresponding output change.2 min read
12Chapter 12: Latches and flip-flops: characteristic and excitation tablesAssume you know binary logic, Boolean operators, and the difference between combinational and sequential circuits. A sequential circuit has memory: its output depends on both current inputs and its previous state.2 min read
14Chapter 14: Registers, shift registers, ring and Johnson countersThis chapter assumes that you know binary representation, Boolean operations, and the behavior of edge-triggered flip-flops. A register is a group of flip-flops that stores a multi-bit value. An \(n\)-bit register stores \(n\) bits and changes its stored value on a clock edge.2 min read
15Chapter 15: Ripple and synchronous counters, modulus and designThis chapter assumes that you can read binary numbers, understand Boolean logic, and use flip-flop characteristic tables. A counter is a sequential circuit whose stored binary value changes on each active clock edge. Its flip-flops store the current count, and combinational logic determines the 2 min read
16Chapter 16: Mealy and Moore machines, state diagrams and tablesAssume you know Boolean logic, flip-flops, and clocked circuits. A finite state machine (FSM) is a sequential circuit that has a limited number of states. Its state records the relevant history of its inputs.2 min read
17Chapter 17: Designing sequence detectors and minimizing statesAssume that you know Boolean algebra, flip-flops, and the basic idea of a finite state machine (FSM). This chapter focuses on converting a detection rule into states, handling overlapping patterns, and removing states that do not affect the circuit's behavior.2 min read