Lecture 6 System Bus COA
Lecture 6 System Bus COA
NUCSF
Mr. RK Wissal
Connecting
• A computer consists of a set of components or modules of three basic
types (processor, memory, I/O) that communicate with each other.
Memory
Input/Output
CPU
Memory Connection
• Typically, a memory Each word is assigned a unique numerical
address (0,1,..., N -1).
Read
Write
Timing
Input/Output Connection
• I/O module: From an internal (to the computer system) point of view,
I/O is functionally similar to memory.
• There are two operations, read and write. Further, an I/O module may
control more than one external device.
Input/Output Connection(1)
• In addition, there are external data paths for the input and output of
data with an external device.
• Output
• Input
• Multiple devices connect to the bus, and a signal transmitted by any one
device is available for reception by all other devices attached to the bus.
• If two devices transmit during the same time period, their signals will
conflict and become problem. Thus, only one device at a time can
successfully transmit.
Buses
• Typically, a bus consists of multiple communication pathways, or
lines. Each line is capable of transmitting signals representing binary
1 and binary 0.
Data Bus
Control Bus
1. Address Bus
• A collection of wires used to identify particular location in main
memory is called Address Bus.
• The address bus transports memory addresses which the processor wants
to access in order to read or write data..
• The size of address bus determines how many unique memory locations
can be addressed
2. Data Bus
• A collection of wires through which data is transmitted from one part
of a computer to another is called Data Bus.
• The data bus is bidirectional because the data can flow in either direction from
CPU to memory(or input/output device) or from memory to the CPU.
• The size (width) of bus determines how much data can be transmitted at one
time.
• Example:
• The main objective of control bus is all signals controller carried from
processor to other hardware device.
Example:
• I/O write: Causes data on the bus to be output to the addressed I/O
port
• I/O read: Causes data from the addressed I/O port to be placed on the
bus.
• Bus request: Indicates that a module needs to gain control of the bus
• Bus grant: Indicates that a requesting module has been granted control
of the bus
1_ In general, the more devices attached to the bus, the greater the bus
length and hence the greater the propagation delay.
This delay determines the time it takes for devices to coordinate the use
of the bus. When control of the bus passes from one device to another
frequently, these propagation delays can noticeably affect performance.
Multiple-Bus Hierarchies
• 2. The bus may become a bottleneck as the aggregate data transfer
demand approaches the capacity of the bus.
• In decentralized arbitration, each device has its own priority level, and the
device with the highest priority is given access to the bus.