CN107395539A - A kind of 8B10B encoder design methods the agreement suitable for JESD204B - Google Patents

A kind of 8B10B encoder design methods the agreement suitable for JESD204B Download PDF

Info

Publication number
CN107395539A
CN107395539A CN201710776254.6A CN201710776254A CN107395539A CN 107395539 A CN107395539 A CN 107395539A CN 201710776254 A CN201710776254 A CN 201710776254A CN 107395539 A CN107395539 A CN 107395539A
Authority
CN
China
Prior art keywords
polarity
coding
jesd204b
byte
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710776254.6A
Other languages
Chinese (zh)
Inventor
李斌
詹静糠
吴朝晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201710776254.6A priority Critical patent/CN107395539A/en
Publication of CN107395539A publication Critical patent/CN107395539A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4906Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes
    • H04L25/4908Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The present invention proposes a kind of 8B10B encoder design methods agreement suitable for JESD204B, this method is using look-up table by the way of combinational logic method is combined, K bytes and D bytes are encoded separately, coding schedule is simplified, reduces the number of plies of logical process, simultaneously, due to code error be only possible to be invalid K codes input, therefore, the error detection of coding is located in K byte code modules, further reduces the number of plies of D byte codes module logic processing.It is located at the 8B10B encoder design methods of system data link layer the agreement provided by the invention suitable for JESD204B, there is certain improvement compared to conventional method and comply fully with JESD204B protocol specifications, can be applied in the design of the HSSI High-Speed Serial Interface based on JESD204B agreements.

Description

