Lecture 3 - Bus Arbitration
Lecture 3 - Bus Arbitration
list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
UNIT-1 : LECTURE -3
vi
h/
c
fte
So
2Z
/A
/c
m
BUS ARBITRATION
co
e.
ub
t
ou
.y
w
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
BUS ARBITRATION
os
oOne of the most important issue in BUS design:
de
oHow is the BUS reserved by a device that whishes to use it.
vi
h/
oMaster-slave arrangement.
c
fte
oOnly the bus master can control access to the BUS:
So
It initiate and control all BUS request.
2Z
/A
A slave responds to read and write requests.
/c
m
oThe simplest system
co
e.
processor is the only BUS master
tub
ou
All BUS request must be controlled by the processor
.y
w
Major drawback: the processor is involved in every transaction.
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
ARBITRATION OF MULTIPLE POTENTIAL BUS MASTERS
os
de
vi
oBUS arbitration scheme usually try to balance two factors.
h/
c
fte
oBUS priority:-the highest priority device must be served first.
So
oFairness: even the lowest priority device should never be completely
2Z
locked out by BUS.
/A
/c
m
oBUS arbitration scheme can be divided into for classes.
co
oThe DAISY CHAIN.
e.
ub
oCentralized parallel arbitration.
t
ou
.y
w
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
•Daisy chain arbitration is a serial
t
ou
.y
priority arbitration.
w
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
•Daisy chain arbitration is use for
w
.y
ou
arbitrating peripherals.
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
•In daisy chain arbitration there is a
w
w
//w
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
•Also two other buses i.e. bus
t
ou
.y
request and bus busy is also
w
w
//w
device.
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
• Serially a fixed priority is set from devices
w
.y
which are nearer to bus arbitrator to
w
//w
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
•Only one communication can
w
w
//w
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
•When bus request is received to
w
w
//w
signal.
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
• Then the first device check bus grant signal if it
t
ou
had made bus request or not if first device made
w
.y
the request then it accept it and if not then it pass
w
//w
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
•Advantage of this method is only
w
.y
ou
three buses is required i.e. bus
w
//w
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
•It have simple interface.
w
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
•Disadvantage of this method is that it
.y
w
w
priority.
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
•Debugging and diagnosis is not
w
w
//w
arbitration.
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
CENTRALIZED PARALLEL ARBITRATION.
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
w
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
POLLING...
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
e.
ub
t
ou
.y
w
w
//w
s:
tp
ht
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
https://www.youtube.com/playlist?list=PLqisrLSFbMDKZRViIED3mwBVHl5c4LG-L
Independent Requesting
os
de
vi
h/
c
fte
So
2Z
/A
/c
m
co
° There are separate BUS REQUEST and BUS GRANT lines for every device that are
e.
sharing bus.
ub
t
° In this, bus controller has the capability of immediate identifying all the requesting
ou
devices. .y
w
w
° Bus controller responds rapidly to the request by determining the highest priority device
//w
s: