System Bus

A bus connects independent components of a computer system to pass signals between them.

The computer system bus is the method by which data is communicated between all the internal pieces of a computer.

At a high level, the System Bus: connects the processor to the RAM, to the hard drive, to the I/O drives, and to all the other components of the computer.

3 types of buses

There are three types of buses in a computer, which all flow together.

  1. The data bus allows data to flow between devices
  2. the address bus tells devices where the data should go or is coming from
  3. the control bus coordinates activity between various devices to prevent data collisions.

The system bus combines the functions of the control, address, and data bus.

Collisions

“Collisions” is a term that identifies the corruption of data resulting from simultaneous use of the data and/or address bus.

Flow

Each byte of memory stored in RAM has a unique address associated with it, which are similar to IP addresses. When the CPU wants to access data that is stored in memory, it puts the data address on the address bus, and then sets the control bus to indicate that it is waiting for data. The main memory controller will place the requested data on the data bus and change the control bus to indicate that the data is ready. The CPU is then free to read the data from the data bus.

When upgrading from a 32-bit processor to a 64-bit processor, both the data bus and address bus increase in size from 32-bits to 64-bits, allowing for larger data transfer through the bus.