Bus interconnection

26
BUS INTERCONNECTION

description

 

Transcript of Bus interconnection

Page 1: Bus interconnection

BUS INTERCONNECTION

Page 2: 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.

Page 3: Bus interconnection

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

Page 4: Bus interconnection

Type of transfers

Memory to CPU CPU to Memory I/O to CPU CPU to I/O I/O to or from Memory (DMA)

Page 5: Bus interconnection

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)

Page 6: Bus interconnection

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.

Page 7: Bus interconnection

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

Page 8: Bus interconnection

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.

Page 9: Bus interconnection

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.

Page 10: Bus interconnection

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

Page 11: Bus interconnection

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.

Page 12: Bus interconnection

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.

Page 13: Bus interconnection

What do buses look like?

Page 14: Bus interconnection

Traditional Bus Architecture

Local bus - CPU Cache

System bus - Main memory Cache

Expansion bus - I/O Modules Main memory

Page 15: Bus interconnection

Traditional Bus Architecture

Page 16: Bus interconnection

- 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

Page 17: Bus interconnection
Page 18: Bus interconnection

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

Page 19: Bus interconnection

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)

Page 20: Bus interconnection

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

Page 21: Bus interconnection

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

Page 22: Bus interconnection

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

Page 23: Bus interconnection

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

Page 24: Bus interconnection

- - 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

Page 25: Bus interconnection

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

Page 26: Bus interconnection

Data Transfer Type