Buses
Buses
1 INTRODUCTION
2 INTERCONNECTION STRUCTURES
The bus and Various Multiple-Bus Structures
Classification of Bus Lines
Bus Operation
Bus architecture
Elements of Bus Design
Bus types
Method of Arbitration
Timing
Introduction
The internal structure of the computer consists four main structural
components:
Central processing unit (CPU): Controls the operation of the
computer and performs its data processing functions; often simply
referred to as processor.
Main memory: Stores data.
I/O: Moves data between the computer and its external
environment.
System interconnection: mechanism that provides communication
among CPU, main memory, and I/O.
Thus, there must be paths for connecting the modules.
The collection of paths connecting the various modules is called the
interconnection structure.
Interconnection Structures
1 The bus and various multiple-bus structures.
2 Point-to-point interconnection structures with packetized data
transfer.
In addition, there may be power distribution lines that supply power to the
attached modules.
1 Data lines provide a path for moving data among system modules.
These lines, collectively, are called the data bus.
The data bus may consist of 32, 64, 128, or even more separate lines.
The number of lines are being referred to as the width of the data bus.
Each line can carry only 1 bit at a time.
The number of lines determines how many bits can be transferred at a
time.
2 Address lines
3 Control lines
1 Data lines
2 Address lines Are used to designate the source or destination of the
data on the data bus.
The width of the address bus determines the maximum possible
memory capacity of the system. Furthermore, the address lines are
generally also used to address I/O ports.
3 Control lines
1 Data lines
2 Address lines
3 Control lines are used to control the access to and the use of the
data and address lines.
Because the data and address lines are shared by all components,
there must be a means of controlling their use.
Control signals transmit both command and timing information
among system modules
Bus Operation
The following are Operations of the bus :
If a module wishes to send data , the following are two steps to be
followed:
1 Obtain the use of the bus.
2 Transfer data via bus.
If one module wishes to request data from another module , the
following steps are followed:
1 Obtain the use of the bus.
2 Send a request over the appropriate control and address lines and wait
the response.
Multiple-Bus Hierarchies
If too many devices are connected to the same bus, the performance will
suffer
Here are two main causes:
Generally, the more devices attached to the bus, the more the length
of the bus increases, therefore an increase in the propagation delay.
If data transfer demand approaches the bus capacity , the bus may
become a bottleneck.
Consequently most of computer system bus-based use multiple buses
generally laid out in a hierarchy , to overcome the above problems
An expansion bus interface buffers data transfers between the system bus
and the I/O controllers on the expansion bus.
This arrangement allows the system :
To support a wide variety of I/O devices.
At the same time insulate memory-to-processor traffic from I/O traffic
More than one module may need control of the bus, however only one
module can transmit over a bus at time, to manage this there is a need of
some Arbitration Methods , classified as follows:
centralized arbitration
1 Single hardware device controlling bus access.
2 The device may be a separate module or May be part of CPU
distributed arbitration
1 No central control.
2 Access control logic to all modules.
3 Modules act together to share the bus.
The purpose behind both methods of arbitration is to designate one device
either the CPU or an I/O module , as master. This one may initiate a data
transfer with some other device.
Timing
Timing mention the coordination way of the event on the bus. buses apply
one of the following timing:
Synchronous Timing
Timing Conclusion
Synchronous timing is simpler to implement and test.
Synchronous timing is less flexible than asynchronous timing.
In Synchronous timing All devices can read clock line
With asynchronous timing, a mixture of slow and fast devices, using
older and newer technology, can share a bus.