Soft FEC with parity check
11277224 · 2022-03-15
Assignee
Inventors
- Jamal Riani (Fremont, CA)
- Benjamin Smith (Ottawa, CA)
- Volodymyr Shvydun (Los Altos, CA, US)
- Sudeep Bhoja (San Jose, CA)
- Arash Farhoodfar (Sunnyvale, CA, US)
Cpc classification
International classification
H04L1/00
ELECTRICITY
Abstract
A method for data transmission includes receiving a data stream from a host device, the data stream as received from the host device including encoded data, separating the encoded data in the data stream into first data blocks and second data blocks, and generating a first forward error correction (FEC) block. The first FEC block includes a first parity section and a first data section, the first parity section includes a first parity bit corresponding to the first data blocks and a second parity bit corresponding to the second data blocks, and the first data section includes the first data blocks and the second data blocks. The method further includes transmitting the first FEC block.
Claims
1. A method for data transmission, the method comprising: receiving a data stream from a host device, the data stream as received from the host device including encoded data; separating the encoded data in the data stream into first data blocks and second data blocks; generating a first forward error correction (FEC) block, wherein the first FEC block includes a first parity section and a first data section, wherein the first parity section includes a first parity bit corresponding to the first data blocks and a second parity bit corresponding to the second data blocks, and wherein the first data section includes the first data blocks and the second data blocks; and transmitting the first FEC block.
2. The method of claim 1 further comprising aligning a first even block with a first odd block of the data stream.
3. The method of claim 1 wherein the encoded data in the data stream received from the host includes Reed Solomon (RS) encoded data.
4. The method of claim 1 wherein the FEC blocks are transmitted through a PAM4 channel.
5. The method of claim 1 wherein the data stream is transmitted in a 100G mode.
6. The method of claim 1 wherein the data stream is transmitted in a 50G mode.
7. The method of claim 1 wherein the first FEC block corresponds to a plurality of PAM4 symbols.
8. The method of claim 1 further comprising: framing the data stream with alignment markers; storing a first segment of data at a delay line, the first segment of data including a predetermined number of bits of the data stream; generating a first data block based on the first segment of data; generating a second data block based on a second segment of data, the second segment of data including the predetermined number of bits of the data stream; storing a third segment of data at the delay line; generating a third data block based on the third segment of data; generating a fourth data block based on a fourth segment of data; multiplexing the first data block and the second data block to output a first even block corresponding to the first data block and a first odd block corresponding to the second data block; determining the first parity bit based on the first even block; determining the second parity bit based on the first odd block; multiplexing the third data block and the fourth data block to output a second even block corresponding to the third data block and a second odd block corresponding to the fourth data block; determining a third parity bit corresponding to the second even block; determining a fourth parity bit corresponding to the second odd block; generating a second FEC block, the second FEC block including a second parity section and a second data section, the second parity section including the third parity bit and the fourth parity bit, the second data section including the second even block and the second odd block; and transmitting the second FEC block.
9. The method of claim 1 wherein the method is compatible with the 802.3bs standard and 802.3cd standard.
10. The method of claim 1 wherein the first parity section provides at least 1.2 dB coding gain.
11. A method for data decoding, the method comprising: receiving an encoded data stream, the encoded data stream including a plurality of PAM symbols; generating an FEC block based the plurality of PAM symbols, the FEC block including a parity section and a data section, the parity section including a first parity bit and a second parity bit, the data section including an even block and an odd block; performing parity check on the even block using the first parity bit; performing parity check on the odd block using the second parity bit; decoding the even block and the odd block; storing the odd block at a delay line; and generating a data stream including the even block and the odd block.
12. The method of claim 11 further comprising distinguishing between the even block and the odd block.
13. The method of claim 11 further comprising multiplexing the even block and the odd block.
14. The method of claim 11 further comprising mapping the plurality of PAM symbols.
15. The method of claim 11 wherein the PAM symbols comprise PAM4 symbols.
16. A method for data decoding, the method comprising: receiving an interleaved data stream comprised of a plurality of PAM symbols; generating an FEC block comprised of the plurality of PAM symbols in the data stream, the FEC block including a parity symbol, a plurality of odd symbols, and a plurality of even symbols interleaved with the plurality of odd symbols; performing parity check using the parity symbol and the odd symbols; generating even blocks and odd blocks corresponding to the interleaved pluralities of even symbols and odd symbols; delaying the odd blocks by a predetermined number of bits; and de-interleaving the even blocks and the odd blocks to generate a de-interleaved data stream.
17. The method of claim 16 wherein the predetermined number of bits equals to a block size of the even blocks.
18. The method of claim 16 further comprising multiplexing the even blocks and the odd blocks into the de-interleaved data stream.
19. The method of claim 16 further comprising distinguishing between the even blocks and the odd blocks.
20. The method of claim 16 further comprising mapping the PAM symbols to generate the FEC block.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The following diagrams are merely examples, which should not unduly limit the scope of the claims herein. One of ordinary skill in the art would recognize many other variations, modifications, and alternatives. It is also understood that the examples and embodiments described herein are for illustrative purposes only and that various modifications or changes in light thereof will be suggested to persons skilled in the art and are to be included within the spirit and purview of this process and scope of the appended claims.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE INVENTION
(13) The present invention is directed to data communication systems and techniques thereof. More specifically, embodiments of the present invention provide an FEC encoder that generates parity symbols that are embedded into FEC blocks. An FEC decoder determines whether to perform error correction based on the parity symbols. When performing error correction, the decoder selects a worst symbol from a segment of symbols, and the worst symbol is corrected. There are other embodiments as well.
(14) As explained above, it is desirable to improve data rate and accuracy in data communication systems. For example, in high-speed data communication systems, Reed-Solomon (RS) encoding is often used. In various embodiments, the present invention take advantage of existing encoding scheme sand uses parity symbol to improve accuracy and performance of data transmission.
(15) The following description is presented to enable one of ordinary skill in the art to make and use the invention and to incorporate it in the context of particular applications. Various modifications, as well as a variety of uses in different applications will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to a wide range of embodiments. Thus, the present invention is not intended to be limited to the embodiments presented, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
(16) In the following detailed description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without necessarily being limited to these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.
(17) The reader's attention is directed to all papers and documents which are filed concurrently with this specification and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference. All the features disclosed in this specification, (including any accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.
(18) Furthermore, any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6. In particular, the use of “step of” or “act of” in the Claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.
(19) Please note, if used, the labels left, right, front, back, top, bottom, forward, reverse, clockwise and counter clockwise have been used for convenience purposes only and are not intended to imply any particular fixed direction. Instead, they are used to reflect relative locations and/or directions between various portions of an object.
(20)
(21)
(22) As shown in
(23)
(24) As described above, the four data streams are then encoded by the encoding module. For example, data stream 203 (one of the four data streams) is split into an even data stream 206 and an odd data stream 207. In various implementations, data stream 206 includes segments of even data bit symbols (e.g., 10 data symbols a.sub.0 to a.sub.19); data stream 207 includes segments of odd data bit symbols (e.g., 10 data symbols b.sub.0 to b.sub.19). The data symbols are provided by amplitude modulation locking modules, where the symbols are locked based on RS symbol boundary. Data streams 206 and 207 are then encoded and combined. For example, FEC encoding is performed on data streams 206 and 207. The resulting data stream 208 includes FEC blocks. In various implementations, FEC data blocks each includes 21 symbols: 10 even symbols, 10 odd symbols, and a parity symbol. For example, the even symbols (e.g., symbol a.sub.1a.sub.0) are positioned in a continuous segment, and the odd symbols (e.g., symbol b.sub.1b.sub.0) are positioned in a continuous segment adjacent to the even segment. The parity symbol includes two parity bits: pa corresponding to even segment 206, and p.sub.b corresponding to the odd segment 207. The FEC blocks are then mapped using Gray mapping for transmission. For example, the FEC blocks are transmitted using PAM protocol. For example, PAM4 may be used for data transmission. For data transmission, the parity symbol can provide a coding gain of about 1.65 dB.
(25) It is to be appreciated that the use of parity symbols as a part of the encoding module can be implemented to compliment 802.3bs data communication systems. For example, on the communication lane, 21 PAM4 symbols meet two even parity constraints. The addition of parity symbols increases the data rate of the communication line. For example, the data rate increase from 26.5625e9 to 26.5625e9*21/20=27.890625 GHz. And in implementation, four 52 Gb/s Rx/DSP cores operate in parallel.
(26) Embodiments of the present invention provide decoding devices and techniques to take advantage of encoding techniques described above. For example, a decoder module determines the existence of error at a given FEC block using the parity symbol. A maximum likelihood decoder is then used to locate the error symbol within the FEC block, and the error symbol is corrected using a “flip” function, which is described in further detail below.
(27) An FEC block (e.g., FEC block 208) in
(28) Equation 1:
⊕.sub.i=0.sup.9d.sub.i[0]=d.sub.20[0]⊕d.sub.20[1] (par 1)
⊕.sub.i=10.sup.19d.sub.i[0]=pol⊕d.sub.20[1] (par 2)
(29) In Equation 1, the symbol ⊕(xor) denotes additions and pol is a polarity inversion flag based on the polarity inversion. For example, polarity inversion detection is used as a part of the FEC word synchronization.
(30)
(31) Incoming data are received through receiving interface 301. Equalizer 302 processes (e.g., equalization) the incoming data for further processing. Gray mapping is performed by the Gray mapping module 303, which yields PAM4 symbols. The PAM4 symbols are grouped into FEC blocks. As explained above, a single FEC block includes 21 symbols: 10 odd symbols, 10 even symbols, and a parity symbol. For example, based on the final equalizer output x.sub.1, the FEC decoder 304 first achieves FEC block synchronization. Usually, the synchronization process is not overly complex. For example, after equalization and synchronization, FEC blocks processed by FEC decoder 304 are provided as [x.sub.0, x.sub.1, . . . , x.sub.20]. The FEC decoder 304 receives 21 PAM4 preliminary decisions, d.sub.i, from the PAM4 slicer 305, where each d.sub.i symbol is 2-bit binary. FEC decoder 304 further receives three optimal threshold values for each one the 3 sub-eyes (of the four PAM4 eye levels) from DSP 306.
(32) For the purpose of illustration, threshold for the eye levels are denoted as Th(eye id), where eye id=0,1,2. In an exemplary implementation, Th(0) and Th(2) are 9.6 and Th(1) is 7.6. For each of the 21 symbols in an FEC block, there are corresponding 21 2-bit 2b eye_id∈{0, 1, 2}, and each is denoted as E.sub.i. For example, E.sub.i indicates the sub-eye at which belongs sample x.sub.1. For example, by having sign of the error signal for all bauds (e.g., generated by DSP 306), E.sub.i can be easily determined. In various embodiments, a single bit polarity inversion pol is used.
(33) As explained above, FEC decoder 304 uses the parity symbol to determine whether error correction is to be performed. And if error correction is to be performed based on the parity symbol, the symbol with the highest likelihood to be erroneous is “flipped”. To locate the erroneous bit, log likelihood ratio (LLR) calculation is performed for each data symbol x.sub.1 of the given FEC block. The data symbol corresponding the lowest LLR value within a data segment is selected as the “worst” symbol and most likely to be erroneous. The PAM4 levels after equalization are denoted as L(d) and the noise variance per level is denoted as σ.sup.2(d). Knowing the coding of FEC is much smaller than 6 dB, the decoder is configured to only flip PAM4 symbols within the same sub-eye. Given x.sub.i and d.sub.i and if we denote d′.sub.i for the other PAM4 symbol from the same sub-eye E.sub.i, the value of log-likelihood ratio (LLR) be expressed by Equation 2 below:
(34)
(35) For example Equation 2 can be simplified to Equation 3 below:
(36)
(37) The term K(Ei) in Equation 3 intuitively conveys the sub-eye SNR information. The closer x.sub.i is from the corresponding threshold, the lower LLR gets.
(38)
(39) Concerning the range of SNR (e.g.,
(40)
(41) Step 601. Upon receiving an FEC block with 21 symbols, the decoder first check the parity symbol to determine whether there are one or more parity errors. In various embodiments, a parity symbol includes an even parity bit for 10 even symbols and an odd parity bit for 10 odd parity symbols. For example, the 10 even symbols are first ten symbols of the FEC block, and the 10 odd symbols are the second ten symbols of the FEC block. For example, Equation 1 is used to perform parity check.
(42) Equation 1:
⊕.sub.i=0.sup.9d.sub.i[0]=d.sub.20[0]⊕d.sub.20[1] (par 1)
⊕.sub.i=10.sup.19d.sub.i[0]=pol⊕d.sub.20[1] (par 2)
(43) For example, if the parity of the given FEC block is incorrect, the parity inversion flag pol is set.
(44) Step 602. Based on the parity check performed at step 601, the decoder determines whether to perform error correction. For example, if the parity symbol checks out, the decoder simply output the 20 symbols without error correction, and the decoding process proceeds to step 606. On the other hand, if the parity symbol does not check out (e.g., based on Equation 1), error correction is needed, and the process proceeds to step 603.
(45) Step 603. Once it is determined that error correction is to be performed, the decoder needs to locate the erroneous symbol and perform error correction on the erroneous symbol. As explained above, likelihoods of error for the data symbols is selected based their respective LLR values. In various embodiments, a first minimum LLR is determined for the first segment (i.e., first group of ten symbols) of the FEC block and a second minimum LLR is determined for second segment (i.e., second group of ten symbols) of the FEC block.
(46) At step 604, symbols that are most likely to be erroneous (“worst” symbols) are selected. For example, the “worst” symbol(s) are the symbols associated with the lowest LLR values, and respectively there is a worst symbol for the first segment and another worst symbol for the second segment. The selection of “worst” symbols using LLR values is explained above. It is to be appreciated that the “worst” symbols can be selected using other techniques and/or algorithms as well. While there are worst symbols for both the first segment and the second segment of symbols (the term “worst” describes the relative likelihood of being erroneous within a segment), actual error correction or “flip” of worst symbol(s) is performed only if the corresponding parity bits is “off” for the corresponding segment of symbols. Correcting of “flipping” of the worst symbol is performed at step 605.
(47) Step 605. At step 605, the worst symbol is changed to its next nearest value. For example, the “flipping” of symbol values can be illustrated and explained in
(48) Now referring back to
(49) Depending on the implementation, the corrected data symbols are then processed in reverse to the data flow process illustrated in
(50) The decoding/correction processed illustrated in
(51) TABLE-US-00001 1. Check the parity equations based on the preliminary decisions. Equation 1 is used to determine par1 and par2. 2. If parities are met, output (d.sub.i).sub.0≤i≤19. If not go to step 3. 3. Calculate the minimum value and index of ALLR i for i =0. . .9. Call it v.sub.0 (ALLR value) and i.sub.0 (index). Do same for ALLR i for i=10. . .19, call the results v.sub.1 and i.sub.1. 4. If par1 is false: if E.sub.20 == 0 or E.sub.20 == 2, (v.sub.0 < ALLR.sub.20) ? flip(di.sub.0,Ei.sub.0). if E.sub.20 == 1, flip(di.sub.0,Ei.sub.0). 5. if par2 is false: if E.sub.20 == 0 or E.sub.20 == 2, flip(di.sub.1 ,Ei.sub.1). if E.sub.20 == 1, (v.sub.1 < ALLR.sub.20) ? flip(di.sub.1,Ei.sub.1 ).
(52) As an example, the flip(d,E) function above is illustrated in
out[0]=not d[0]
out[1]=xor(d[1],E[0])
(53) It is to be appreciated that the use of parity symbols and correcting “worst” symbols can effectively improve data transmission.
(54) In 200G and 400G Ethernet applications, uncorrectable parity check blocks are distributed to two independent encoders for processing. For example, as shown in
(55)
(56) Data received from the host is first processed by alignment marker (AM) framer 901. Typically, there is an alignment marker stream embedded in the Ethernet Nx50G traffic. For example, each rate (such as 50G, 100G, 200G and 400G) has its own AM structure that is distinct but structurally similar. For example, an AM includes codes that arrive in certain frequency (or interval) and carry certain pre-defined values. Among other things, a function of AM framer 901 is to lock to AM sequence. In various embodiments, alignment markers are also used for parity check. For example, alignment markers are used to symbol align parity check code with RS symbols, as the RS FEC blocks are aligned to the alignment markers. By ordering FEC blocks using alignment markers, RS FEC blocks can be assigned to even and odd blocks (e.g., the first block or block “0” would be even, and the next block or block “1” would be odd, and so on). The interleaving module 902 as shown in
(57)
(58) Now referring back to
(59) On other side of PAM4 channel 508, receiver PMD block 909 receives the data transmitted by transmission block 908 through PAM4 channel 908. The received data are first processed by a 20-bit framer 910 as shown, and then processed by SFEC decoder 911. It is to be appreciated that the SFEC decoder 911 makes use of both parity bits and FEC encoding. The decoded data are de-interleaved at block 912. De-interleaver 912, as shown, includes an AM framer 913, a de-mux 914, and a delay line 915. Among other features, AM framer 913 is configured to distinguish between even and odd blocks. The use of interleaving technique and AM framer 913 is specific to 50G and 100G implementations, as there are even and odd blocks that need to be distinguished by AM framer 913. As shown in
(60) In
(61) In various embodiments, system 900 can operate in different modes. In certain implementations, interleaving is unnecessary (e.g., 200G and 400G modes) during SFEC encoding process, and the communication system can turn off or bypass the interleaving and de-interleaving blocks. There are other embodiments as well.
(62) While the above is a full description of the specific embodiments, various modifications, alternative constructions and equivalents may be used. Therefore, the above description and illustrations should not be taken as limiting the scope of the present invention which is defined by the appended claims.