A kind of 8B10B encoder design methods the agreement suitable for JESD204B
Technical field
The present invention relates to a kind of 8B10B encoders, and in particular to the 8B10B codings a kind of agreement suitable for JESD204B Device design method.
Background technology
JESD204B agreements employ the Serdes interfacings of main flow, and provide that Serdes interfaces use 8B10B volume Coding/decoding method meets the requirement of high-speed transfer.8B10B encoding scheme major functions are into 10bit numbers by 8bit data encodings According to the code character that 0,1 distribution balance as far as possible can be picked out when sending data from 1024 10B code characters is sent, to maintain The DC balance of link, avoids null offset;Meanwhile keep the maximum continuous length for sending in sequence 0 and 1 to be no more than 5, have Beneficial to the recovery of clock.
Different from traditional 8B10B codings, the 8B10B codings in JESD204B interface protocols have the characteristics that:1st, number Include D11.7, D13.7, D14.7, D17.7, D18.7, D20.76 special bytes according to character code.2nd, 8B10B codings With 5 kinds of control characters, respectively K28.0, K28.3, K28.4, K28.5, K28.7.
Traditional 8B10B codings implementation method includes table look-at method and purely logical realizes method.Although table look-at method reality Now facilitate, but resource consumption is big, and the operating rate of coding-decoding circuit is limited by FPGA internal storage read access times, simultaneously Add the area and power consumption of chip.Purely logical to realize method circuit complexity, difficulty is big, simultaneously because risk, competition and delay In the presence of making output data shake serious, limit the highest operating rate of chip.
The content of the invention
In order to solve the above problems, the present invention proposes one kind and is located at system data link suitable for JESD204B agreements The design method of the 8B10B encoders of layer.
To achieve the above object, the present invention, which one of adopts the following technical scheme that, realizes.
A kind of 8B10B encoder design methods agreement suitable for JESD204B, it uses look-up table and combinational logic The mode that method is combined realizes 8B10B encoders;8B10B encoders include K byte codes and D byte codes;K bytes are compiled Code and D byte codes separate, and simplify coding schedule, reduce the number of plies of logical process.Wherein, K byte codes are used and directly looked into Table method is realized;Simplify K byte code tables using equalization information is added, and K is together decided on using equalization information and polarity information Whether byte code result, which needs, overturns, while determines K byte code output polarities;Code error is only possible to be due to invalid K The input of code, therefore the error detection encoded is located in K byte code modules, further reduces D byte code module logics The number of plies of processing.K byte codes table and its coding principle are as shown in table 1, table 2.
Further, D byte codes are divided into 3B4B coding modules, 5B6B coding modules and polarity computing module, using string Row structure, i.e., 5B6B codings are first carried out, reuse the polarity after 5B6B codings and carry out 3B4B codings;Wherein, 5B6B coding modules First I (I=0) is added to obtain ABCDEI6 positions character after 5 character ABCDE are inputted, then again to the certain bits in this 6 characters Rule carries out necessary upset according to the coding schedule of setting, obtains correct coding result.
Further, 3B4B coding modules first add J (J=0) to obtain FGHJ4 positions character after 3 character FGH are inputted, so To the certain bits in this 4 characters, the rule according to the coding schedule of setting carries out necessary upset again afterwards, is correctly compiled Code result.
Further, the polarity that polarity computing module is included in 5B6B cataloged procedures calculates and the pole in 3B4B cataloged procedures Property calculate;Wherein, the polarity in 5B6B cataloged procedures is calculated according to the polarity access information rule encoded in coding schedule 3, then evidence Coding result is balanced code or non-equilibrium code to decide whether to overturn polarity;Polarity in 3B4B cataloged procedures calculate with It is similar in 5B6B cataloged procedures;The polarity results finally encoded according to the 5B6B polarity results encoded and 3B4B together decide on most Whole coding output polarity.
Further, K byte codes are realized using the method for table look-at.JESD204B agreements only use 5 K codes, point Not Wei K28.0, K28.3, K28.4, K28.5, K28.7, and according to polarity information, its coding result is that step-by-step negates.Originally set Count using addition equalization information to simplify K byte code tables, and K byte codes are together decided on using equalization information and polarity information As a result whether need to overturn.Code error be only possible to be due to invalid K codes input, therefore encode error detection be located at K words Save in coding module.
Further, 5B6B coding modules first after ABCDE plus I (I=0) obtain ABCDEI6 positions character, then by from A high position arrives the order of low level, and according to rule shown in coding schedule 3, it is 1 first to force it, then it is 0 to force it, finally according to polarity information With input 5B characters, determine whether coding result needs to overturn.
Further, 3B4B coding modules are first after FGH plus J (J=0) obtains FGHJ4 positions character, then by from a high position To the order of low level, according to rule shown in coding schedule 4, it is only necessary to which it is 1 to force it, finally according to 5B6B output polarities and input 3B Character, determines whether coding result needs to overturn.It is noted here that the replacement between Dx.P7 and Dx.A7, Replacement are: When 5B6B output polarities are the e=i=0 just and after encode, or when 5B6B output polarities are negative and e=i after encode =1.
Compared with prior art, the beneficial effect that the present invention is reached:The present invention uses and separately compiles K bytes and D bytes The mode of code, simplifies coding schedule, reduces the number of plies of logical process, simultaneously because code error is only possible to be invalid K codes Input, thus encode error detection be located in K byte code modules, D byte codes module need to only be encoded and do not have into Row error detection, further reduce the number of plies of D byte codes module logic processing.
Brief description of the drawings
Fig. 1 is 8B10B coder structure schematic diagrames.
Fig. 2 is that 8B and 10B encodes corresponding relation figure in example.
Embodiment
With reference to embodiment and accompanying drawing, the implementation to the present invention is described further, but the implementation and protection of the present invention Not limited to this, if it is noted that the following symbol having not in especially detailed description part such as coding schedule, is this area skill Art personnel can refer to prior art realize and understand.
The 8B10B encoder designs suitable for JESD204B agreements of this example, the present invention is using look-up table with combining The mode that logical approach is combined realizes 8B10B encoders, wherein, K bytes and D bytes are encoded separately, simplify code table, subtract The number of plies of logical process is lacked.Coder structure is as shown in Figure 1.8B10B coding corresponding relations are as shown in Figure 2.
As shown in figure 1, being 8B10B coder structures, each symbol can refer to prior art understanding, 8B10B encoders in figure K byte codes module and D byte code modules can be divided into, wherein D byte codes module is divided into 3B4B coding modules, 5B6B codings Module and polarity computing module.
K byte codes are realized using table look-at method.Simplify K byte code tables using equalization information is added, and utilize Equalization information and polarity information together decide on whether K byte codes result needs to overturn, while determine K byte code output stages Property.Code error be only possible to be due to invalid K codes input, therefore encode error detection be located in K byte code modules, enter One step reduces the number of plies of D byte codes module logic processing.K byte codes table and its coding principle are as shown in table 1, table 2.
Table 1K byte code tables
HGF EDCBA K_bal abcdei fghj(RD+)
K28.0 000 11100 1 110000 1011
K28.3 011 11100 0 110000 1100
K28.4 100 11100 1 110000 1101
K28.5 101 11100 0 110000 0101
K28.7 111 11100 1 110000 0111
Table 2K byte code principle tables
The D byte code modules of the present invention are divided into 3B4B coding modules, 5B6B coding modules and polarity computing module, use Serial code structure.Wherein, 5B6B coding modules first add I (I=0) to obtain ABCDEI6 positions word after 5 character ABCDE are inputted Symbol, then by the order from a high position to low level, according to rule shown in coding schedule 3, it is 1 first to force it, then it is 0 to force it, most Afterwards according to polarity information and input 5B characters, determine whether coding result needs to overturn.Being forced to 1 rule is:A-a:Keep It is constant;B-b:Meet the character of L04 types;C-c:Meet the character of L04 types, or meet L13 types and D=E=1 word Symbol;D-d:Keep constant;E-e:Meet L13 types and E=0 character;I-i:Meet L22 types and E=0 character, or Meet L04 types and E=1 character, or meet L13 types and D=0, E=1 character.Being forced to 0 rule is:A-a: Keep constant;B-b:Meet the character of L40 types;C-c:Keep constant;D-d:Meet the character of L40 types;E-e:Meet L13 The character of type and D=E=1;I-i:Keep constant.Wherein, L04, L13, L22, L31, L40 represent in ABCD 1 and 0 Number, for example, L13 represents there is 11,30 in ABCD.
The 5B6B coding schedules of table 3
The 3B4B coding schedules of table 4
The 3B4B coding modules first add J (J=0) to obtain FGHJ4 positions character after 3 character FGH are inputted, and then pass through Order from a high position to low level, according to rule shown in coding schedule 4, it is only necessary to which it is 1 to force it, finally encodes output stage according to 5B6B Property and input 3B characters, determine coding result whether need to overturn.Being forced to 1 rule is:F-f:Keep constant;G-g:F=G =H=0;H-h:Keep constant;J-j:F is different from J and H=0.It is noted here that the replacement between Dx.P7 and Dx.A7, is replaced Changing rule is:When 5B6B output polarities are the e=i=0 just and after encode, or when 5B6B output polarities are negative and after encode E=i=1.
The polarity that the polarity computing module is included in 5B6B cataloged procedures calculates and the polarity meter in 3B4B cataloged procedures Calculate.Wherein, the polarity in 5B6B cataloged procedures is calculated according to the polarity access information rule encoded in coding schedule 3, then according to coding Result is balanced code or non-equilibrium code to decide whether to overturn polarity.Polarity entrance is that positive rule is:1st, both it is not inconsistent L22 types are closed, also do not meet L31 types, and E=0 character.2nd, L13 types and D=E=0 character are met.Polarity entrance It is for negative rule:Both L22 types had not been met, have not met L13 types, and E=1 character yet.
Polarity in the 3B4B cataloged procedures is calculated with reference to 5B6B cataloged procedures, and polarity entrance is that positive rule is:F= G=0, polarity entrance are for negative rule:F=G=H=1.The pole finally encoded according to the 5B6B polarity results encoded and 3B4B Property result together decides on final coding output polarity.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, some improvement and deformation can also be made, these are improved and deformation Also it should be regarded as protection scope of the present invention.

