Low density parity check decoder
By dividing the parity check code matrix into row groups and arranging the operation engines in a checkerboard manner, the problem of excessive signal volume and high power consumption of the LDPC code decoder at high frequencies is solved, frequency reduction and power saving are achieved, and high throughput is ensured Amount of LDPC code decoding.
Patent Information
- Application Number
- CN202410913375.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-15
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-27
AI Technical Summary
Existing low-density parity check (LDPC) code decoders are difficult to implement at high frequencies and consume large amounts of power. Especially in 25G PON applications, it is difficult for a single minimum sum operation engine to reach a frequency speed of 50GHz, and multiple parallel operation engines are laid out There are too many signals, causing the CAD tool to be unable to place and route.
By dividing the parity check code matrix into multiple row groups, arranging the arithmetic engines on both sides of the parity check code storage block in a checkerboard pattern, setting buffers to reduce the amount of semaphores, and using multiple arithmetic engines to perform LLR minimum sum operations, Reduce frequency requirements and increase computing speed.
It realizes the use of multiple computing engines for LDPC code decoding without increasing the frequency speed, reducing power consumption and enabling computer-aided design tools to successfully place and route to meet high throughput requirements.
Smart Images

Figure CN118713683A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a low density parity check decoder which can reduce the frequency speed and power consumption. Background Art
[0002] Low-density parity-check (LDPC) codes are widely used as error correction codes for passive optical networks (PON), Ethernet, and other data communication protocols because the error correction capability of LDPC codes is very close to the theoretical maximum (i.e., the Shannon Limit). A common algorithm used to perform decoding and error correction of LDPC codes is the minimum log-likelihood ratio (LLR) algorithm.
[0003] A common hardware implementation for performing decoding and error correction of LDPC check codes is to use a minimum sum operation engine to perform LLR minimum sum operations on the LDPC check codes. However, if only a single minimum sum operation engine is used to operate the LDPC check code, the frequency speed of the circuit implementing the decoding needs to be extremely fast. Taking 25G PON as an example, the LDPC check code of 25G PON is a 17664x3072 sparse matrix composed of a 69x12 array of 256x256 sub-matrices. If a single minimum sum operation engine is used to operate the LDPC check code for 25G PON, the circuit implementing the decoding requires an extremely fast frequency speed of about 50GHz, which is impossible to achieve in today's or foreseeable future integrated circuit technology.
[0004] Therefore, in practice, the decoding operation is implemented through multiple parallel min-sum operation engines. Logically, 25G PON can use 256 parallel min-sum operation engines, but because the use of 256 min-sum operation engines will result in too many circuit signals (signal connection lines), when the computer-aided design (CAD) tool used for placement and routing finds that the circuit has too many signals, the CAD tool will not be able to place and route the circuit. Therefore, for 25G PON, the current practical upper limit of the number of parallel min-sum operation engines is 64. However, when using 64 min-sum operation engines, the frequency speed required for the circuit to implement decoding is still close to 1GHz, and this circuit is still not easy to implement and consumes a lot of power. Summary of the invention
[0005] In some embodiments, a low density parity check (LDPC) decoder includes a parity check code storage block and multiple computing engines. The parity check code storage block is used to store a parity check code matrix. The parity check code matrix includes multiple rows, each row includes multiple sub-matrices. The parity check code storage block includes multiple row group storage blocks. Each row group storage block is used to store a row group including at least one row. The row group storage block storing the row groups including more rows is arranged closer to the center of the parity check code storage block. Multiple computing engines are coupled to the parity check code storage block. Multiple computing engines are used to perform LLR minimum sum operations on the parity check code matrix, and the multiple computing engines are arranged on both sides of the parity check code storage block.
[0006] In some embodiments, a plurality of computing engines are arranged in a checkerboard pattern on both sides of the parity check code storage block.
[0007] In some embodiments, a computing engine that is farther from the parity check code storage block has a faster computing speed.
[0008] In some embodiments, a buffer is disposed between some adjacent computing engines, and the buffer includes one or more buffer units.
[0009] In some embodiments, a buffer area farther from the parity check code storage block includes more buffer units and has a stronger buffering capacity.
[0010] In some embodiments, the number of the plurality of computing engines disposed on one side and the other side of the parity check code storage block is the same.
[0011] In some embodiments, each row group storage block includes 6 bits of precision.
[0012] In some embodiments, the 6 precision bits include 1 sign bit and 5 value bits (.
[0013] In some embodiments, the number of the plurality of row group storage blocks is 24.
[0014] In some embodiments, each row group includes a number of rows ranging from 1 to 4.
[0015] In some embodiments, each row is assigned to only a single row group.
[0016] In summary, in any embodiment, the CAD tool can perform layout and routing for an LDPC decoder including a maximum of 256 parallel computing engines, so that the LDPC decoder can have the slowest possible frequency speed while still meeting the target decoding throughput.
[0017] The detailed features and advantages of the present invention are described in detail in the following implementation mode, and the content is sufficient to enable anyone familiar with the relevant skills to understand the technical content of the present invention and implement it accordingly. Moreover, according to the content disclosed in this specification, the scope of the patent application and the drawings, anyone familiar with the relevant skills can easily understand the relevant purposes and advantages of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figures 1A to 1C FIG. 1 is a schematic diagram of an embodiment of a parity check code matrix.
[0019] Figure 2 FIG. 1 is a schematic diagram of an embodiment of a plurality of row groups.
[0020] Figure 3 Another schematic diagram of an embodiment of a plurality of row groups is shown.
[0021] Figure 4 The present invention is a flow chart of an embodiment of a method for grouping a plurality of rows included in a parity-check code matrix into a plurality of row groups.
[0022] Figure 5 The present invention is a flow chart of another embodiment of a method for grouping a plurality of rows included in a parity-check code matrix into a plurality of row groups.
[0023] Figure 6 A schematic diagram of an embodiment of a parity check code storage block.
[0024] Figure 7 A schematic diagram of an embodiment of an LDPC decoder.
[0025] Fig. 8A Another schematic diagram of an embodiment of an LDPC decoder.
[0026] Figure 8B A schematic diagram of another embodiment of an LDPC decoder.
[0027] Fig. 9A for Fig. 8A An enlarged view of one embodiment of multiple computing engines in area A1.
[0028] Fig. 9B for Fig. 8A An enlarged view of one embodiment of multiple computing engines in area A2.
[0029] Fig.10 for Fig. 8A FIG. 1 is an enlarged view of another embodiment of a plurality of computing engines in area A1 of FIG.
[0030] Symbols and Markings
[0031] 1: Low-density parity check decoder
[0032] B1: Parity check code storage block
[0033] B2, B20~B23: Row group storage blocks
[0034] C, C0~C68: line
[0035] G, G0~G23: row group
[0036] E, E0~E255: calculation engine
[0037] d1~d4: distance DETAILED DESCRIPTION
[0038] See also Figures 1A to 1C The parity check code matrix M1 includes a plurality of columns C, and each column C includes a plurality of sub-matrices M2. Figures 1A to 1C The parity check code matrix M1 shown is an LDPC check code suitable for 25G PON. The parity check code matrix M1 is a 17664x3072 sparse matrix composed of a 69x12 array of 256x256 sub-matrices M2, that is, the parity check code matrix M1 contains 69 rows C, and each row C contains 12 256x256 sub-matrices M2. Each sub-matrix M2 is a zero matrix or a shifted identity matrix. Figures 1A to 1C In the example, if there is a number in the grid representing the submatrix M2, it means that the submatrix M2 is the unit matrix and the number in the grid represents the translation of the unit matrix. If there is no number in the grid representing the submatrix M2, it means that the submatrix M2 is a zero matrix. For the convenience of explanation, the following only uses the 7x7 unit matrix as an example to illustrate the translation of the unit matrix. The 7x7 unit matrix is shown in Table 1.
[0039]
[0040]
[0041] Table 1
[0042] In some embodiments, the translation amount of the unit matrix is a rightward translation amount. When the translation amount is 1 (ie, the number in the grid representing the sub-matrix M2 is 1), the translated unit matrix is as shown in Table 2 below.
[0043]
[0044] Table 2
[0045] When the translation amount is 2 (ie, the number in the grid representing the sub-matrix M2 is 2), the translation unit matrix is as shown in Table 3 below.
[0046]
[0047]
[0048] Table 3
[0049] As shown in Tables 1 to 3, when the shift amount is 1, all 1 values in the unit matrix are shifted to the right by 1 row, and the 1 values in the rightmost row of the unit matrix are shifted to the leftmost row. When the shift amount is 2, all 1 values in the unit matrix are shifted to the right by 2 rows, and the 1 values in the two rightmost rows of the unit matrix are shifted to the two leftmost rows. The examples in Tables 1 to 3 can be analogized to the case of a number with a shift amount greater than 2 and a unit matrix of 256x256. In some embodiments, the shift amount of the unit matrix is a leftward shift amount.
[0050] At Figures 1A to 1C In FIG. 1 , for convenience of explanation, the 69 rows C included in the parity check code matrix M1 are referred to as rows C0 to C68, and the multiple sub-matrices M2 included in each row C are 12 sub-matrices M2 located directly below the row C. Taking row C0 as an example, the multiple sub-matrices M2 included in row C0 are the 12 sub-matrices M2 located directly below row C0, from the sub-matrix M2 with a shift amount of 27 to the sub-matrix M2 with a shift amount of 88.
[0051] At Figures 1A to 1C In the embodiment, the parity check code matrix M1 is an LDPC check code applicable to 25G PON, but the present invention is not limited thereto. In some embodiments, the parity check code matrix M1 can be an LDPC check code applicable to any rate PON (such as APON, BPON, EPON and GPON), Ethernet or other data communication protocols.
[0052] At Figures 1A to 1C In the example, the parity check code matrix M1 includes 69 rows C, and each row C includes 12 256x256 sub-matrices M2, but the present invention is not limited thereto. In some embodiments, the parity check code matrix M1 may include any number of rows C, each row C may include any number of sub-matrices M2, and the sub-matrices M2 may be of any size.
[0053] In some embodiments, the multiple rows C included in the parity check code matrix M1 are grouped into multiple row groups G, each row group G including at least one row C. Figure 2 . Figures 1A to 1C The parity check code matrix M1 shown includes rows C0 to C68 grouped into Figure 2The multiple row groups G shown. For the convenience of explanation, the multiple row groups G are referred to as row groups G0 to G23, and at least one row C included in each row group G is at least one row C located directly below the row group G. Taking row groups G0 to G3 as an example, at least one row C included in row group G0 is row C0 located directly below row group G0, at least one row C included in row group G1 is row C1 located directly below row group G1, at least one row C included in row group G2 is row C2, row C8, and row C52 located directly below row group G2, and at least one row C included in row group G3 is row C3, row C12, row C23, and row C49 located directly below row group G3. In some embodiments, the number of rows C included in each row group G ranges from 1 to 4, but the present invention is not limited thereto. The number of rows C included in each row group G can be any number.
[0054] In some embodiments, the grouping requirement for grouping the multiple rows C included in the parity check code matrix M1 into multiple row groups G is that the number of non-zero matrices in the same column (row) of all rows C in each row group G cannot exceed 1. Figures 1A to 1C and Figure 2. Taking row groups G0 to G3 as an example, among the 1st to 12th columns of row C0, only the 2nd column is a zero matrix, and the rest of the columns are non-zero matrices, and there is no row C in which only the 2nd column is a non-zero matrix among rows C1 to C68, so that row C0 cannot be divided into the same group with any other row C, and therefore, row group G0 only includes row C0. Similarly, all columns of row C1 are non-zero matrices, so that row C1 cannot be divided into the same group with any other row C, and therefore, row group G1 only includes row C1. The 1st, 5th and 9th columns of row C2 are non-zero matrices, and the rest of the columns are zero matrices. The 2nd, 7th and 12th columns of row C8 are non-zero matrices, and the rest of the columns are zero matrices. The 3rd, 4th, 6th, 8th, 10th and 11th columns of row C52 are non-zero matrices, and the rest of the columns are zero matrices. All non-zero matrices of the same column of row C2, row C8 and row C52 do not exceed 1, so that row C2, row C8 and row C52 can be divided into the same group, therefore, row group G2 includes row C2, row C8 and row C52. The 7th, 9th and 10th columns of row C3 are non-zero matrices, and the remaining columns are all zero matrices. The 2nd, 5th and 11th columns of row C12 are non-zero matrices, and the remaining columns are all zero matrices. The 1st, 8th and 12th columns of row C23 are non-zero matrices, and the remaining columns are all zero matrices. The 3rd, 4th and 6th columns of row C49 are non-zero matrices, and the remaining columns are all zero matrices. All the same columns of row C3, row C12, row C23 and row C49 have no more than one non-zero matrix, so that row C3, row C12, row C23 and row C49 can be grouped into the same group. Therefore, row group G3 includes row C3, row C12, row C23 and row C49. The above examples of row groups G0 to G3 can be used to analogize the grouping of groups G4 to G23.
[0055] By grouping the multiple rows C included in the parity check code matrix M1 into multiple row groups G, the zero matrices located in the same row in all rows C of each row group G are merged and the number of sub-matrices M2 included in each row group G (i.e., the number of columns of the sub-matrix M2 included in each row group G) is the number of columns of the sub-matrix M2 included in the row C. For example, see Figure 3. Since row group G0 and row group G1 both contain only one row C, the zero matrices that are not located in the same column of row group G0 and row group G1 will be merged. Since row group G2 contains row C2, row C8 and row C52, the zero matrices that are located in the same column of row C2, row C8 and row C52 will be merged. Since row group G3 contains row C3, row C12, row C23 and row C49, the zero matrices that are located in the same column of row C3, row C12, row C23 and row C49 will be merged. The number of sub-matrices M2 contained in row group G0, row group G1, row group G2 and row group G3 is the number of columns of the sub-matrix M2 contained in row C, that is, 12. The above examples of row groups G0 to G3 can be applied to the situations of groups G4 to G23.
[0056] See also Figure 4 In some embodiments, the method of grouping the multiple rows C included in the parity check code matrix M1 into multiple row groups G is as follows: an initial row C is divided into a current row group G and the initial row C is set as the current row C (step S01), and the first row C after the current row C that can be divided into the current row group G is found (step S02). After the row C that can be divided into the current row group G is found, the row C that can be divided into the current row group G is divided into the current row group G (step S03) and the row C that can be divided into the current row group G is set as the current row C (step S04), and then step S02 is executed again. When the row C that can be divided into the current row group G is not found, the current row group G is regarded as a full group, and the next row C of the current row C is divided into a new row group G (step S05) and the new row group G is set as the current row group G and the next row C of the current row C is set as the current row C (step S06), and then step S02 is executed again.
[0057] See also Figures 1A to 1C and Figure 4 . Figures 1A to 1C The parity check code matrix M1 shown in FIG. 1 includes a plurality of rows C grouped into a plurality of row groups G for example. Figure 4The method shown. First, row C0 (i.e., the initial row C) is divided into row group G0 (i.e., the current row group G) and row C0 is set as the current row C (step S01), and the first row C after row C0 that can be divided into row group G0 is found (step S02). When no row C that can be divided into row group G0 is found, row group G0 is regarded as full, and row C1 (i.e., the next row C of row C0) is divided into row group G1 (i.e., the new row group G) (step S05), and row group G1 is set as the current row group G and row C1 is set as the current row C (step S06), and then the first row C after row C1 that can be divided into row group G1 is found (step S02). When no row C that can be assigned to row group G1 is found, row group G1 is considered full, and row C2 (i.e., the next row C of row C1) is assigned to row group G2 (i.e., a new row group G) (step S05), and row group G2 is set as the current row group G and row C2 is set as the current row C (step S06), and then the first row C that can be assigned to row group G2 after row C2 is searched for (step S02). When row C6 that can be assigned to row group G2 is found, row C6 is assigned to row group G2 (step S03) and row C6 is set as the current row C (step S04), and then the first row C that can be assigned to row group G2 after row C6 is searched for (step S02). When row C8 that can be assigned to row group G2 is found, row C8 is assigned to row group G2 (step S03) and row C8 is set as the current row C (step S04), and then the first row C that can be assigned to row group G2 after row C8 is searched for (step S02). When row C49 that can be divided into row group G2 is found, row C49 is divided into row group G2 (step S03) and row C49 is set as the current row C (step S04), and then the first row C after row C49 that can be divided into row group G2 is found (step S02).
[0058] When using Figure 4 The method shown will Figures 1A to 1C The multiple rows C included in the parity check code matrix M1 shown are grouped into multiple row groups G, row C0 and row C1 will be grouped independently, row C2, row C6, row C8 and row C49 will be grouped in the same row group G, row C3, row C4 and row C5 will be grouped in the same row group G..., and the grouping results of the remaining rows C will not be repeated here. In the above example, row C0 is used as the initial row C, but the present case is not limited to this. In some embodiments, any row C included in the parity check code matrix M1 can be used as the initial row C.
[0059] See also Figure 5In some embodiments, the method of grouping the multiple rows C included in the parity check code matrix M1 into multiple row groups G is as follows: an initial row C is assigned to a current row group G and the initial row C is set as the current row C (step S11), and it is determined whether the next row C of the current row C can be assigned to the current row group G (step S12). When the next row C of the current row C can be assigned to the current row group G, the next row C of the current row C is assigned to the current row group G (step S13) and the next row C of the current row C is set as the current row C (step S14), and then step S02 is executed again. When the next row C of the current row C cannot be assigned to the current row group G, the current row group G is regarded as a full group, and the next row C of the current row C is assigned to a new row group G (step S15), and the new row group G is set as the current row group G and the next row C of the current row C is set as the current row C (step S16), and then step S02 is executed again.
[0060] See also Figures 1A to 1C and Figure 5 . Figures 1A to 1C The parity check code matrix M1 shown in FIG. 1 includes a plurality of rows C grouped into a plurality of row groups G for example. Figure 5The method shown. First, row C0 (i.e., the initial row C) is divided into row group G0 (i.e., the current row group G) and row C0 is set as the current row C (step S11), and it is determined whether row C1 (i.e., the next row C of row C0) can be divided into row group G0 (step S12). When row C1 cannot be divided into row group G0, row group G0 is regarded as a full group, and row C1 (i.e., the next row C of row C0) is divided into row group G1 (i.e., the new row group G) (step S15) and row group G1 is set as the current row group G and row C1 is set as the current row C (step S16), and then it is determined whether row C2 (i.e., the next row C of row C1) can be divided into row group G1 (step S12). When row C2 cannot be assigned to row group G1, row group G1 is considered full, and row C2 (i.e., the next row C of row C1) is assigned to row group G2 (i.e., a new row group G) (step S15), and row group G2 is set as the current row group G and row C2 is set as the current row C (step S16), and then it is determined whether row C3 (i.e., the next row C of row C2) can be assigned to row group G2 (step S12). When row C3 cannot be assigned to row group G2, row group G2 is considered full, and row C3 (i.e., the next row C of row C2) is assigned to row group G3 (i.e., a new row group G) (step S15), and row group G3 is set as the current row group G and row C3 is set as the current row C (step S16), and then it is determined whether row C4 (i.e., the next row C of row C3) can be assigned to row group G3 (step S12). When row C4 can be divided into row group G3, row C4 is divided into row group G3 (step S13) and row C4 is set as the current row C (step S14), and then it is determined whether row C5 (i.e., the next row C of row C4) can be divided into row group G3 (step S12). When row C5 can be divided into row group G3, row C5 is divided into row group G3 (step S13) and row C5 is set as the current row C (step S14), and then it is determined whether row C6 (i.e., the next row C of row C5) can be divided into row group G3 (step S12).
[0061] When using Figure 5 The method shown will Figures 1A to 1C The multiple rows C included in the parity check code matrix M1 shown are grouped into multiple row groups G, row C0, row C1 and row C2 will be grouped independently, row C3, row C4 and row C5 will be grouped in the same row group G, row C6 will be grouped independently, row C7 and row C8 will be grouped in the same row group G, row C9 will be grouped independently..., and the grouping results of the remaining rows C will not be repeated here. In the above example, row C0 is used as the initial row C, but the present case is not limited to this. In some embodiments, any row C included in the parity check code matrix M1 can be used as the initial row C.
[0062] In some embodiments, the multiple rows C included in the parity check code matrix M1 can be grouped into multiple row groups G through trial and error. In some embodiments, the multiple rows C included in the parity check code matrix M1 can be grouped into multiple row groups G through trial and error by using a computer program. Figure 2 The grouping results of the multiple row groups G shown are the results of grouping by trial and error. Figure 2 In the embodiment of the present invention, the number of the plurality of row groups G is 24, but the present invention is not limited thereto. In some embodiments, the number of the plurality of row groups G can be any number. Since each row C is only assigned to a single row group G, the parity check code matrix M1 can be divided into a plurality of tile layout groups without multiplexing between the row groups G.
[0063] See also Figure 6 The parity check code storage block B1 includes a plurality of row group storage blocks B2. The parity check code storage block B1 is used to store the parity check code matrix M1. Each row group storage block B2 is used to store each row group G. Figure 6 The multiple row groups G stored in the multiple row group storage block B2 correspond to Figure 2 The row group storage block B2 storing the row group G containing more rows C is arranged closer to the center of the parity check code storage block B1. Figure 6 Taking the parity check code storage block B1 as an example, the number of rows C included in each row group G ranges from 1 to 4. The row group storage block B2 storing row groups G15, G10, G12, G7, G9, G5, G6, G3 and G4 including 4 rows C is disposed in the center area of the parity check code storage block B1. The row group storage block B2 storing row groups G2, G8, G11, G13 and G14 including 3 rows C is disposed farther from the center of the parity check code storage block B1 than the row group storage block B2 storing row groups G including 4 rows C. The row group storage block B2 storing row group G16, row group G17, row group G18, row group G19, row group G20, row group G21, row group G22 and row group G23 including two rows C is arranged farther from the center of the parity code storage block B1 than the row group storage block B2 storing row group G including three rows C. The row group storage block B2 storing row group G0 and row group G1 including only one row C is arranged at the edge of the parity code storage block B1.
[0064] See also Figure 7The low-density parity check (LDPC) decoder 1 includes a parity check code storage block B1 and a plurality of computing engines E. In some embodiments, the plurality of computing engines E are arranged in a checkerboard pattern on both sides of the parity check code storage block B1. Figure 7 In the LDPC decoder 1 shown, the number of the plurality of computing engines E is 256. However, the present invention is not limited thereto, and the number of the plurality of computing engines E can be any number. In some embodiments, the number of the plurality of computing engines E disposed on one side and the other side of the parity check code storage block B1 is the same, so that Figure 7 Take the LDPC decoder 1 of 1000 as an example. When the number of multiple computing engines E is 256, the number of multiple computing engines E arranged on one side and the other side of the parity check code storage block B1 is 128. However, the present case is not limited to this, and the number of multiple computing engines E arranged on one side and the other side of the parity check code storage block B1 may be different. In some embodiments, when the number of multiple computing engines E arranged on one side and the other side of the parity check code storage block B1 is 128, the multiple computing engines E are arranged in a 16x8 chessboard arrangement on both sides of the parity check code storage block B1. However, the present case is not limited to this, and the multiple computing engines E can be arranged in a matrix of any size on both sides of the parity check code storage block B1. In some embodiments, LDPC decoder 1 is a 25G PON decoder, but the present case is not limited to this. In some embodiments, the LDPC decoder 1 can be a decoder for any rate PON (eg APON, BPON, EPON and GPON), Ethernet or other data communication protocols. In some embodiments, a plurality of operation engines E are symmetrically arranged on both sides of the parity check code storage block B1.
[0065] After the multiple rows C included in the parity check code matrix M1 are grouped into multiple row groups G, the zero matrices in the same row of all rows C of each row group G will be merged, and the multiple computing engines E do not need to operate on the merged zero matrices to reduce the number of signal quantities required by the multiple computing engines E, thereby improving the computing speed of the multiple computing engines E. Therefore, the computer-aided design (CAD) tool used for placement and routing can successfully Figure 7 The LDPC decoder 1 can be laid out and wired without the problem of using too many computing engines E so that the CAD tool cannot lay out and wire the LDPC decoder 1. Since the LDPC decoder 1 can use 256 computing engines E to perform computing on the parity check code matrix M1 stored in the parity check code storage block B1 to decode and correct errors on the parity check code matrix M1, the frequency speed required for the LDPC decoder 1 can be greatly reduced, thereby greatly reducing the power consumption of the LDPC decoder 1.
[0066] At Figure 7 In the LDPC decoder 1 shown, for the convenience of explanation, the multiple operation engines E are referred to as operation engine E0 to operation engine E255. The distance d2 between the row group storage block B2 (hereinafter referred to as the row group storage block B20) for storing the row group G1 and the computing engine E15 is the farthest vertical distance from the row group storage block B20 to the multiple computing engines E. The distance d1 between the row group storage block B2 (hereinafter referred to as the row group storage block B22) for storing the row group G15 and the computing engine E15 is the farthest vertical distance from the row group storage block B22 to the multiple computing engines E. The distance d4 between the row group storage block B2 (hereinafter referred to as the row group storage block B21) for storing the row group G0 and the computing engine E240 is the farthest vertical distance from the row group storage block B21 to the multiple computing engines E. The distance d3 between the row group storage block B2 (hereinafter referred to as the row group storage block B23) for storing the row group G12 and the computing engine E240 is the farthest vertical distance from the row group storage block B23 to the multiple computing engines E. In some embodiments, the distance d2 and the distance d4 are equal in length, and the distance d1 and the distance d3 are equal in length, but the present invention is not limited thereto.
[0067] In some embodiments, the plurality of operation engines E utilizes a log-likelihood ratio (LLR) minimum sum algorithm to operate the parity check code matrix M1 stored in the parity check code storage block B1 to decode and correct the parity check code matrix M1. In some embodiments, the log-likelihood ratio represents the accuracy through a precision bit. In some embodiments, each row group storage block B2 includes 6 precision bits. However, the present case is not limited to this, and each row group storage block B2 may include any number of precision bits. In some embodiments, the 6 precision bits include 1 sign bit and 5 value bits. In some embodiments, the number of precision bits is determined by conducting a large number of experiments on a test platform of a large field programmable gate array (FPGA). In some embodiments, each operation engine E includes 288 signals (24 (the number of row group storage blocks B2)*6 (the number of precision bits)*2 (input and output)=288).
[0068] See also Fig. 8A and Figure 8B In some embodiments, a plurality of computing engines E are arranged in a chessboard pattern on the upper and lower sides of the parity check code storage block B1 (eg Fig. 8A In some embodiments, a plurality of computing engines E are arranged in a chessboard pattern on the left and right sides of the parity check code storage block B1 (eg Figure 8B In some embodiments, Figure 8B The layout of the LDPC decoder 1 shown is Fig. 8AThe layout of the LDPC decoder 1 is shown rotated 90 degrees. In some embodiments, if there are more horizontal wirings than vertical wirings available in the IC process, then Figure 8B The layout of the LDPC decoder 1 shown is relatively Fig. 8A The layout of the LDPC decoder 1 shown is more suitable.
[0069] See also Fig. 9A and Fig. 9B In some embodiments, the multiple computing engines E in the same row of the multiple computing engines E arranged in a checkerboard pattern on one side and the other side of the parity check code storage block B1 include multiple wires. Fig. 9A The eight computing engines E and Fig. 9B Taking the eight computing engines E in the same row arranged on the upper side of the parity check code storage block B1 as an example, when the number of the row group storage blocks B2 is 24 and each row group storage block B2 contains 6 precision bits, Fig. 9A The 8 computing engines E and Fig. 9B The number of wires included in the eight computing engines E shown is 2304 (8 (the number of computing engines E)*24 (the number of row group storage blocks B2)*6 (the number of precision bits)*2 (input and output)=2304). Fig. 9A The width w1 and Fig. 9B The width w2 of the eight computing engines E shown is 92.16 (μm) when the LDPC decoder 1 is manufactured using TSMC's 12 nanometer (nm) process (2304 (number of wires) * 0.08 micrometers (μm) (wire width) / 2 (number of wire layers) = 92.16 (μm)), where the wire width and the number of wire layers are determined by TSMC's 12nm process. In some embodiments, the wire width and the number of wire layers are determined by the process used by the LDPC decoder 1.
[0070] In some embodiments, the computing engine E that is farther from the parity check code storage block B1 has a larger circuit area and a faster computing speed. Fig. 9A For example, the computing engine E96 has a larger circuit area and a faster computing speed than the computing engine E112, the computing engine E80 has a larger circuit area and a faster computing speed than the computing engine E96... and so on. Fig. 9A The computing engine E240 has the largest circuit area and the fastest computing speed among the multiple computing engines E shown. Fig. 9BIn some embodiments, the computing engine E with the largest circuit area and the fastest computing speed among the multiple computing engines E arranged in the same row (i.e. Fig. 9A Computing Engine E0 or Fig. 9B The circuit area of the computing engine E240 can be, but is not limited to, 3000 square nanometers (squm). Fig. 9A For example, assuming that the width w1 of the eight computing engines E is 92.16 μm and the circuit area of the computing engine E0 is 3000 squum, the height of the computing engine E0 is 32.55 (um) (3000 (squm) / 91.6 (μm) = 32.55 (um)). In some embodiments, the computing engine E with the smallest circuit area among the multiple computing engines E arranged in the same row (i.e. Fig. 9A Computing Engine E112 or Fig. 9B The circuit area of the computing engine E128 can be, but is not limited to, 2000squm. Fig. 9A For example, assuming that the width w1 of the eight computing engines E is 92.16 μm and the circuit area of the computing engine E112 is 2000 squum, the height of the computing engine E112 is 21.7 (um) (2000 (squm) / 91.6 (μm)=21.7 (um)).
[0071] Since the distance from the parity check code storage block B1 to the farthest computing engine E (i.e. Fig. 9A The total height h1 of the 8 computing engines E and Fig. 9B The total height h2 of the 8 computing engines E is quite long (taking the total height h1 and the total height h2 as an example, it is approximately 217 (um) (21.7 (um) + 32.55 (um) / 2*8 = 217 (um))). Therefore, in some embodiments, it is necessary to set a buffer between some adjacent computing engines E to segment multiple computing engines E in the same row to enhance the signal strength from the parity check code storage block B1, thereby preventing the time required for the signal from the parity check code storage block B1 to propagate to some computing engines E is too long.
[0072] See also Fig.10 In some embodiments, a buffer 10 is disposed between two adjacent computing engines E in the same row, and multiple buffers 10 are disposed in multiple computing engines E in the same row. Fig.10The multiple buffers 10 shown are respectively referred to as buffer 11, buffer 12 and buffer 13. The signal from the parity check code storage block B1 must be propagated to the computing engine E112, computing engine E96, computing engine E80, computing engine E64, computing engine E48, computing engine E32, computing engine E16 and computing engine E0. The signal passing through the buffer 11 needs to be propagated to the computing engine E80, computing engine E64, computing engine E48, computing engine E32, computing engine E16 and computing engine E0, the signal passing through the buffer 12 needs to be propagated to the computing engine E48, computing engine E32, computing engine E16 and computing engine E0, and the signal passing through the buffer 13 only needs to be propagated to the computing engine E16 and computing engine E0. Therefore, the buffering capacity (i.e., the signal strength enhancement capability) of the buffer 11 must be greater than the buffering capacity of the buffer 12 and the buffer 13, and the buffering capacity of the buffer 12 must also be greater than the buffering capacity of the buffer 13. In some embodiments, the buffer 10 includes one or more buffer units. The more buffer units included in the buffer 10, the stronger the buffering capacity. Therefore, the number of buffer units included in the buffer 11 is greater than the number of buffer units included in the buffer 12 and the buffer 13, and the number of buffer units included in the buffer 12 is also greater than the number of buffer units included in the buffer 13. The more buffer units included in the buffer 10, the larger its circuit area. Therefore, the circuit area of the buffer 11 is greater than the circuit area of the buffer 12 and the buffer 13, and the circuit area of the buffer 12 is also greater than the circuit area of the buffer 13. In some embodiments, the location of the plurality of buffers 10 and the number of buffer units included in each buffer 10 are determined according to the resistance (R) value, the inductance (L) value and the capacitance (C) value of the wire. In some embodiments, the buffer unit may be, but is not limited to, a buffer gate. In some embodiments, the plurality of computing engines E and the plurality of buffer units are symmetrically arranged on both sides of the parity check code storage block B1.
[0073] In summary, in some embodiments, the LDPC decoder 1 can use 256 computing engines E to operate on the parity check code matrix M1 stored in the parity check code storage block B1 to decode and correct errors of the parity check code matrix M1. Therefore, the frequency speed required by the LDPC decoder 1 can be greatly reduced, thereby greatly reducing the power consumption of the LDPC decoder 1.
[0074] Although the technical content of this case has been disclosed as above in the preferred embodiment, it is not used to limit this case. Any slight changes and modifications made by anyone familiar with this art without departing from the spirit of this case should be included in the scope of this case. Therefore, the scope of protection of this case shall be based on the scope defined by the attached patent application.
Claims
1. A low density parity check decoder comprising: a parity check code storage block for storing a parity check code matrix, the parity check code matrix comprising a plurality of rows, each of the rows comprising a plurality of sub-matrices, wherein the parity check code storage block comprises a plurality of row group storage blocks, each of the row group storage blocks being used to store a row group comprising at least one row, wherein the row group storage block storing the row group comprising more rows is disposed closer to the center of the parity check code storage block; and A plurality of calculation engines are coupled to the parity check code storage block, wherein the calculation engines are used to perform a minimum log-likelihood ratio sum operation on the parity check code matrix, and the calculation engines are arranged on at least two sides of the parity check code storage block. 2 . The LDPC decoder as claimed in claim 1 , wherein the operation engines are arranged in a checkerboard pattern on at least two sides of the parity check code storage block.
3. The LDPC decoder as claimed in claim 1, wherein the operation speed of the operation engine far from the parity check code storage block is higher than the operation speed of the operation engine close to the parity check code storage block. 4 . The low-density parity check decoder as claimed in claim 1 , wherein a buffer is disposed between two adjacent operation engines, and the buffer comprises one or more buffer units. 5 . The LDPC decoder as claimed in claim 4 , wherein the buffer area farther from the parity-check code storage block includes more buffer units and has a stronger buffering capacity. 6 . The LDPC decoder as claimed in claim 2 , wherein the number of the computing engines disposed on one side and the other side of the parity-check code storage block is the same.
7. The LDPC decoder of claim 1, wherein each of the row group storage blocks comprises 6 bits of precision.
8. The low density parity check decoder of claim 7, wherein the 6 precision bits include 1 sign bit and 5 value bits. 9 . The LDPC decoder as claimed in claim 1 , wherein the number of the row group storage blocks is 24. 10 . The LDPC decoder of claim 1 , wherein the number of the rows included in each row group ranges from 1 to 4.
11. The LDPC decoder of claim 1, wherein each of the rows is assigned to only one of the row groups.
12. The low density parity check decoder as claimed in claim 1, wherein each row includes a plurality of columns, each sub-matrix is located in the corresponding column, each sub-matrix is a zero matrix or a shifted identity matrix, and the zero matrices located in the same column in all the rows in each row group are merged.
