# US 2021/0344354 A1 · Phy-based retry techniques for die-to-die interfaces

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

- Number: US 2021/0344354 A1
- Document ID: US20210344354A1
- Status: Published application
- Kind: A1
- Application number: 17/359,517
- Filed: 2021-06-26
- Published: 2021-11-04
- Earliest claimed: 2021-06-26
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Narasimha Lanka; Lakshmipriya Seshan; Debendra Das Sharma; Zuoguo Wu; Gerald S. Pasdast
- Web page: https://patentgrep.com/patent/US20210344354A1

## CPC

- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H03M 13/1105: {Decoding}
- H03M 13/611: {Specific encoding aspects, e.g. encoding by means of decoding}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

In one embodiment, an apparatus includes PHY circuitry to implement a PHY-based retry technique, e.g., in die-to-die interfaces. The PHY circuitry includes a retry buffer to buffer data provided by the interface controller and error detection code generation circuitry to generate error detection codes based on input data. The PHY circuitry is to implement the retry technique by detecting a stall signal asserted by another apparatus across the channel, causing the error detection code generation circuitry to generate error detection codes based on data in the retry buffer, and transmitting the data from the retry buffer and its corresponding error detection codes across the channel to the other apparatus.

## Claims

### Claim 1

An apparatus comprising:
interface controller circuitry; and
physical layer (PHY) circuitry coupled to the interface controller circuitry and to transmit data over a channel based on input from the interface controller circuitry, the PHY circuitry comprising:
a retry buffer to buffer data provided by the interface controller; and
error detection code generation circuitry to generate error detection codes based on input data;
wherein the PHY circuitry is to:
detect a stall signal asserted by another apparatus across the channel;
cause the error detection code generation circuitry to generate error detection codes based on data in the retry buffer; and
transmit the data from the retry buffer and its corresponding error detection codes across the channel to the other apparatus.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the PHY circuitry is further to:
detect a de-assertion of the stall signal by the other apparatus;
cause the error detection code generation circuitry to generate error detection codes based on data provided by the interface controller circuitry; and
transmit the data from the interface controller circuitry and its corresponding error detection codes across the channel to the other apparatus.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the PHY circuitry is further to pass the de-assertion of the stall signal to the interface controller circuitry and the interface controller circuitry is to resume providing data to the PHY circuitry based on the de-assertion of the stall signal.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the PHY circuitry is further to pass the stall signal to the interface controller circuitry and the interface controller circuitry is to stop providing data to the PHY circuitry based on the stall signal.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the PHY circuitry is further to receive data and corresponding error detection codes from across the channel, and the PHY circuitry further comprises error detection circuitry to:
detect errors in the data received across the channel based on the error detection codes corresponding to the data received across the channel; and
based on detection of an error, assert a stall signal across the channel and block the data being received across the channel from being passed to the interface controller circuitry.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the PHY circuitry is further to:
receive retry data and corresponding error correction codes across the channel after assertion of the stall signal; and
determine whether an error exists in the retry data based on the error correction codes corresponding to the retry data;
de-assert the stall signal across the channel based on determining that no error exists in the retry data; and
allow data received across the channel to be passed to the interface controller circuitry.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the PHY circuitry is further to receive an indication of a position within a retry buffer along with the retry data, wherein de-asserting the stall signal is based on comparing the indicated position with a position within the buffer of previously-received data known to not have an error.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the PHY circuitry is further to transmit an indication of a position within the retry buffer along with the data from the retry buffer and the error detection codes.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the retry buffer is a first-in/first-out (FIFO) buffer.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the retry buffer is to be filled with data from the interface controller circuitry prior to the data being transmitted across the channel.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the retry buffer is to be filled in parallel with data from the interface controller being transmitted across the channel.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein the error detection code generation circuitry is to generate one or more parity bits or a cyclic redundancy check (CRC) code.

### Claim 13

