Bus interconnection
-
Upload
muhammad-ishaq -
Category
Documents
-
view
986 -
download
3
description
Transcript of Bus interconnection
BUS INTERCONNECTION
Interconnection Structures A computer consists of a set of components
(CPU,memory,I/O) that communicate with e ach other.
The collection of paths connecting the vario us modules is call the interconnection struc
ture. The design of this structure will depend on t
he exchange that must be made betweenmodules.
Input/Output for each module
Memory N Word
0 . . . -1N
ReadWrite
AddressData
Data
CPU Interrupt SignalData
DataInstructions
Control Signal
I/O Module M Ports
ReadWrite
Address Internal
Data External
Data
InternalData
ExternalData
InterruptSignal
Type of transfers
Memory to CPU CPU to Memory I/O to CPU CPU to I/O I/O to or from Memory (DMA)
Bus Interconnection A bus is a communication pathway connec
ting two or more device. A key characteristic of a bus is that it is a s
hared transmission medium. A bus consists of multiple pathways or line
s. Each line is capable of transmitting signal r
epresenting binary digit (1 or 0)
Bus Interconnection A sequence of bits can be transmit acros
s a single line. Several lines can be used to transmit bit
s simultaneously (in parallel). A bus that connects major components (
CPU,Memory,I/O) is called System Bus. The most common computer interconne
ction structures are based on the use of one or more system buses.
Bus Structure
- 50100A system bus consists of lines.
EEEE EEEE EE EEEEEEEE E EEEEEEEEEE EEEEEEE EE E.
On any bus the lines can be classified into 3 group
E Data lines
Address lines
Control lines
Data Lines Pr ovi de a pat h f or movi ng dat a bet ween syst
emmodul es. Theselines, col l ect i vel y, ar e cal l ed t he data bus The data bus typically consists of 8,16 or 32 sep
arate lines, the numbers of lines being transferr ed to as the width of the data bus.
Each line carry only 1 bit at a time, the number of lines determines how many bits can transferr - ed at a time overall system performance.
The Address Lines
Used to designate the source or destinati on of the data on the data bus
The width of the address bus determines the maximum possible memory capacity
of the system.
The Control Lines
Used to control the access to and the use of the data and address lines.
Typical control lines include Memory write Memory read I/O write I/O read Clock Reset
Bus r equest Bus grant Interrupt request Interrupt ACK Transfer ACK
The operation of the bus
If one module wishes to send data obtain the use of the bus transfer data via the bus
If one module wishes to request data obtain the use of the bus transfer request to the other module over the
control and address lines, then wait for that se cond module to send the data.
Physical Bus Architecture
System bus is a number of p arallel electrical conductors.
The conductors are metal li nes at tched in a card or prin ted circuit board.
The bus extends across all o f the components th at taps i
nto the bus lines.
What do buses look like?
Traditional Bus Architecture
Local bus - CPU Cache
System bus - Main memory Cache
Expansion bus - I/O Modules Main memory
Traditional Bus Architecture
- High Performance Architecture
Local bus - CPU Cache/bridge
System bus - Cache/bridge memory
- High speed bus - - High speed I/O module Cache/bridge
Expansion bus - - Low speed I/O modules Expansion interface
Bus Design
Type Dedicated Multiplexed
Bus Width Address Data
Timing Synchronous Asynchronous
Method of Arbitration Centralized Distributed
Data Transfer Type Read Write - -Read modify write - -Read after write Block
Type
Dedicated permanent assigned bus either t
o one function or to a physical s ubset of computer components
Multiplexed use in the same bus for multipl
e purpose (Time Multiplexing)
Bus Width
Address the wider of address bus has an
impact on range of locations that can be referenced
Data the wider of data bus has an im
pact on the number of bits transf erred at one time
Method of Arbitration
Centralized bus controller (Arbiter ), hardware device
,is responsible for all ocating time on the b
us (daisy chain)
Distributed a
ccess control logic in each module act toge
ther to share bus
Data Transfer Type
Read Multiplexed bus is used to specifying addr
ess and then for transferring data a fter a wait while data is being fetch
ed Read Dedicated
address is put on bus and re main there while data are put on th
e data bus
Data Transfer Type
Write Multiplexed bus is used to specifying addr
ess and then transferring data (sa me as read operation)
Write Dedicated data put on data bus as soo
n as the address has stabilized
- - Read modify write address is broadcast once at b
eginning a simply read is followed im mediately by a write to the same addr
ess - - Read after write
a write followed immediately by a read from the same address,perf
ormed for checking purposes
Data Transfer Type
Data Transfer Type Block
one address cycle is followed by n d ata cycles.
The first data item is transferred to or from the specified address; rema
inder data items are transferred to or from subsequent addresses
Data Transfer Type