Академический Документы
Профессиональный Документы
Культура Документы
Bus defined by
Transaction protocol
Timing and signal specification
-------- bunch of wires------------ Electrical specification
Physical /mechanical characteristics
-connectors
Time multiplexed
A single bus is shared by all for handling multiple
data transfer
Saves wires in lieu of time
The bandwidth can be increased by
Non multiplexed address and data lines
Taking separate buses for address and data.
Taking so increase the cost and complexity
Low cost:
A single set of wires can be shared in many ways.
Disadvantage:
It creates communication bottleneck
i.e. Bandwidth is limited to maximum I/Os throughput.
Parallel communication
Multiple data, control information transferred
simultaneously (1 bit per wire)
High throughput with short distance
This is done when devices are connected on same
bus or circuit board.
Bus must be kept short.
Long bus induces capacitance effects which increases
delay in transfer of data
Data misalignment may occur between wires as length
increases.
Serial communication
Single data wire and also control and power wire
Words are transmitted one bit at a time
Higher throughput with longer distance
Synchronous bus
Uses clock with control lines
There exist a fixed protocol for communication
relative to clock
Advantage is that it needs a little logic for
implementation and run very fast.
Disadvantage :
Every device on the bus must run on same clock rate.
To avoid clock skew the can not be long if they are fast.
Asynchronous bus
It is clock synchronised
It can accommodate a wide range of devices
Bus may be lengthened without worrying clock
skew.
It requires a handshake protocol.
10
Bus arbitration
Important issue in bus design is
How is the bus reserved by a device that wishes to use
it?
Master
en
q
dat
a
Servan
t
en
q
texces
s
12
enq
Ack
data
Servant
13
Bus arbitration
Bus arbitration usually balances two factors:
Bus priority- highest priority device should be served first
Fairness- even lowest priority device should never be
completely locked out.
Device
N
Lowest
Priority
Advantage: simple
Disadvantages:
Cannot assure fairness:
A low-priority device may be locked out indefinitely
The use of the daisy chain grant signal also limits the bus speed
15
Simple Implementation of a
Bus Arbiter
ReqB
ReqC
3-bit D Register
ReqA
G0
P0
Priority
P1
SetGrB
G1
ReqB
P2
EN
Clk
SetGrA
ReqA
G2
Clk
Clk
SetGrC
ReqC
Clk
J
Q
K
GrantA
J
Q
K
GrantB
J
Q
K
GrantC
17