0% found this document useful (0 votes)
31 views4 pages

Buses

Uploaded by

Oladimeji Yusuf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views4 pages

Buses

Uploaded by

Oladimeji Yusuf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Interconnection Structures

A computer consists of three basic components: CPU, Memory and Input/output components
If data is to be exchanged among these three components, we need to have an interconnection
structure, which allows transfer of information among all these. This interconnecting structure
must support
 The transfer of an instruction or a unit of data from memory to CPU.
 The transfer of a unit of data from CPU to memory
 Reading of data from input/output device that is, transfers from input/output device to
CPU.
 CPU sending data to input/output device.
 The transfer of data from input/output devices to memory
 The transfer of data from memory to input/output devices.
To support these transfers, the bus interconnection is used
Bus Interconnection
A bus is a set of connections between two or more components/devices that are designed to
transfer several/all bits of a word from a specific source to destination. It is a shared media of
information transfer. A bus consists of multiple communication wires that are also termed lines.
A line is capable of transferring one bit only. Thus, for transferring a word of 16 bits
simultaneously over a bus we need to have 16 bus lines. In addition, some other lines are needed
for controlling this transfer. A bus may be unidirectional (capable of transmitting data in one
direction) or bi-directional. The figure below shows the diagram of a shared bus.

There are different types of buses. These are address bus, data bus and control bus. Data bus
transfers data. Address bus transfers information about the destination of the data. Control bus
carry control signals.
A computer system contains a number of buses, which provide pathways among several devices.
A shared bus that connects the CPU, memory and input/output is called a system bus. A system
bus may consist of 50 to 100 separate lines. These lines can be broadly categorised into three
functional groups:
 Data lines: these are collectively called Data Bus
 Address lines: these are collectively called Address Bus
 Control lines: these are collectively called Control Bus.
Data Bus
The data bus provides a path for moving data between the system modules. It normally consists
of 8, 16 or 32 bit separate lines. The number of lines in data bus is called the width of data bus.
Thus, a data bus width limits the maximum number of bits that can be transferred simultaneously
between two modules e.g., CPU and memory. The width of the data bus also helps in
determining the overall performance of a computer system. For example, if the width of a data
bus is 8 bits and an instruction is of 16 bits then for fetching each instruction two memory
accesses will be needed by the CPU.
Address Bus
The address bus is used to designate the source of data for the data bus. As the memory may be
divided into a linear array of bytes or words, therefore, for reading or writing any information on
to memory, CPU needs to specify the address of a particular location. The address bus supplies
this address. Thus, the width of the address bus specifies the maximum possible memory
supported by a system. For example, if a system has a 16-bit wide address bus then it can have a
main memory size equivalent to 216 = 64K.
Control Bus
The role of control lines (bus) is to control the access to data and address bus, as bus is a shared
medium. The control lines are used for transmission of commands and timing signals (which
validate data and address) between the system modules.
Examples of control lines and their functions
S/N Control line Function
1
2
3
4 BRQ Bus request
5 BGT Bus grant

Terminologies used in bus


1. Bus protocol: These are set of rules that determine the format and transmission of data
through the bus.
2. Parallel bus: Data is transmitted in parallel.
Advantage: It is fast
Disadvantage: High cost for long distance communication, inter-line interference at high
speed.
3. Serial bus: Data is transmitted serially.
Advantage: Low cost for long distance communication, no interference
Disadvantage: Slow
4. Bus Master and Slaves: The device that controls the bus is called master and others are
called slaves.
5. Local or system bus: This is the bus that connects the CPU and memory
6. Front-side bus: This is the bus that connects the CPU to other components
7. Back-side bus: This is the bus that connects the CPU to the cache.
Some features of a bus
1. Bus width: Number of wires available in the bus for transferring data.
2. Bus bandwidth: The total amount of data that can be transferred over the bus per unit
time.
Bus arbitration
This refers to the process by which the current bus master accesses and then leaves the control of
the bus and passes it to another bus requesting processor unit. The different types of bus
arbitration include daisy chain and independent request
Daisy Chain
It is a simple and cheaper method where all the bus masters use the same line for making bus
requests. The bus grant signal serially propagates through each master until it encounters the
first one that is requesting access to the bus. This master blocks the propagation of the bus
grant signal, therefore any other requesting module will not receive the grant signal and hence
cannot access the bus.

Advantages
a) Cheaper and simple
b) Least number of lines
Disadvantages
a) Slow arbitration time
b) Priority depends upon physical location
c) Chance of failure is more
Independent Request method
In this, each master has a separate pair of bus request and bus grant lines and each pair has a
priority assigned to it. The built-in priority decoder within the controller selects the highest
priority request and asserts the corresponding bus grant signal.

Advantages
a) Very fast arbitration
b) Very less chance of failure
Disadvantages
a. Cost is high

You might also like