Claims (4)

1. a kind of 8B10B encoder design methods agreement suitable for JESD204B, it is characterised in that:Using look-up table and group The mode that logical method is combined realizes 8B10B encoders;8B10B encoders include K byte codes and D byte codes;By K Byte code and D byte codes separate, wherein, K byte codes are realized using table look-at method;Using addition equalization information come simple Change K byte code tables, and together decide on whether K byte codes result needs to overturn using equalization information and polarity information, simultaneously Determine K byte code output polarities;The error detection of coding is located in K byte code modules.
2. the 8B10B encoder design methods a kind of agreement suitable for JESD204B according to claim 1, its feature It is:D byte codes are divided into 3B4B coding modules, 5B6B coding modules and polarity computing module, using serial structure, i.e., advanced Row 5B6B is encoded, and is reused the polarity after 5B6B codings and is carried out 3B4B codings;Wherein, 5B6B coding modules are first inputting 5 words After symbol ABCDE plus I obtains ABCDEI6 positions character, then again to the certain bits in this 6 characters according to the coding schedule of setting Rule carries out necessary upset, obtains correct coding result.
3. the 8B10B encoder design methods a kind of agreement suitable for JESD204B according to claim 2, its feature It is:3B4B coding modules first add J to obtain FGHJ4 positions character after 3 character FGH are inputted, then again in this 4 characters Certain bits rule according to the coding schedule of setting carries out necessary upset, obtains correct coding result.
4. the 8B10B encoder design methods a kind of agreement suitable for JESD204B according to claim 2, its feature It is:The polarity that polarity computing module is included in 5B6B cataloged procedures calculates to be calculated with the polarity in 3B4B cataloged procedures;Wherein, Polarity calculating in 5B6B cataloged procedures is balance according to the polarity access information rule encoded in coding schedule, then according to coding result Code or non-equilibrium code come decide whether overturn polarity;Polarity in 3B4B cataloged procedures is calculated with reference to encoded with 5B6B Journey, the polarity results finally encoded according to the 5B6B polarity results encoded and 3B4B together decide on final coding output polarity.
CN201710776254.6A 2017-08-31 2017-08-31 A kind of 8B10B encoder design methods the agreement suitable for JESD204B Pending CN107395539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710776254.6A CN107395539A (en) 2017-08-31 2017-08-31 A kind of 8B10B encoder design methods the agreement suitable for JESD204B

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710776254.6A CN107395539A (en) 2017-08-31 2017-08-31 A kind of 8B10B encoder design methods the agreement suitable for JESD204B

