# US 2017/0289057 A1 · Self-timed router with virtual channel control

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

- Number: US 2017/0289057 A1
- Document ID: US20170289057A1
- Status: Published application
- Kind: A1
- Application number: 15/085,783
- Filed: 2016-03-30
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Weiwei Jiang; Greg Sadowski
- Web page: https://patentgrep.com/patent/US20170289057A1

## CPC

- H04L 47/527: {Quantum based scheduling, e.g. credit or deficit based scheduling or token bank}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems, apparatuses, and methods for implementing an asynchronous router with virtual channel (VC) control. The asynchronous router may support multiple VCs for connections to other routers. The asynchronous router may include an interface unit on each switch boundary, with each interface unit including a data merge unit. The data merge unit may include a full detector unit for each VC, with the full detector unit counting the number of flits sent out on a respective VC and counting the number of credits released by the successor router. Whenever the successor router has no credits available, the full detector unit will assert the full signal to prevent any input requests from requesting to transmit over that particular VC. When the full signal is asserted, a timer unit may be activated to repeatedly check if any credits have been released in the successor router.

## Claims

### Claim 1

An asynchronous router comprising:
a first counter to count a number of flow control units (flits) that have been sent out from the asynchronous router on a first virtual channel (VC);
a second counter to count a number of credits that have been released from an adjacent module on the first VC, wherein a credit represents an availability of a resource in the adjacent module or authorization for the router to take an action; and
wherein the asynchronous router is configured to prevent a new flit from being sent on the first VC responsive to determining the first counter is greater than or equal to the second counter.

### Claim 2 (depends on 1)

The asynchronous router as recited in claim 1, wherein responsive to determining the first counter is greater than or equal to the second counter, the asynchronous router is configured to generate a full indicator to prevent a request for arbitration from reaching a mutual exclusion element.

### Claim 3 (depends on 2)

The asynchronous router as recited in claim 2, wherein:
the asynchronous router comprises a timer unit and a comparator;
the asynchronous router is configured to activate the timer unit responsive to generating the full indicator; and
the timer unit is configured to cause the comparator to compare the first counter to the second counter on an interval determined by the timer unit.

### Claim 4 (depends on 1)

The asynchronous router as recited in claim 1, wherein the asynchronous router further comprises a comparator configured to perform a comparison of the first counter to the second counter in response to receiving a request to send a flit out on the first VC.

### Claim 5 (depends on 1)

The asynchronous router as recited in claim 1, wherein:
the asynchronous router is configured to increment the second counter responsive to receiving a credit increment from the adjacent module; and
the second counter is incremented without performing a check of the first counter.

### Claim 6 (depends on 1)

The asynchronous router as recited in claim 1, wherein:
the asynchronous router supports a plurality of VCs;
the asynchronous router comprises a pair of counters for each VC; and
the adjacent module is another asynchronous router.

### Claim 7 (depends on 1)

The asynchronous router as recited in claim 1, wherein:
the asynchronous router further comprises a synchronizer; and
an output of the second counter is conveyed to the synchronizer prior to being compared to an output the first counter.

### Claim 8

A system comprising:
a plurality of asynchronous routers; and
a computing module;
wherein a first asynchronous router comprises:
a first counter to count a number of flow control units (flits) that have been sent out from the first asynchronous router on a first virtual channel (VC); and
a second counter to count a number of credits that have been released from an adjacent module on the first VC, wherein a credit represents an availability of a resource in the adjacent module or authorization for the router to take an action;
wherein the first asynchronous router is configured to prevent a new flit from being sent on the first VC responsive to determining the first counter is greater than or equal to the second counter.

### Claim 9 (depends on 8)

The system as recited in claim 8, wherein responsive to determining the first counter is greater than or equal to the second counter, the first asynchronous router is configured to generate a full indicator to prevent a request for arbitration from reaching a mutual exclusion element.

### Claim 10 (depends on 9)

The system as recited in claim 9, wherein:
the first asynchronous router comprises a timer unit and a comparator;
the first asynchronous router is configured to activate the timer unit responsive to generating the full indicator; and
the timer unit is configured to cause the comparator to compare the first counter to the second counter on an interval determined by the timer unit.

### Claim 11 (depends on 8)

The system as recited in claim 8, wherein the first asynchronous router further comprises a comparator configured to perform a comparison of the first counter to the second counter in response to receiving a request to send a flit out on the first VC.

### Claim 12 (depends on 8)

The system as recited in claim 8, wherein:
the first asynchronous router is configured to increment the second counter responsive to receiving a credit increment from the adjacent module; and
the second counter is incremented without performing a check of the first counter.

### Claim 13 (depends on 8)

The system as recited in claim 8, wherein:
the first asynchronous router supports a plurality of VCs;
the first asynchronous router comprises a pair of counters for each VC; and
the adjacent module is a second asynchronous router.

### Claim 14 (depends on 8)

The system as recited in claim 8, wherein:
the first asynchronous router further comprises a synchronizer; and
an output of the second counter is conveyed to the synchronizer prior to being compared to an output the first counter.

### Claim 15

A method comprising:
maintaining a first counter to count a number of flow control units (flits) that have been sent out from an asynchronous router on a first virtual channel (VC);
maintaining a second counter to count a number of credits that have been released from an adjacent module on the first VC, wherein a credit represents an availability of a resource in the adjacent module or authorization for the router to take an action; and
preventing a new flit from being sent on the first VC responsive to determining the first counter is greater than or equal to the second counter.

### Claim 16 (depends on 15)

The method as recited in claim 15, further comprising generating a full indicator to prevent a request for arbitration from reaching a mutual exclusion element responsive to determining the first counter is greater than or equal to the second counter.

### Claim 17 (depends on 16)

The method as recited in claim 16, further comprising:
activating a timer unit responsive to generating the full indicator; and
causing a comparator to compare the first counter to the second counter on an interval determined by the timer unit.

### Claim 18 (depends on 15)

The method as recited in claim 15, further comprising performing a comparison of the first counter to the second counter in response to receiving a request to send a flit out on the first VC.

### Claim 19 (depends on 15)

The method as recited in claim 15, further comprising incrementing the second counter responsive to receiving a credit increment from the adjacent module, wherein the second counter is incremented without performing a check of the first counter.

### Claim 20 (depends on 15)

The method as recited in claim 15, wherein:
the asynchronous router supports a plurality of VCs;
the asynchronous router comprises a pair of counters for each VC; and
the adjacent module is another asynchronous router.
