2079 5

BIT101 ยท 2079 ยท 5 marks

What is Computer Bus? Explain the functions of data bus, address bus and control bus.

What is Computer Bus? Explain the functions of data bus, address bus and control bus. [5]

Introduction to Information TechnologyChapter 3: Computer Organization and ArchitectureData bus, address bus, and control bus

Quick answer

A computer bus is a communication system that transfers data between components inside a computer or between computers. It consists of a set of physical wires (lines) along which electrical signals are transmitted. A bus connects the CPU, memory, and input/output devices, allowing them to communicate with each other.

Computer Bus

Definition


Types of Buses and Their Functions

1. Data Bus

  • The data bus carries the actual data (instructions and information) between the CPU, memory, and I/O devices.
  • It is bidirectional, meaning data can flow in both directions (from CPU to memory or from memory to CPU).
  • The width of the data bus (number of lines) determines how much data can be transferred at one time.
    • Example: A 32-bit data bus can transfer 32 bits simultaneously.
  • A wider data bus means faster data transfer and better system performance.

2. Address Bus

  • The address bus carries memory addresses generated by the CPU to specify where in memory data should be read from or written to.
  • It is unidirectional, meaning addresses flow only from the CPU to memory or I/O devices.
  • The width of the address bus determines the maximum amount of memory the system can address.
    • Example: A 32-bit address bus can address 2^32 = 4 GB of memory.
  • It does not carry data itself, only the location (address) of the data.

3. Control Bus

  • The control bus carries control signals from the CPU to coordinate and manage the activities of all components connected to the bus.
  • It is bidirectional in nature (some signals go from CPU to devices, some come back).
  • Common control signals include:
    • Memory Read / Memory Write - indicates whether data is to be read from or written to memory
    • I/O Read / I/O Write - controls input/output operations
    • Clock signal - synchronizes operations
    • Interrupt signals - allows devices to request CPU attention
    • Bus Request / Bus Grant - manages which device controls the bus

Summary Table

BusDirectionCarries
Data BusBidirectionalActual data/instructions
Address BusUnidirectionalMemory/I/O addresses
Control BusBidirectionalControl and timing signals

Together, these three buses form the system bus, which is the primary pathway for communication within a computer system.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.