# US 2006/0156083 A1 · Method of compensating for a byte skew of PCI express and PCI express physical layer receiver for the same

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

- Number: US 2006/0156083 A1
- Document ID: US20060156083A1
- Status: Published application
- Kind: A1
- Application number: 11/326,622
- Filed: 2006-01-07
- Published: 2006-07-13
- Earliest claimed: 2005-01-10
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Soon-Bok Jang; Young-Gyu Kang
- Web page: https://patentgrep.com/patent/US20060156083A1

## CPC

- G06F 13/423: {with synchronous protocol}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of compensating for a byte skew of a PCI Express bus, the method including determining whether received data are in a training sequence or not, setting an alignment point corresponding to each of the lanes based on a comma symbol included in the training sequence when the received data are in the training sequence, and shifting the alignment point by reflecting an addition or a removal of a skip symbol on the received data through each of the four lanes when the received data are not in the training sequence. Therefore, the byte skew of the PCI Express bus may be effectively compensated for despite the addition or the removal of the skip symbol.

## Claims

### Claim 1

A method of compensating for a byte skew of PCI Express bus, the method comprising:
determining whether or not a plurality of data streams are in a training sequence, each of data stream being received through a respective lane;
setting an alignment point for each lane based on a comma symbol included in the corresponding data stream received through the corresponding lane, when the received data streams are in the training sequence; and
shifting an alignment point by adding or removing a skip symbol in the corresponding data stream, when the received data streams are not in the training sequence.

### Claim 2 (depends on 1)

The method of claim 1, wherein a number of the lanes is four.

### Claim 3 (depends on 1)

The method of claim 1, wherein setting an alignment point comprises:
determining whether or not there exists a lane where the comma symbol is detected;
determining whether or not comma symbols are detected in all of the lanes during a predetermined time period, when there exists a lane where the comma symbol is detected; and
setting each of the alignment points based on each of timings when the corresponding comma symbol is detected, when the comma symbols are detected in all of the lanes during the predetermined time period.

### Claim 4 (depends on 1)

The method of claim 1, wherein shifting each of the alignment points comprises:
determining whether or not the skip symbol is added into the corresponding received data stream for each of the lanes, or whether or not the skip symbol is removed from the corresponding received data stream for each of the lanes;
shifting each of the alignment points so that the corresponding received data stream is less delayed, when the skip symbol is added into the corresponding received data stream; and
shifting each of the alignment points so that the corresponding received data stream is more delayed, when the skip symbol is removed from the corresponding received data stream.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining whether or not the comma symbols are detected in all of the lanes during the predetermined time period, comprises:
starting a timer when there exists the lane where the comma symbol is detected;
determining whether or not the comma symbols are detected in all of the lanes; and
determining whether or not the timer is expired.

### Claim 6 (depends on 4)

The method of claim 4, wherein shifting each of the alignment points so that the corresponding received data stream is less delayed when the skip symbol is added into the corresponding received data stream comprises shifting the alignment points of the other lanes except for the corresponding lane wherein the other received data streams except for the corresponding received data stream are more delayed when the corresponding received data stream cannot be less delayed.

### Claim 7 (depends on 4)

The method of claim 4, wherein shifting each of the alignment points so that the corresponding received data stream is more delayed when the skip symbol is removed from the corresponding received data stream comprises shifting the alignment points of the other lanes except for the corresponding lane wherein the other received data streams except for the corresponding received data stream are less delayed when the corresponding received data stream cannot be more delayed.

### Claim 8

A PCI Express physical layer receiver comprising:
a serializer/deserializer configured to convert each of a plurality of serial data streams received through respective lanes to respective 10-bit parallel data streams;
a PHY Interface for the PCI Express Architecture (PIPE) configured to perform a bit alignment process on each of the 10-bit parallel data streams based on comma symbols, configured to convert each of the 10-bit parallel data streams to respective 8-bit parallel data streams, and configured to add a skip symbol to the 8-bit parallel data stream or remove a skip symbol from the 8-bit parallel data stream based on a status of the corresponding received data stream; and
a skew compensator configured to set alignment points corresponding to each of the lanes based on the corresponding comma symbol included in the corresponding 8-bit parallel data stream, and configured to compensate for a byte skew between the 8-bit parallel data streams by shifting each of the alignment points based on an addition or a removal of the skip symbol in the corresponding 8-bit parallel data stream.

