Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

8B/9B encoding and decoding method for serial bus

An encoding method and serial bus technology, applied in the serial bus field, can solve the problems of low bandwidth utilization and high overhead.

Active Publication Date: 2020-11-20
北京中航通用科技有限公司
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the original 8-bit bytes are represented by 10 bits, the overhead of 8B / 10B encoding will be too large, and the bandwidth utilization rate will not be high.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • 8B/9B encoding and decoding method for serial bus
  • 8B/9B encoding and decoding method for serial bus
  • 8B/9B encoding and decoding method for serial bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The run length (RL, RunLength) is defined as encoding any message, and in the encoding result, the maximum number of bits that are consecutively "0" or "1". Generally, the shorter the running length, the better. The run length of a single codeword does not represent the run length of the encoded result. For example, two consecutive codewords, A=9b’000110011, B=9b’111001100, the lower bits are output first. At this time, the run lengths of the codewords A and B themselves are both 3, but when A and B are sequentially connected together, the run length is 5.

[0026] In order to ensure RL ≤ 4, there are 3 methods of selecting codewords

[0027] F1: Internal RL≤4, head (close to b0) tail (close to b8) RL≤2. In principle, each F1 codeword can represent a numerical value, such as 9b'110001101. (Of course, combined with the DC component, it is also possible to use two F1 codewords to represent a value, such as 9b’001000110 and 9b’110111001)

[0028] F2: Internal RL≤4, he...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a 8B / 9B encoding and decoding method for a serial bus. The method comprises the following steps: step 1, classifying all 9B code words; step 2, according to a classification result, considering the DC as small as possible, and selecting coding code words of a data word and a control word; step 3, encoding the selected code words to form an encoding table; step 4, looking upthe 8B data on the bus according to the compiled coding table to be compiled into 9B data, and then sending out the 9B data; compiling a decoding table corresponding to the coding table; and lookingup the decoding table for decoding the 9-bit code words received from the bus. Compared with an 8B / 10B encoding and decoding scheme in the prior art, the transmission efficiency is improved to 89% from 80%, the operation length is reduced to 4 from 5, and the method can adapt to a more severe transmission environment.

Description

technical field [0001] The invention relates to the technical field of serial bus, in particular to an 8B / 9B codec method for serial bus. Background technique [0002] In serial synchronous communication, such as Ethernet, FC, etc., most of them currently use 8B / 10B encoding and decoding schemes. The main feature of the 8B / 10B encoding and decoding scheme is to ensure DC balance. Using 8B / 10B encoding can ensure that the number of "0" and "1" sent on the bus is basically the same, and the number of consecutive "0" and "1" does not exceed 5 . However, if the original 8-bit bytes are represented by 10 bits, the overhead of 8B / 10B encoding will be too large, and the bandwidth utilization rate will not be high. Contents of the invention [0003] In view of the above deficiencies in the prior art, the present invention proposes an 8B / 9B codec method with high bandwidth utilization. [0004] According to one aspect of the present invention, a kind of serial bus 8B / 9B coding m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/42H04L1/00
CPCG06F13/4282H04L1/0043Y02D10/00
Inventor 刘靖郑云龙杨水华
Owner 北京中航通用科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products