2081 7

CSC213 ยท 2081 ยท 5 marks

Explain common bus system of basic computer with a diagram.

Explain common bus system of basic computer with a diagram. [5]

Computer ArchitectureChapter 3: Basic Computer Organization and DesignCommon Bus System for Basic Computer

Quick answer

The common bus system is used in a basic computer to facilitate efficient communication between registers and memory. Instead of connecting every register to every other register with individual wires (which increases hardware complexity), a single shared bus is used to transfer data between all components.

Common Bus System of Basic Computer

Introduction


Requirements / Key Features

  • The basic computer has eight registers, a memory unit, and a control unit
  • Six registers and memory are connected to the bus
  • The input register (INPR) and output register (OUTR) are 8-bit registers
  • All seven registers, memory, INPR and OUTR are driven by a single-phase clock pulse
  • The particular register whose load (LD) input is enabled receives the data from the bus during the next clock pulse
  • Which register is selected is determined by selection lines (S1, S0, etc.)

Construction of Common Bus

A common bus can be constructed using either:

  1. Multiplexers (MUX)
  2. Three-state buffers

Using Multiplexers

Each bit position of the bus has one MUX. For n registers, the selection lines choose which register drives the bus.

Example: 4-register, 4-bit bus using 4x1 MUX:

Registers:   A      B      C      D
             |      |      |      |
           [MUX 0][MUX 1][MUX 2][MUX 3]
                      |
                 COMMON BUS
                      |
              (to all registers)

Selection Lines:
  S1  S0  |  Selected Register
  --------|-------------------
   0   0  |       A
   0   1  |       B
   1   0  |       C
   1   1  |       D
  • The selection lines S1 and S0 are connected to the selection inputs of all MUXes
  • All MUXes select the same register at the same time
  • The selected register's data is placed on the bus

Diagram: Common Bus System for Basic Computer

        +-------+   +-------+   +-------+   +-------+
        |  AR   |   |  PC   |   |  DR   |   |  AC   |
        | (12b) |   | (12b) |   | (16b) |   | (16b) |
        +---+---+   +---+---+   +---+---+   +---+---+
            |           |           |           |
            +-----+-----+-----------+-----------+
                  |
         +--------+--------+
         |   COMMON BUS    |   (16-bit)
         +--------+--------+
                  |
            +-----+-----+
            |           |
        +---+---+   +---+---+
        |  IR   |   |  TR   |
        | (16b) |   | (16b) |
        +-------+   +-------+
                  |
             +----+----+
             | MEMORY  |
             |  UNIT   |
             +---------+

  Selection Lines (S2, S1, S0) --> determine which register
                                   drives the bus

How It Works

  1. The selection lines determine which register is connected to the bus as the source
  2. The data from the selected register is placed on the common bus
  3. The register whose LD (load) input is enabled will receive the data from the bus at the next clock pulse
  4. Only one register can send data on the bus at a time, but any register can receive

Advantages

FeatureBenefit
Reduced wiringLess hardware complexity
Centralized controlEasier to troubleshoot
ScalableEasy to add more registers

Summary

The common bus system provides an efficient and organized way to transfer information among the registers and memory of the basic computer. By using multiplexers and selection lines, any one of the registers can be selected to place its data on the bus, while the destination register is enabled by its load input to receive the data on the next clock pulse.

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