An apparatus for selecting one of N requestors of a shared resource in a round-robin fashion is disclosed. One or more of the N requesters may be disabled from being selected in a selection cycle. The apparatus includes a first input that receives a first value specifying which of the N requesters was last selected. A second input receives a second value specifying which of the N requesters is enabled to be selected. A barrel incrementer, coupled to receive the first and second inputs, 1-bit left-rotatively increments the second value by the first value to generate a sum. Combinational logic, coupled to the barrel incrementer, generates a third value specifying which of the N requesters is selected next.
展开▼