The data bus carries the words themselves: from memory to the processor on a read, and from the processor to memory on a write. It is a two-way bus.
Its width is the number of data lines, which equals the word size. A ×8 memory system has an 8-bit data bus, D7–D0.
Every memory chip in the system connects to the data bus (or, when chips sit side by side, to its own slice of it). Only one may drive it at a time:
- During a read, only the selected chip drives; the rest have their tri-state outputs at high impedance.
- During a write, the processor drives and the selected chip listens.
That's why memory outputs are tri-state. Without them, every chip would drive the bus all the time and bus contention would be unavoidable.
Compare the address bus, which only ever carries addresses from the processor outward. Its width counts the words (address bits); the data bus width is the size of each word. The two are independent.