# US 2021/0342282 A1 · Systems and Methods for Arbitrating Traffic in a Bus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342282 A1
- Document ID: US20210342282A1
- Status: Published application
- Kind: A1
- Application number: 17/375,565
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2018-08-20
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Nachiappan Chidambaram Nachiappan; Jaideep Dastidar; Yiu Chun Tse; Ripudaman Singh; Shawn Munetoshi Fukami; Benjamin K. Dodge; Vinodh R. Cuppu
- Web page: https://patentgrep.com/patent/US20210342282A1

## CPC

- G06F 13/366: using a centralised polling arbiter
- G06F 13/368: with decentralised access control
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/4031: {with arbitration}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for efficiently arbitrating traffic on a bus. A computing system includes a fabric for routing traffic among one or more agents and one or more endpoints. The fabric includes multiple arbiters in an arbitration hierarchy. Arbiters store traffic in buffers with each buffer associated with a particular traffic type and a source of the traffic. Arbiters maintain a respective urgency counter for keeping track of a period of time traffic of a particular type is blocked by upstream arbiters. When the block is removed, the traffic of the particular type has priority for selection based on the urgency counter. When arbiters receive feedback from downstream arbiters or sources, the arbiters adjust selection priority accordingly. For example, changes in bandwidth requirement, low latency tolerance and active status cause adjustments in selection priority of stored requests.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

An apparatus comprising:
a first interface configured to receive requests corresponding to a given type of request from a first source and a second source;
a plurality of buffers configured to store the requests;
a second interface configured to receive messages from an arbiter; and
control logic configured to:
in response to a determination that a group of two or more buffers store types of requests with an ordering dependence between them:
determine merged attributes of the two or more buffers within the group; and
use the merged attributes when selecting requests of a type not being blocked.

### Claim 22 (depends on 21)

The apparatus as recited in claim 21, wherein the merged attributes comprise a single set of one or more attributes for the two or more dependent groups, and the control logic is configured to send the single set of one or more attributes to the arbiter via the second interface.

### Claim 23 (depends on 22)

The apparatus as recited in claim 22, wherein the merged attributes comprise one or more of a merged bandwidth requirement and a merged count for the group, wherein the merged bandwidth requirement is based on bandwidth requirements of the two or more buffers within the group and the merged count is based on counts corresponding to the two or more buffers within the group.

### Claim 24 (depends on 22)

The apparatus as recited in claim 22, wherein use of the merged attributes comprises use of one or more of the merged bandwidth requirement and the merged count when selecting requests of the type not being blocked.

### Claim 25 (depends on 22)

The apparatus as recited in claim 22, wherein in response to determining the one or more of the merged bandwidth requirement and the merged count cause the group to be selected, the control logic is configured to:
select a stored request from a buffer of the two or more buffers in the group based on the ordering dependence between requests in the group; and
send the selected request to the arbiter via the second interface.

### Claim 26 (depends on 21)

The apparatus as recited in claim 21, wherein the merged attributes comprise one or more of a maximum bandwidth requirement, a latency tolerance, a maximum priority level, and an urgency count.

### Claim 27 (depends on 21)

The apparatus as recited in claim 21, wherein the control logic is configured to:
receive a message from the arbiter indicating the arbiter is unable to receive transactions of a given type; and
maintain a counter that indicates a period of time the arbiter is unable to receive transactions of the given type.

### Claim 28 (depends on 21)

The apparatus as recited in claim 21, wherein the control logic is configured to:
assign a priority to each of the first source and the second source;
in response to receipt, via the first interface, an indication of active and inactive status for the first source and the second source:
determine a ratio of a maximum number of active requests of a first type generated by the first source to a maximum number of active requests of a second type generated by the second source; and
adjust a priority for each of the first source and the second source based on the ratio.

### Claim 29 (depends on 21)

The apparatus as recited in claim 21, wherein the control logic is configured to:
store requests received from a plurality of agents in buffers of the plurality of buffers;
assign an initial arbitration weight to requests of a first type stored in the plurality of buffers, based in part on the first type and a status of the plurality of agents;
receive an indication of a change in status of an agent of the plurality of agents;
assign a new arbitration weight to requests of the first type, based at least in part on the indication; and
select a request from the plurality of buffers, based at least in part on a corresponding arbitration weight.

### Claim 30 (depends on 29)

The apparatus as recited in claim 29, wherein a product of the new arbitration weight and a number of active agents subsequent to receipt of the indication is equal to a product of the initial arbitration weight and a number of active agents prior to receipt of the indication.

### Claim 31

A method comprising:
receiving, via a first interface, requests corresponding to a given type of request from a first source and a second source;
storing the requests in one or more buffers of a plurality of buffers;
a second interface configured to receive messages from an arbiter; and
control logic configured to:
in response to determining a group of two or more buffers store types of requests with an ordering dependence between them:
determining merged attributes of the two or more buffers within the group; and
using the merged attributes when selecting requests of a type not being blocked.

### Claim 32 (depends on 31)

The method as recited in claim 31, wherein the merged attributes comprise a single set of one or more attributes for the two or more dependent groups, and the method further comprises sending the single set of one or more attributes to the arbiter via the second interface.

### Claim 33 (depends on 32)

The method as recited in claim 32, wherein the merged attributes comprise one or more of a merged bandwidth requirement and a merged count for the group, wherein the merged bandwidth requirement is based on bandwidth requirements of the two or more buffers within the group and the merged count is based on counts corresponding to the two or more buffers within the group.

### Claim 34 (depends on 32)

The method as recited in claim 32, wherein using the merged attributes comprises using one or more of the merged bandwidth requirement and the merged count when selecting requests of the type not being blocked.

### Claim 35 (depends on 32)

The method as recited in claim 32, wherein in response to determining the one or more of the merged bandwidth requirement and the merged count cause the group to be selected, the method further comprises:
selecting a stored request from a buffer of the two or more buffers in the group based on the ordering dependence between requests in the group; and
sending the selected request to the arbiter via the second interface.

### Claim 36 (depends on 31)

The method as recited in claim 31, wherein the merged attributes comprise one or more of a maximum bandwidth requirement, a latency tolerance, a maximum priority level, and an urgency count.

### Claim 37 (depends on 31)

The method as recited in claim 31, further comprising:
receiving a message from the arbiter indicating the arbiter is unable to receive transactions of a given type; and
maintaining a counter that indicates a period of time the arbiter is unable to receive transactions of the given type.

### Claim 38 (depends on 37)

The method as recited in claim 37, further comprising incrementing the counter during a period of time that requests of the given type are unable to be received by the arbiter.

### Claim 39

A system comprising:
a first arbiter configured to receive requests corresponding to a given type of request from a first source and a second source; and
a second arbiter configured to convey messages to the first arbiter;
wherein in response to determining a group of two or more buffers store types of requests with an ordering dependence between them, the first arbiter is configured to:
determine merged attributes of the two or more buffers within the group; and
use the merged attributes when selecting requests of a type not blocked by the second arbiter.

### Claim 40 (depends on 39)

The system as recited in claim 39, wherein the merged attributes comprise a single set of one or more attributes for the two or more dependent groups, and the first arbiter is configured to send the single set of one or more attributes to the second arbiter.