### Claim 9 (depends on 8)

The PCI Express physical layer receiver of claim 8, wherein a number of the lanes is four.

### Claim 10 (depends on 8)

The PCI Express physical layer receiver of claim 8, wherein the skew compensator receives information on the addition or the removal of the skip symbol from the PIPE.

### Claim 11 (depends on 8)

The PCI Express physical layer receiver of claim 8, wherein the skew compensator is configured to determine whether or not there exists the lane where the comma symbol is detected, configured to determine whether or not the comma symbols are detected in all of the lanes during a predetermined time period, when there exists the lane where the comma symbol is detected, and configured to set each of the alignment points based on each of timings when the corresponding comma symbols is detected, when the comma symbols are detected in all of the lanes during the predetermined time period.

### Claim 12 (depends on 8)

The PCI Express physical layer receiver of claim 8, wherein the skew compensator is configured to shift each of the alignment points so that the corresponding 8-bit parallel data stream is less delayed when the skip symbol is added into the corresponding 8-bit parallel data stream, and configured to shift the alignment points so that the corresponding 8-bit parallel data stream is more delayed when the skip symbol is removed from the corresponding 8-bit parallel data stream.

### Claim 13 (depends on 11)

The PCI Express physical layer receiver of claim 11, wherein the skew compensator comprises a timer for determining whether or not the comma symbols are detected in all of the lanes during the predetermined time period.

### Claim 14 (depends on 13)

The PCI Express physical layer receiver of claim 13, wherein the timer is configured to be started when there exists the lane where the comma symbol is detected, and configured to be reset when the comma symbols are not detected in all of the lanes during the predetermined time period.

### Claim 15 (depends on 12)

The PCI Express physical layer receiver of claim 12, wherein the skew compensator is configured to shift the alignment points of the other lanes except for the corresponding lane wherein the other 8-bit parallel data stream except for the corresponding 8-bit parallel data stream are more delayed when the corresponding 8-bit parallel data stream cannot be less delayed.

### Claim 16 (depends on 12)

The PCI Express physical layer receiver of claim 12, wherein the skew compensator is configured to shift the alignment points of the other lanes except for the corresponding lane wherein the other 8-bit parallel data streams except for the corresponding data stream are less delayed when the corresponding 8-bit parallel data stream cannot be more delayed.

### Claim 17

A method of compensating for a byte skew of PCI Express bus, the method comprising:
determining whether or not a plurality of data streams are in a training sequence, each of data stream being received through a respective lane;
when the received data streams are in the training sequence, setting an alignment point for each lane based on a comma symbol included in the corresponding data stream received through the corresponding lane, wherein setting an alignment point comprises determining whether or not there exists a lane where the comma symbol is detected; and
setting each of the alignment points based on each of timings when the corresponding comma symbol is detected.

### Claim 18 (depends on 17)

The method of claim 17, wherein when the received data streams are not in the training sequence, further comprising shifting each of the alignment points by adding or removing a skip symbol in the corresponding data stream, wherein the shifting each of the alignment points comprises:
determining whether or not the skip symbol is added into the corresponding received data stream for each of the lanes, or whether or not the skip symbol is removed from the corresponding received data stream for each of the lanes; and
when the skip symbol is added into the corresponding received data stream, shifting each of the alignment points of the other lanes except for the corresponding lane wherein the other received data streams except for the corresponding received data stream are more delayed when the corresponding received data stream cannot be less delayed.

### Claim 19 (depends on 18)

The method of claim 18, wherein the shifting each of the alignment points further comprises, when the skip symbol is removed from the corresponding received data stream, shifting each of the alignment points of the other lanes except for the corresponding lane wherein the other received data streams except for the corresponding received data stream are less delayed when the corresponding received data stream cannot be more delayed.

### Claim 20 (depends on 17)

The method of claim 17, further comprising, when there exists a lane where the comma symbol is detected, determining whether or not comma symbols are detected in all of the lanes during a predetermined time period, wherein the determining whether or not the comma symbols are detected in all of the lanes during the predetermined time period comprises:
starting a timer when there exists the lane where the comma symbol is detected;
determining whether or not the comma symbols are detected in all of the lanes;
determining whether or not the timer is expired; and
setting each of the alignment points based on each of timings when the comma symbols are detected in all of the lanes during the predetermined time period.