Publications (1)

Publication Number Publication Date
CN107395539A true CN107395539A (en) 2017-11-24

Family

ID=60347304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710776254.6A Pending CN107395539A (en) 2017-08-31 2017-08-31 A kind of 8B10B encoder design methods the agreement suitable for JESD204B

Country Status (1)

Country Link
CN (1) CN107395539A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165001A (en) * 2018-08-24 2019-01-08 京东方科技集团股份有限公司 Coding method, device and display device
CN109889306A (en) * 2019-01-16 2019-06-14 中国航空工业集团公司洛阳电光设备研究所 A kind of coding polarity calculation method for high speed fibre digital transmission system
CN109905199A (en) * 2017-12-08 2019-06-18 中国科学院上海高等研究院 A kind of serial communication data Polarity restoration method of asymmetric K code encoding and decoding
CN111030953A (en) * 2019-12-04 2020-04-17 中科芯集成电路有限公司 Low-delay 8B/10B coding method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183327A (en) * 2006-11-15 2008-05-21 晶像股份有限公司 Interface test circuitry and methods
US20090060107A1 (en) * 2007-08-30 2009-03-05 Fischer Wilhelm C Data sampling circuit and method for clock and data recovery
CN101674089A (en) * 2009-10-19 2010-03-17 中国科学院声学研究所 High-speed 8B/10B coder, decoder and processing method thereof for error input
CN106160912A (en) * 2016-07-19 2016-11-23 华为技术有限公司 A kind of coded method, relevant device and system
CN106254721A (en) * 2015-06-10 2016-12-21 株式会社东芝 Image data reception device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183327A (en) * 2006-11-15 2008-05-21 晶像股份有限公司 Interface test circuitry and methods
US20090060107A1 (en) * 2007-08-30 2009-03-05 Fischer Wilhelm C Data sampling circuit and method for clock and data recovery
CN101674089A (en) * 2009-10-19 2010-03-17 中国科学院声学研究所 High-speed 8B/10B coder, decoder and processing method thereof for error input
CN101674089B (en) * 2009-10-19 2013-01-09 中国科学院声学研究所 High-speed 8B/10B coder, decoder and processing method thereof for error input
CN106254721A (en) * 2015-06-10 2016-12-21 株式会社东芝 Image data reception device
CN106160912A (en) * 2016-07-19 2016-11-23 华为技术有限公司 A kind of coded method, relevant device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
秦蒙,王辉,秋云海,郭海涛: ""光纤通信中8B/10B 编码器的设计与实现"", 《电视技术》 *
霍兴华,姚亚峰,贾茜茜,刘建: ""JESD204B接口协议中的8B10B编码器设计"", 《电子器件》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905199A (en) * 2017-12-08 2019-06-18 中国科学院上海高等研究院 A kind of serial communication data Polarity restoration method of asymmetric K code encoding and decoding
CN109165001A (en) * 2018-08-24 2019-01-08 京东方科技集团股份有限公司 Coding method, device and display device
CN109165001B (en) * 2018-08-24 2020-07-10 京东方科技集团股份有限公司 Encoding method, device and display device
CN109889306A (en) * 2019-01-16 2019-06-14 中国航空工业集团公司洛阳电光设备研究所 A kind of coding polarity calculation method for high speed fibre digital transmission system
CN109889306B (en) * 2019-01-16 2021-12-17 中国航空工业集团公司洛阳电光设备研究所 Encoding polarity calculation method for high-speed optical fiber digital transmission system
CN111030953A (en) * 2019-12-04 2020-04-17 中科芯集成电路有限公司 Low-delay 8B/10B coding method and device
CN111030953B (en) * 2019-12-04 2021-11-09 中国电子科技集团公司第五十八研究所 Low-delay 8B/10B coding method and device

