- Asked 2/19
- 2075 Baisakh · 2+6 marks
- 2079 Asoj · 5 marks
Priority arbitration
Short answer
Priority arbitration uses a central arbiter with per-device request and grant lines. The arbiter grants the bus to the highest-priority requesting device. After the transfer, the device releases the bus; the arbiter serves the next pending request. Priority can be fixed (simple, may starve) or rotating (fairness).
What is arbitration? Explain priority arbitration with the help of a block diagram and steps (along with its types).
Arbitration is the method of deciding which one of several peripherals (or processors) requesting the system bus at the same time gets control of it. It is needed because only one master can drive the bus at a time.
Priority arbitration
A single priority arbiter hardware unit is connected to the bus masters. Each peripheral has its own request line (Req) to the arbiter and its own grant line (Ack) back from the arbiter. The arbiter decides according to a priority order.
+---------------------+
Req1 ->| |-> Ack1
Req2 ->| Priority arbiter |-> Ack2
Req3 ->| |-> Ack3
... | |
+----------+----------+
Req | Ack
v
Processor / bus
Steps
- A peripheral needing the bus asserts its Req line to the arbiter.
- The arbiter checks all active requests and chooses the one with the highest priority.
- The arbiter asserts the Ack line of the chosen peripheral (and a bus request to the processor if the CPU owns the bus).
- The peripheral uses the bus for its transfer, then drops Req.
- The arbiter removes Ack, and selects the next highest-priority pending request.
Types of priority
- Fixed priority: each device has a permanent rank, e.g. Req1 > Req2 > Req3. Simple, but low-priority devices may starve.
- Rotating priority (round robin): priority changes after each grant, e.g. the device just served becomes lowest. Fair to all devices.
- Related method: daisy-chain arbitration, where priority is decided by position along a grant chain.
Advantages: fast, fair if rotating, and the priority can be programmed. Disadvantages: one request/grant pair per device (more wires) and a more complex arbiter.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Priority and daisy-chain arbitration briefly · Embedded System, chapter 5
- Priority arbitration vs daisy chain · Embedded System, chapter 5
- Daisy-chain arbitration · Embedded System, chapter 5 · asked 5×
- PID control operation with block diagram · Embedded System, chapter 7 · asked 4×
- IC manufacturing steps · Embedded System, chapter 8
- Frequency counter operation with block diagram · Digital Logic, chapter 11 · asked 14×
- Instrumentation system with block diagram · Basic Electronics Engineering, chapter 7 · asked 3×
- Digital control system block diagram and advantages · Digital Control System, chapter 1 · asked 3×
- DCS block diagram and S/H tracking/hold modes · Digital Control System, chapter 1