Why 8b 10b encoding is required?

Why 8b 10b encoding is required?

The 8B/10B encoding serves two purposes. First, it makes sure there are enough transitions in the serial data stream so the clock can be recovered easily from the embedded data. Second, because it transmits the same number of ones as zeros, it maintains a d-c balance.

What is 8b 10b encoding in PCIE?

8b/10b encoding is a telecommunications line code in which each eight-bit data byte is converted to a 10-bit transmission character. 8b/10b encoding was invented by IBM and is used in transmitting data on enterprise system connections, gigabit Ethernet and over fiber channel.

How is 8b 10b encoding done?

The Fibre Channel 8b/10b coding scheme is also used in other telecommunications systems. This mapping is usually done at the time when parallel input data is converted into a serial output stream for transmission over a fibre channel link.

Why is 4B 5B encoding useful?

The 4b/5b Encoding Method Since the input data is taken 4-bits at a time, there are 2^4, or 16 different bit patterns. The encoded bits use 5-bit, and hence have 2^5 or 32 different bit patterns. This enables clock synchronisations required for reliable data transfer.

How many characters are in an 8B / 10B encoder?

The code defines the mapping from a 8-bit byte (256 unique data words) and an additional 12 special (or K) characters into a 10-bit symbol, hence the name 8b/10b encoding.

What is the running disparity of an encoded symbol?

The code scheme guarantees that an encoded symbol’s disparity is always either 0 (five ones, five zeros), +2 (six ones four zeros) or -2 (four ones, six zeros). Some byte inputs will have more that one potential symbol encoding with the encoded symbol pattern determined by the “running disparity”.

When is running disparity of 10 bit encoded data invalid?

RUNNING DISPARITY 1 Value of disparity of 10-Bit encoded data is +2 or -2 or 0. 2 +1 or -1 is invalid running disparity of 10-Bit encoded data. 3 The serial data stream is no longer DC-balanced if the disparity is +2 or -2 4 Running disparity is introduce to transmit data stream DC-balanced

What is the running disparity at the end of a block?

The code scheme stipulates that the running disparity at the end of any symbol (block) is always +1 or -1. To ensure that this rule is maintained, the Encoder will track the current running disparity. If the currently encoded byte produces a symbol of zero disparity, the running disparity remains unchanged.