In multi-master AHB systems, an Arbiter is required to decide which master gets to drive the address bus.
- HBUSREQx: Master 'x' asserts this to request the bus.
- HGRANTx: Arbiter asserts this to grant the bus to Master 'x'.
- HMASTER: Arbiter indicates the ID of the current owner to the slaves and decoder.
- HLOCKx: Indicates the master requires an atomic sequence (cannot be interrupted).
The arbitration protocol ensures no two masters drive the bus simultaneously. Grants can be changed at the end of every burst (or even single transfer if not locked).