Bus Allocation Scheme
Bus Allocation Scheme
(i) Daisy Chaining method: It is a simple and cheaper method where all the
bus masters use the same line for making bus requests. The bus grant signal
serially propagates through each master until it encounters the first one that
is requesting access to the bus. This master blocks the propagation of the
bus grant signal, therefore any other requesting module will not receive the
grant signal and hence cannot access the bus.
During any bus cycle, the bus master may be any device – the processor or
any DMA controller unit, connected to the bus.
Advantages:
Simplicity and Scalability.
The user can add more devices anywhere along the chain, up to a
certain maximum value.
Disadvantages:
The value of priority assigned to a device depends on the position
of the master bus.
Propagation delay arises in this method.
If one device fails then the entire system will stop working.
Disadvantages –
Adding bus masters is difficult as increases the number of address
lines of the circuit.
If one device fails then the entire system will not stop working.
(iii) Fixed priority or Independent Request method –
In this, each master has a separate pair of bus request and bus grant lines
and each pair has a priority assigned to it.
The built-in priority decoder within the controller selects the highest priority
request and asserts the corresponding bus grant signal.
Advantages –
This method generates a fast response.
Disadvantages –
Hardware cost is high as a large no. of control lines is required.