Compare and contrast the characteristics and functionalities of address buses, data buses, and control buses?
Compare and contrast the characteristics and functionalities of address buses, data buses, and control buses?
Quick answer
The three buses together make the system bus. Their characteristics are compared below.
| Point | Address bus | Data bus | Control bus |
|---|---|---|---|
| Carries | Address of memory location or I/O port | Actual data or instructions | Control and timing signals |
| Direction | One way, from CPU to memory and devices | Two way | Two way, as signals go in both directions |
| Width decides | Memory size that can be addressed | Amount of data moved at a time | Number of control functions |
| Typical width | 16, 32 or 64 lines | 8, 16, 32 or 64 lines | Varies, a few to dozens of lines |
| Examples of signals | A0 to A31 | D0 to D31 | Read, write, clock, reset, interrupt, bus request |
Address bus
It selects the one location that the CPU wants. With $n$ address lines, the CPU can address $2^n$ locations. For example, 16 lines give $2^{16} = 65536$ locations, that is 64 K.
Data bus
It carries the word that is read or written. A 32-bit data bus moves 32 bits in one transfer. A wider data bus gives a faster system.
Control bus
It carries signals like memory read, memory write, I/O read, I/O write, clock, interrupt request and bus grant. It tells all the units when and how to use the address and data buses. In short, the address bus says where, the data bus says what, and the control bus says when and how.
Example of how they work together
Suppose the CPU wants to read a word from memory. It places the address on the address bus. It then activates the memory read signal on the control bus. The memory finds the location and puts the word on the data bus. The CPU takes the word from the data bus. For a write, the CPU puts the address on the address bus and the data on the data bus, and the control bus carries the memory write signal. All three buses are therefore needed in every transfer, and a fault in any one of them stops the system.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.
Up nextExplain the concept of look-ahead carry adders in digital arithmetic circuits. Compare and