# US 2023/0058854 A1 · Method and system for sequencing data checks in a packet

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

- Number: US 2023/0058854 A1
- Document ID: US20230058854A1
- Status: Published application
- Kind: A1
- Application number: 18/046,453
- Filed: 2022-10-13
- Published: 2023-02-23
- Earliest claimed: 2021-06-16
- Assignees: Ampere Computing LLC
- Applicants: Ampere Computing LLC
- Inventors: Matthew Robert ERLER; Robert James SAFRANEK; Robert Joseph TOEPFER; Sandeep BRAHMADATHAN; Shailendra Ramrao CHAVAN; Jonglih YU
- Web page: https://patentgrep.com/patent/US20230058854A1

## CPC

- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 2213/0024: Peripheral component interconnect [PCI]
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The system or device may build one or more data packets by dividing a given payload for a packet into data blocks and inserting data checks for each data block sequentially into the packet payload. The device may generate, for each of the data blocks, a corresponding data check block corresponding to data in each data block. The device may send or arrange the data blocks and the corresponding data check blocks such that each of the data blocks is followed by the corresponding error check block in the packet. Using the corresponding check block, each of the data blocks is independently verifiable, so that the data blocks may be used upon receipt, even if the payload is not completely received.

## Claims

### Claim 1

A method of communication performed by a transmitting device, the method comprising:
obtaining data blocks that include one or more flow control units (flits) or one or more hardware component messages;
generating, for each one of the data blocks, a respective error check block based on data of the corresponding data block, the data of the corresponding data block being independently verifiable based on the error check block;
building a packet based on a communication protocol, the packet including a header and a payload, and the payload including the data blocks and the error check blocks, each one of the error check blocks sequentially following the corresponding one of the data blocks in the payload; and
transmitting the packet based on the communication protocol.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a final error check block that is based on the data blocks and the corresponding error check blocks,
wherein the packet further includes the final error check block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the corresponding error check blocks are generated based on one or more of parity bits, a cyclical redundancy check (CRC), a hash code, or an error correction code.

### Claim 4 (depends on 1)

The method of claim 1, wherein
the data blocks are flits, and
the method further comprising:
determining a payload size of the packet by selecting a number of the data blocks for inclusion in the payload; or
determining a payload size of the packet based on a number of the data blocks received during a defined period.

### Claim 5 (depends on 4)

The method of claim 4, wherein the defined period being defined as from assertion of a valid code to assertion of a de-assert code.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating the header for the packet, the header being a transaction layer packet (TLP) header or a link layer packet header with framing information.

### Claim 7 (depends on 1)

The method of claim 1, wherein the transmitting the packet comprises:
transmitting the data blocks and the error check blocks over one or more common output lines.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
transmitting length data of the packet over another line different from the one or more common output lines.

### Claim 9 (depends on 7)

The method of claim 7, further comprising:
transmitting sequential number information of the packet over another line different from the one or more common output lines.

### Claim 10 (depends on 1)

The method of claim 1, wherein the communication protocol is a peripheral component interconnect (PCI) protocol or a peripheral component interconnect express (PCIe) protocol.

### Claim 11

A device, comprising circuitry configured to:
obtain data blocks that include one or more flow control units (flits) or one or more hardware component messages;
generate, for each one of the data blocks, a respective error check block based on data of the corresponding data block, the data of the corresponding data block being independently verifiable based on the error check block;
build a packet based on a communication protocol, the packet including a header and a payload, and the payload including the data blocks and the error check blocks, each one of the error check blocks sequentially following the corresponding one of the data blocks in the payload; and
transmit the packet based on the communication protocol.

### Claim 12 (depends on 11)

The device of claim 11, wherein the circuitry is further configured to:
generate a final error check block that is based on the data blocks and the corresponding error check blocks,
wherein the packet further includes the final error check block.

### Claim 13 (depends on 11)

The device of claim 11, wherein
the data blocks are flits, and
the circuitry is further configured to:
determine a payload size of the packet by selecting a number of the data blocks for inclusion in the payload; or
determine a payload size of the packet based on a number of the data blocks received during a defined period.

### Claim 14 (depends on 13)

The device of claim 13, wherein the defined period being defined as from assertion of a valid code to assertion of a de-assert code.

### Claim 15 (depends on 11)

The device of claim 11, wherein the circuitry is further configured to:
transmit the data blocks and the error check blocks over one or more common output lines.

### Claim 16 (depends on 15)

The device of claim 15, wherein the circuitry is further configured to:
transmit length data of the packet over another line different from the one or more common output lines.

### Claim 17 (depends on 15)

The device of claim 15, wherein the circuitry is further configured to:
transmit sequential number information of the packet over another line different from the one or more common output lines.

### Claim 18 (depends on 11)

The device of claim 11, wherein the communication protocol is a peripheral component interconnect (PCI) protocol or a peripheral component interconnect express (PCIe) protocol.

### Claim 19

A method of communication performed by a receiving device, the method comprising:
receiving a packet based on a communication protocol, the packet including a header and a payload, and the payload including data blocks and corresponding error check blocks, each one of the error check blocks sequentially following the corresponding one of the data blocks in the payload;
prior to the packet being received completely, extracting one of the data blocks and the corresponding error check blocks from a received portion of the packet;
validating the one of the data blocks based on the corresponding error check block; and
storing the one of the data blocks in a buffer after the one of the data blocks is validated based on the corresponding error check block.

### Claim 20 (depends on 19)

The method of claim 19, wherein the communication protocol is a peripheral component interconnect (PCI) protocol or a peripheral component interconnect express (PCIe) protocol.
