# US 2002/0178311 A1 · Quantized queue length arbiter

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

- Number: US 2002/0178311 A1
- Document ID: US20020178311A1
- Status: Published application
- Kind: A1
- Application number: 10/158,845
- Filed: 2002-06-03
- Published: 2002-11-28
- Earliest claimed: 1999-11-29
- Assignees: Broadcom Corporation
- Inventors: Yao-Ching Liu; William Dai; Jason Chao; Jun Cao
- Web page: https://patentgrep.com/patent/US20020178311A1

## CPC

- G06F 5/065: {Partitioned buffers, e.g. allowing multiple independent queues, bidirectional FIFO's}
- G06F 13/1642: {with request queuing}
- G06F 13/364: using independent requests or grants, e.g. using separated request and grant lines
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A queue length arbiter system provides for selecting from a plurality of N queues requiring access to a resource. The system includes: an arbitration circuit; and a plurality of weight circuits each being associated with a corresponding one of the queues, and being operative to store a corresponding weight count value, and also being operative to initialize the corresponding weight count value to a corresponding initial weight value determined based on a length value indicative of a number of data portions enqueued at the corresponding queue at an initial time, and being further operative to decrease the corresponding weight count value in response to a corresponding one of a plurality of grant signals, and also being operative to generate a corresponding one of a plurality of weight count signals, the corresponding weight count signal carrying the corresponding weight count value. The arbitration circuit includes: a plurality of weight checking circuits associated with corresponding ones of the queues, each checking circuit being operative to generate a corresponding one of a plurality of select signals indicative of a corresponding selected one of the queues in response to each of the weight count signals, the corresponding selected queue being determined based on the weight count values; and a resolving circuit responsive to each of the select signals, and being operative to choose one of the weight checking circuits, and also being operative to provide the grant signals, the grant signals indicating a granted queue that is selected by the chosen weight circuit.

## Claims

### Claim 1

A queue length arbiter system for selecting a plurality of queues requiring access to a resource, said system comprising:
a first queue interface receiving information regarding packet volume in a first queue;
a second queue interface receiving information regarding packet volume in a second queue;
an arbiter connected to said first queue interface and said second queue interface, said arbiter selectively granting access to a resource by one of the first queue and the second queue, said arbiter granting higher priority access to a selected one of the first queue and the second queue based upon the volume of data packets therein.

### Claim 2 (depends on 1)

A queue length arbiter system as recited in claim 1, wherein said arbiter grants higher priority access to the selected one of the first and second queues based on which of the first and second queues has a greater volume of data packets therein.

### Claim 3 (depends on 1)

A queue length arbiter system as recited in claim 1, wherein said resource comprises a bus.

### Claim 4 (depends on 1)

A queue length arbiter system as recited in claim 1, wherein said arbiter is configured to switch higher priority access from the selected one queue to another queue when the volume of data packets in the selected one queue is reduced to a selected level.

### Claim 5 (depends on 1)

A queue length arbiter system as recited in claim 1, wherein said arbiter issues a grant signal to the selected one of the first queue and the second queue.

### Claim 6 (depends on 5)

A queue length arbiter system as recited in claim 5, wherein said first queue interface and said second queue interface comprises a decrementing means for decrementing a value corresponding to the volume of data packets in the first and second queues based upon grant signals issued from the arbiter.

### Claim 7

A method of controlling higher priority access to a resource from a plurality of queues, said method comprising the steps of:
receiving data signals at an arbiter, said data signals representative of volumes of data packets in at least two queues;
providing higher priority access to the resource by a selected one of the at least two queues based upon the volume of data packets in the at least two queues.

### Claim 8 (depends on 7)

A method as recited in claim 7, wherein said step of providing access to said resource comprises providing higher priority access by the one of the at least two queues having a higher volume of data packets therein.

### Claim 9 (depends on 7)

A method as recited in claim 7, wherein said step of providing higher priority access to the resource comprises providing higher priority access to a bus.

### Claim 10

A network switch, said network switch comprising:
a first queue interface receiving information regarding packet volume in a first queue;
a second queue interface receiving information regarding packet volume in a second queue;
an arbiter connected to said first queue interface and said second queue interface, said arbiter selectively granting access to a resource by one of the first queue and the second queue, said arbiter granting higher priority access to a selected one of the first queue and the second queue based upon the volume of data packets therein.

### Claim 11 (depends on 10)

A network switch as recited in claim 10, wherein said arbiter grants higher priority access to the selected one of the first and second queues based on which of the first and second queues has a greater volume of data packets therein.

### Claim 12 (depends on 10)

A network switch as recited in claim 10, wherein said resource comprises a bus.

### Claim 13 (depends on 10)

A network switch as recited in claim 10, wherein said arbiter is configured to switch higher priority access from the selected one queue to another queue when the volume of data packets in the selected one queue is reduced to a selected level.

### Claim 14 (depends on 10)

A network switch as recited in claim 10, wherein said arbiter issues a grant signal to the selected one of the first queue and the second queue.

### Claim 15 (depends on 14)

A network switch as recited in claim 14, wherein said first queue interface and said second queue interface comprises a decrementing means for decrementing a value corresponding to the volume of data packets in the first and second queues based upon grant signals issued from the arbiter.
