# US 2021/0342285 A1 · Encoding of symbols for a computer interconnect based on frequency of symbol values

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

- Number: US 2021/0342285 A1
- Document ID: US20210342285A1
- Status: Published application
- Kind: A1
- Application number: 16/863,149
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: SeyedMohammad SEYEDZADEHDELCHEH; Steven RAASCH; Sergey BLAGODUROV
- Web page: https://patentgrep.com/patent/US20210342285A1

## CPC

- G06F 13/4027: {using bus bridges (G06F13/4022 takes precedence)}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M 7/6047: {Power optimization with respect to the encoder, decoder, storage or transmission}
- H03M 9/00: Parallel/series conversion or vice versa (digital stores in which the information is moved stepwise per se G11C19/00)
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Data are serially communicated over an interconnect between an encoder and a decoder. The encoder includes a first training unit to count a frequency of symbol values in symbol blocks of a set of N number of symbol blocks in an epoch. A circular shift unit of the encoder stores a set of most-recently-used (MRU) amplitude values. An XOR unit is coupled to the first training unit and the first circular shift unit as inputs and to the interconnect as output. A transmitter is coupled to the encoder XOR unit and the interconnect and thereby contemporaneously sends symbols and trains on the symbols. In a system, a device includes a receiver and decoder that receive, from the encoder, symbols over the interconnect. The decoder includes its own training unit for decoding the transmitted symbols.

## Claims

### Claim 1

A method comprising:
identifying, by a training unit of an encoder, a frequency of each symbol value in a first set of symbol blocks in a first epoch, wherein each symbol has one of at least four possible values; and
in a second epoch:
encoding each symbol of another set of symbol blocks based on the identified frequency of each respective symbol value in the first set of symbol blocks of the first epoch; and
communicating, across an interconnect, each encoded symbol value.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
encoding each symbol includes performing a first XOR operation based on the identified frequency of each respective symbol value in the first set of symbol blocks of the first epoch.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
identifying the frequency of each symbol value in the first the set of symbol blocks includes:
storing, in a first circular shift unit, a set of most-recently-used (MRU) symbol values for the first epoch based on the respective symbol values; and
the first XOR operation is performed using the MRU symbol values of the first circular shift unit as input.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
providing an update signal at an end of each epoch to a multiplexer of the first circular shift unit that causes a first circular shift register to store a new set of MRU symbol values.

### Claim 5

A method comprising:
identifying, by a training unit of a decoder, a frequency of each symbol value in a first set of encoded symbol values in a first epoch, wherein each symbol has one of at least four possible values; and
in a second epoch:
decoding each symbol of another set of symbol values based on the identified frequency of each respective symbol value in the first set of symbol blocks of the first epoch; and
communicating, across the interconnect, each encoded symbol value.

### Claim 6 (depends on 5)

The method of claim 5, wherein decoding comprises:
counting the frequency of amplitude values of the symbols of each symbol block of the set of symbol blocks;
identifying the MRU symbol values by a circular shift unit;
storing the set of MRU symbol values; and
performing an XOR operation on each encoded symbol of the symbol blocks using the identified MRU symbol values of the second circular shift unit as input to the XOR operation.

### Claim 7

A system for serially communicating data as symbols over an interconnect, the system comprising:
an encoder including:
a first training unit to identify a frequency of symbol values of a first set of symbol blocks in a first epoch, wherein respective symbol values encode one of a plurality of at least four possible symbol values; and
in a second epoch subsequent in time to the first epoch, encoding each symbol of another set of symbol blocks based on the frequency of each respective symbol value in the symbol blocks of the first epoch; and
a transmitter coupled to the encoder and the interconnect, wherein the transmitter transmits the encoded symbols onto the interconnect.

### Claim 8 (depends on 7)

The system of claim 7, wherein the encoder further includes:
a first circular shift unit to store a set of most-recently-used (MRU) symbol values based on the identified frequency of the symbol values.

### Claim 9 (depends on 8)

The system of claim 8, wherein the first training unit provides an update signal at an end of a last symbol block of the first epoch to a multiplexer of the first circular shift unit that causes a first circular shift register to store a new set of MRU symbol values based on the frequency of the symbol values in the symbol blocks of the set of N number of symbol blocks in the first epoch.

### Claim 10 (depends on 8)

The system of claim 8, wherein the encoder further includes:
a first XOR unit coupled to the first circular shift unit as input and to the interconnect as output.

### Claim 11 (depends on 8)

The system of claim 8, wherein:
the first training unit includes first registers for counts of the frequency of symbol values in the set of symbol blocks; and
the first training unit includes counts of symbol values processed by the encoder, in the respective first registers, for the symbols of the symbol blocks of the set of symbol blocks.

### Claim 12 (depends on 7)

The system of claim 7, wherein the first training unit:
selects a symbol block size based on a symbol stream processed by the encoder; and
communicates the symbol block size to the decoder across the interconnect for decoding the symbols transferred across the interconnect.

### Claim 13 (depends on 12)

The system of claim 12, wherein the first training unit selects a first numerical value for double precision floating point workloads as the symbol block size and a second numerical value different from the first numerical value for integer workloads.

### Claim 14 (depends on 7)

The system of claim 7, wherein:
a bit length of each symbol is 3-bits, and wherein the interconnect is an eight-level pulse amplitude modulation (PAM-8)-based interconnect.

### Claim 15 (depends on 7)

The system of claim 7, wherein:
the encoder maps each symbol block into one or more codewords;
the first training unit selects a codeword as a most-recently-used (MRU) codeword that has a minimum number of symbol transitions among existing codewords; and
the encoder sends the selected MRU codeword to the decoder across the interconnect.

### Claim 16 (depends on 7)

The system of claim 7, wherein the interconnect is a four-level pulse amplitude modulation (PAM-4) interconnect

### Claim 17

A system, comprising:
a receiver; and
a decoder coupled to receive symbols over an interconnect via the receiver, wherein the decoder includes:
a training unit to identify the frequency of symbol values of the set of symbol blocks for a first epoch;
wherein the decoder is to decode received symbol values of a second epoch based on the identified frequency of symbol values;

### Claim 18 (depends on 17)

The system of claim 17, wherein the decoder further comprises:
a circular shift unit to store the set of MRU amplitude values based on the identity of the frequency of the symbol values; and
an XOR unit coupled to the interconnect and the second circular shift unit as inputs and to the second training unit as output.

### Claim 19 (depends on 18)

The system of claim 18, wherein:
the decoder includes a zero decompressor to add compressed zero-value symbol values removed by the zero compressor.

### Claim 20 (depends on 18)

The system of claim 18 wherein each symbol is approximately at one of four amplitude values.
