2075 7

CSC167 ยท 2075 ยท 5 marks

What is system bus? Explain different types of system bus in detail.

What is system bus? Explain different types of system bus in detail. [5]

MicroprocessorChapter 1: IntroductionSystem bus

Quick answer

A system bus is a group of conducting wires (electrical pathways) that connects the CPU, memory, and input/output devices, allowing them to communicate and transfer information with each other. All peripherals are connected to the microprocessor through the bus.

System Bus

Definition

Bus is a group of conducting wires which carries information, and all the peripherals are connected to the microprocessor through the bus.


Types of System Bus

There are three types of system buses:


1. Address Bus

  • A group of conducting wires that carries address information only.
  • It is a unidirectional bus, meaning data flows in one direction only - from the microprocessor to memory or from the microprocessor to Input/Output devices.
  • The length of the address bus determines the amount of memory a system can address.
    • For example, the 8085 microprocessor has a 16-bit address bus, which means it can address 2^16 = 65,536 (64KB) memory locations.
  • The length of the address bus varies with the type of microprocessor.

2. Data Bus

  • A group of conducting wires that carries data to and from memory and I/O devices.
  • It is a bidirectional bus, meaning data can flow in both directions (from CPU to memory and from memory to CPU).
  • The width of the data bus is equal to the word length of the processor.
    • For example, the 8085 microprocessor has an 8-bit data bus.
  • A wider data bus allows more data to be transferred at once, improving system performance.

3. Control Bus

  • A group of conducting wires that carries control signals from the CPU to memory and I/O devices.
  • It coordinates and controls the operations of the system components.
  • It carries signals such as:
    • Read/Write signals - to indicate whether data is being read from or written to memory
    • Interrupt signals - to handle interrupt requests
    • Clock signals - to synchronize operations
  • It can be both unidirectional and bidirectional depending on the specific control line.

Summary Table

FeatureAddress BusData BusControl Bus
PurposeCarries addressesCarries dataCarries control signals
DirectionUnidirectionalBidirectionalBoth
8085 Width16-bit8-bitVarious
FlowCPU to Memory/IOBoth waysCPU to/from components

Bus Organization Diagram (8085)

        +------------------+
        |   Microprocessor |
        |     (8085)       |
        +------------------+
              |    |    |
    Address   | Data| Control
      Bus     | Bus |  Bus
    (16-bit)  |(8-bit)| 
              |    |    |
        +-----+----+----+-----+
        |                     |
     Memory               I/O Devices
     (RAM/ROM)

The three buses together form the system bus, which is the backbone of communication in a microprocessor-based system.

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