Datapath and Control
Every digital system—from a simple counter to a CPU—shares the standard datapath and control architecture.
- Datapath: Combinational logic plus registers that move and transform data.
- Control: A finite state machine that directs what the datapath does each cycle.
| Component | Type | Function |
|---|---|---|
| Register | Sequential | Holds the current value |
| Adder | Combinational | Computes current + step |
| Comparator | Combinational | Tests if target is reached |
| Control FSM | Sequential | Directs states like running and done |
Every unit theme converges here: gates build blocks, minimization keeps them cheap, sequential logic holds state, and timing analysis limits the clock by the critical path.
Composition and Pitfalls
Digital systems are built through composition and abstraction: gates form blocks, blocks form datapaths, and a control FSM sequences them. Each layer hides the one below, allowing us to build working computers from basic boolean values.
Common pitfall: Trying to reason about a whole digital system at the individual-gate level.
Real design requires thinking in terms of blocks and their interfaces, not thousands of individual gates. Descend to the gate level only when a specific block or timing path demands optimization.