Skip to main content

Datapath versus control unit

Short answer

The datapath performs data operations using registers, ALU, and buses under the direction of control signals. The control unit sequences operations as a finite state machine, generating these signals based on opcodes and status flags. The datapath is data-oriented; the controller is sequencing logic.

What are the differences between datapath and control unit?

PointDatapathControl unit (controller)
RoleStores and manipulates data; performs the actual operationsSequences the operations; decides what the datapath does and when
ComponentsRegisters, ALU, multiplexers, buses, functional unitsPC, IR, state register, decoder, control logic (FSM or microprogram)
InputData and control signalsOpcode / status flags from the datapath, clock, reset
OutputResults and status flagsControl signals (register loads, ALU function, mux selects, R/W)
NatureMostly combinational logic plus registersSequential logic (finite state machine)
ExampleALU adds R1 and R2Generates the signals "select ADD; load R1"

✓ Answer checked by Claude Opus 5.5 (high effort)

All Embedded System chapter 2 questions →