A system comprising:
a first die;
a second die; and
a die-to-die-interface to couple the first die and the second die;
wherein the first die comprises a first interface controller and first PHY circuitry, the first PHY circuitry comprising:
a retry buffer;
error detection code generation circuitry;
wherein the first PHY circuitry is to transmit data from the first interface controller and error correction codes corresponding to the data generated by the error detection code generation circuitry;
the second die comprises a second interface controller and second PHY circuitry, the second PHY circuitry comprising:
error detection circuitry to detect errors in the data transmitted by the first PHY circuitry based on the error detection codes; and
based on detection of an error in the data, assert a stall signal to the first PHY circuitry and block the data from being passed to the second interface controller; and
the first PHY circuitry is further to:
detect the stall signal asserted by the second PHY circuitry; and
based on detecting the asserted stall signal, transmit retry data from the retry buffer and error correction codes corresponding to the retry data generated by the error detection code generation circuitry.

### Claim 14 (depends on 13)

The system of claim 13, wherein the first PHY circuitry is further to pass the stall signal to the first interface controller.

### Claim 15 (depends on 13)

The system of claim 13, wherein the second PHY circuitry is further to:
receive the retry data and corresponding error correction codes from the first PHY circuitry;
determine whether an error exists in the retry data based on the error correction codes corresponding to the retry data; and
de-assert the stall signal to the first PHY circuitry based on determining that no error exists in the retry data.

### Claim 16 (depends on 15)

The system of claim 15, wherein the first PHY circuitry is further to transmit an indication of a position within the retry buffer along with the data from the retry buffer, and the second PHY circuitry is to de-assert the stall signal based on comparing the indicated position with a position within the buffer of previously-received data known to not have an error.

### Claim 17 (depends on 15)

The system of claim 15, wherein:
the first PHY circuitry is further to, based on the de-assertion of the stall signal, transmit data from the first interface controller and corresponding error detection codes generated by the error code generation circuitry to the second PHY circuitry; and
the second PHY circuitry is further to allow received from the first PHY circuitry to be passed to the second interface controller.

### Claim 18 (depends on 13)

The system of claim 13, wherein the first die comprises one or more of a processor, memory module, accelerator, or input/output (IO) circuitry.

### Claim 19 (depends on 13)

The system of claim 13, wherein the system comprises a system-on-chip (SoC).

### Claim 20

A method comprising:
filling, by first physical layer (PHY) circuitry, a retry buffer with data from an interface controller;
generating, by the first PHY circuitry, error detection codes based on the data;
transmitting the data and corresponding error correction codes to second PHY circuitry;
detecting, at the first PHY circuitry, a stall signal asserted by the second PHY circuitry;
generating, by the first PHY circuitry, error detection codes for the data in the retry buffer; and
transmitting the data from the retry buffer and its corresponding error detection codes to the second PHY circuitry.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
detecting, by the first PHY circuitry, a de-assertion of the stall signal by the second PHY circuitry;
generating, by the first PHY circuitry, error detection codes for the data from the interface controller; and
transmitting the data from the interface controller and its corresponding error detection codes to the second PHY circuitry.

### Claim 22 (depends on 20)

The method of claim 20, further comprising transmitting and indication of a position within the retry buffer along with the data from the retry buffer.

### Claim 23

A method comprising:
receiving, at second physical layer (PHY) circuitry, data and error correction codes corresponding to the data from first PHY circuitry;
detecting, by the second PHY circuitry, an error in the data based on the error correction codes;
blocking, by the second PHY circuitry, the data from being passed to an interface controller for processing based on the detected error; and
asserting, by the second PHY circuitry, a stall signal to the first PHY circuitry based on the detected error.

### Claim 24 (depends on 23)

The method of claim 23, further comprising:
receiving, at the second PHY circuitry, retry data and error correction codes corresponding to the retry data from the first PHY circuitry;
determining that no error exists in the retry data based on the error correction codes;
allowing the retry data to be passed to the interface controller based on the detection of no error in the retry data; and
de-asserting the stall signal to the first PHY circuitry.

### Claim 25 (depends on 24)

The method of claim 24, further comprising receiving an indication of a position within the retry buffer along with the data from the retry buffer, wherein de-asserting the stall signal is based on comparing the indicated position with a position within the buffer of previously-received data known to not have an error.
