A bus is a group of wires treated as one path, carrying one multi-bit value: an address, a data word, a set of control signals. Its width is the number of wires. An 8-bit data bus has 8 wires, D7–D0.
In a simple computer there are three:
- the address bus, from the processor to every memory chip (address lines)
- the data bus, carrying words in both directions
- the control bus: chip selects, read/write and the like
What makes a bus a bus is sharing. Many chips connect to the same wires, so connecting a new chip costs no new wiring. The price is a rule: at any moment, only one device may drive the bus. Everyone else either listens or keeps its outputs at high impedance with tri-state buffers. Breaking the rule is bus contention.
Widths are independent. A memory system might have a 16-bit address bus (64K addresses) and an 8-bit data bus (bytes), because the address width counts words and the data width is the word size.
Inside a CPU, buses connect registers, the ALU and memory interface in the datapath.