Similar Documents

Publication Publication Date Title
CN107395539A (en) A kind of 8B10B encoder design methods the agreement suitable for JESD204B
US4486739A (en) Byte oriented DC balanced (0,4) 8B/10B partitioned block transmission code
CN104579583A (en) Improved method for 8b/10b coding mode
CN103312458B (en) Hybrid coding method
CN101702639A (en) Check value calculation method and device of cyclic redundancy check
KR20060129398A (en) Dc-balanced 6b/8b transmission code with local parity
CN104158624A (en) Redundancy two-out-of-two decoding control device for BTM (Balise Transmission Module) system and redundancy two-out-of-two decoding method
CN106788446A (en) A kind of new 8b/10b coding implementation methods
CN101764617B (en) Encoding method of 9B/10B code
CN101228698B (en) 4-level logic decoder and method for decoding 4-level input data signal
CN103138889A (en) High-speed 8B/10B encoding device and coder
CN106330403B (en) A kind of coding and decoding method and system
CN105760329A (en) Coding and decoding device capable of reducing bus coupling overturn
CN101442380A (en) Method and apparatus for testing error rate based on high speed serial interface encoded mode
CN102487307B (en) EOF (end of file) polarity selection method used for FC (fiber channel) protocol
CN109905199B (en) Serial communication data polarity recovery method for asymmetric K code encoding and decoding
CN106533613A (en) Novel high-speed 8B/10B coding circuit technology
CN1131482C (en) Software interface method for datal link layer in generalized asynchronous serial communication protocol.
CN105049057B (en) A kind of 32 checking circuits of CRC towards the input of 128 parallel-by-bits
CN101540656B (en) Decoding device and decoding method used for intermittent balise of CTCS
CN109889306A (en) A kind of coding polarity calculation method for high speed fibre digital transmission system
CN109857693B (en) Self-adaptive serial clock sequence detection device and method
CN111030953B (en) Low-delay 8B/10B coding method and device
KR102585148B1 (en) Symbol decoding system and method for mipi c-phy
CN108566210A (en) The LDPC coded systems and method, LDPC encoder of compatible IEEE802.11n standards

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124