2078 5

BIT101 ยท 2078 ยท 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 ArchitectureComputer bus types and functions

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 parallel wires (or signal lines) that connect the CPU, memory, and input/output devices, allowing them to share a common pathway for data transfer.

Computer Bus

Definition


Types of Buses and Their Functions

1. Data Bus

  • The data bus is a bidirectional bus used to carry actual data between the CPU, memory, and I/O devices.
  • It transfers data to and from the processor, memory, and peripherals.
  • The width of the data bus (number of lines) determines how much data can be transferred at one time.
    • Example: An 8-bit data bus transfers 8 bits at a time; a 32-bit data bus transfers 32 bits at a time.
  • More data lines = faster data transfer.

2. Address Bus

  • The address bus is a unidirectional bus (from CPU to memory/I/O).
  • It carries the address of the memory location or I/O device that the CPU wants to read from or write to.
  • The CPU places the address of the target location on the address bus so the correct device or memory cell is selected.
  • The width of the address bus determines the maximum addressable memory.
    • Example: A 16-bit address bus can address 2^16 = 65,536 memory locations.

3. Control Bus

  • The control bus is used to carry control signals from the CPU to other components to coordinate and manage operations.
  • It is bidirectional in nature (some signals go from CPU outward, some come from devices to CPU).
  • Common control signals include:
    • Read/Write signal: Indicates whether the operation is a read or write.
    • Clock signal: Synchronizes operations.
    • Interrupt signal: Allows devices to request CPU attention.
    • Bus request/grant: Manages which device controls the bus.
  • It ensures that data transfer happens in an orderly and synchronized manner.

Summary Table

BusDirectionPurpose
Data BusBidirectionalTransfers actual data
Address BusUnidirectionalCarries memory/device address
Control BusBidirectionalCarries control and timing signals

Note: Together, these three buses form the system bus, which is the primary communication pathway in 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.