Home › Practice › RTL Design › 4-way round-robin arbiter
4-way round-robin arbiter
HardRTLarbitration
Grant one of four requesters, rotating priority fairly.
gntis combinational and one-hot (or all zero whenreq == 0).- The arbiter remembers the index of the last granted requester,
last. Priority starts atlast+1and wraps: iflast=2, the order is 3, 0, 1, 2. - On each rising edge where some grant is given,
lastbecomes the granted index. With no grant,lastholds. rstis synchronous, active-high, and setslastto 3, so requester 0 has top priority after reset.
No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.