Decoder and decoding method

By designing a dynamically adjusted code point decoding pipeline and scheduler, the polar decoder can quickly decode various code word types and save energy, solving the problem that existing polar decoders cannot adapt to different code word types and energy consumption. The problem is high and the decoding efficiency in the communication network is improved.

CN115812283BActive Publication Date: 2024-10-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180048485.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-07-06
Filing Date
2021-07-03
Publication Date
2024-10-11
Estimated Expiration
2041-07-03

AI Technical Summary

Technical Problem

Existing polarization decoders cannot quickly adapt to various codeword types, and suffer from hardware complexity and high energy consumption, which limits their application in modern communication networks.

Method used

A polar decoder including a code point decoding pipeline is designed. The pipeline consists of three logical units and can be dynamically adjusted according to the length and type of code points to adapt to the decoding needs of different codewords. Flexible control of instruction sequences is achieved through the scheduler and memory, which improves decoding efficiency and energy efficiency.

Benefits of technology

It achieves fast decoding and energy saving of various codeword types, improves decoding speed and throughput, and overcomes the flexibility and high energy consumption problems of traditional polarization decoders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115812283B_ABST
    Figure CN115812283B_ABST
Patent Text Reader

Abstract

The structure and method disclosed in the present invention relate to a decoder and a method for decoding a code (e.g., a polar code). The decoder includes: a code point decoding pipeline, including three logic units and used to: for each encoded code point, according to a received instruction sequence, adjust the three logic units to adapt to the decoding of each encoded code point; decode a set of logarithmic likelihood ratios (LLR) corresponding to the encoded code point to generate decoding bits. The decoder also includes: an output memory, used to: store the decoding bits corresponding to each encoded code point; generate a decoding codeword according to the decoding bits. The decoding method includes: adjusting the code point decoding pipeline to adapt to each encoded code point according to the code point length and code point type and the bit index of the encoded code point.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-reference to related applications

[0002] This application claims priority to U.S. non-provisional patent application No. 16 / 921,282, filed on July 6, 2020, and entitled “DECODER AND DECODING METHOD.” Technical Field

[0003] The present invention relates generally to communication networks and, more particularly, to decoders and decoding methods (eg, for polar codes). Background Art

[0004] The 5G standard uses polarization codes as channel coding for the enhanced mobile broadband (eMBB) control channel.

[0005] To encode information using polar codes, the polar encoder uses a conventional polar code construction process to generate a polar codeword with a polar codeword length of N bits, where N is an integer. Up to K information bits are placed in the most reliable bit positions in the polar codeword, while the remaining (N–K) bits in the polar codeword have zero values. There are (N–K) of these zero-valued bits (also called “frozen” bits). The code rate R of this polar codeword is defined as R=K / N. The position of the frozen bits relative to the information bits in the N-bit polar codeword defines the polar code construction method. These various characteristics of a polar codeword can be represented by a “codeword type”, which is a characteristic of the polar codeword that depends on the polar codeword length, the number of information bits K, and the polar code construction method.

[0006] After the polarization codeword is generated, it is encoded using an N×N polarization code matrix, where N is the number of bits in the polarization codeword. The encoded polarization codeword generated in this manner is then sent over a communication network.

[0007] When the polar decoder receives the encoded polar codeword, it recovers the polar codeword using the N×N polar code matrix (equivalent to the matrix originally used by the polar encoder). The polar decoder also requires the code rate R and an indication of the polar code construction method originally used to encode the polar codeword.

[0008] To use polar codes in modern communication networks, polar decoders need to decode information quickly and be adaptable to a variety of applications. Polar decoders also need to adapt quickly to different codeword types.

[0009] Unrolled deeply-pipelined polar decoders (UDPPDs) known in the art can process codewords of a single codeword type. Once implemented in silicon, UDPPDs cannot be modified to process different codeword types. In order to decode codewords of various codeword types, separate and distinct units of conventional polar decoders need to be implemented in silicon. Although UDPPDs can achieve high throughput, they cannot be used in actual communication systems due to their hardware complexity and lack of flexibility. Other currently available polar decoder architectures also fail to overcome these shortcomings. Summary of the invention

[0010] The object of the present invention is to provide a decoder and a decoding method (e.g., for polar codes) to overcome the shortcomings of currently available polar decoders. The object of the present invention includes providing a polar decoder that can be applied to various codeword types. The polar decoder described herein has a faster decoding speed and consumes less energy than a conventional unfolded polar decoder (e.g., UDPPD).

[0011] According to this object, one aspect of the present invention provides a decoder (e.g., a polar code decoder). The decoder includes: a code point decoding pipeline, including three logic units and used to: for each encoded code point, receive a set of logarithmic likelihood ratios (LLRs) corresponding to the encoded code point; receive a command based on the code point length and code point type value of the encoded code point; according to the command, adjust the three logic units to adapt to the decoding of the encoded code point; decode the set of LLRs to generate decoded bits corresponding to the encoded code point; output memory, used to: store the decoded bits corresponding to each encoded code point in a decoded codeword; generate the decoded codeword according to the decoded bits.

[0012] In at least one embodiment, the three logic units in the code point decoding pipeline include: an FG processing unit, which is used to selectively apply an F arithmetic operation or a G arithmetic operation to the set of LLRs to generate an intermediate LLR result, wherein the F arithmetic operation and the G arithmetic operation are selected based on the bit index of the encoded code point; a dedicated decoding unit, which is connected to the FG processing unit and is used to: receive the intermediate LLR result from the FG processing unit; execute decoding logic on the intermediate LLR result according to the code point type; generate the decoded bits corresponding to the encoded code point; a partial sum (PSUM) unit, which is connected to the dedicated decoding unit and is used to: receive the decoded bits corresponding to the encoded code point from the dedicated decoding unit; and generate a PSUM value.

[0013] In any embodiment, the PSUM unit may also be used to send the PSUM value of the decoded code point to the FG processing unit.

[0014] In any embodiment, the code point decoding pipeline can be a code point decoding pipeline in a group of code point decoding pipelines including other code point decoding pipelines, and the decoder can also include: a high-level FG processing unit, which is used to: receive other groups of LLRs; receive a group of PSUM values ​​for performing the G arithmetic operation from the PSUM unit; perform high-level FG tree operations on the other groups of LLRs; generate intermediate LLR results; and send the intermediate LLR results to the other code point decoding pipelines.

[0015] In any embodiment, the command received by the code point decoding pipeline may also be based on a bit index of each encoded code point. The decoder may also include a program memory for receiving and storing a sequence of instructions for generating a command.

[0016] In any embodiment, the decoder may further include: a scheduler for receiving an instruction sequence; controlling the adjustment of the code point decoding pipeline according to the code point length and code point type of each encoded code point by sending commands to the code point decoding pipeline. The scheduler may also be used to control the adjustment of the code point decoding pipeline according to the bit index of the code point. The scheduler may also include: a counter for determining the bit index of the currently processed encoded code point in the encoded codeword.

[0017] In any embodiment, the decoder may further include: an input memory for: receiving and storing a plurality of groups of LLRs corresponding to the received encoded codewords; and sending a group of LLRs from the plurality of groups of LLRs to the codeword decoding pipeline. The input memory may be used to send the group of LLRs corresponding to each encoded codeword in each clock cycle.

[0018] In at least one embodiment, the decoder may be one of a plurality of decoders forming a polar decoder array in a vertical array decoder, the group of LLRs being one of a plurality of groups of LLRs, the plurality of groups of LLRs corresponding to one of a plurality of codewords, and the vertical array decoder may further include: a demultiplexer for: receiving a plurality of groups of LLRs corresponding to the plurality of codewords; sending a group of LLRs in the plurality of groups of LLRs to each of the plurality of decoders; a multiplexer for receiving a decoded codeword from each of the plurality of decoders; and generating a plurality of decoded codewords in sequence.

[0019] According to another aspect of the present invention, a method for polar code decoding is provided. The method comprises: receiving multiple groups of logarithmic likelihood ratios (LLRs) corresponding to an encoded codeword, wherein the encoded codeword comprises at least one encoded codepoint; for each encoded codepoint in the encoded codeword, receiving a group of LLRs corresponding to the encoded codepoint; adjusting a codepoint decoding pipeline to adapt to the encoded codepoint according to a command, wherein the command is based on the value of the codepoint length and the codepoint type of the encoded codepoint; the codepoint decoding pipeline decodes the group of LLRs corresponding to the encoded codepoint to generate decoding bits corresponding to the encoded codepoint; and generating a decoding codeword for each encoded codepoint in the encoded codeword according to the decoding bits received from the codepoint decoding pipeline.

[0020] In at least one embodiment, adjusting the code point decoding pipeline to accommodate the encoded code point further comprises: setting the number of FG processing elements and FG processing layers to be used when applying the F operation or the G operation to the set of LLRs. Adjusting the code point decoding pipeline to accommodate the encoded code point may include: setting the decoding logic to be executed at a dedicated decoding unit in the code point decoding pipeline.

[0021] In at least one embodiment, decoding the set of LLRs further comprises: determining an intermediate LLR result at an FG processing unit in the code point decoding pipeline by selectively applying an F arithmetic operation or a G arithmetic operation to the set of LLRs. Decoding the set of LLRs may comprise: determining a decoded bit corresponding to the encoded code point by applying combinatorial logic to the intermediate LLR results. Decoding the set of LLRs may comprise: determining a partial sum (PSUM) value of the decoded bits and sending the PSUM value to the FG processing unit.

[0022] In any embodiment, the method may further include: storing the PSUM value and the decoded bits corresponding to each encoded code point before generating the decoded codeword. In at least one embodiment, the command is related to a bit index of each encoded code point.

[0023] The implementation of the present invention includes at least one of the above-mentioned purposes and / or aspects, but does not necessarily include all of these purposes and / or aspects. It should be understood that some aspects of the present invention are intended to attempt to achieve the above-mentioned purpose, but may not meet the purpose, and may also meet other purposes not specifically described herein.

[0024] Other and / or alternative features, aspects and advantages of implementations of the present invention will be apparent from the following description, drawings and appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Other features and advantages of the present invention will become apparent through the following detailed description in conjunction with the accompanying drawings, in which:

[0026] FIG1 (Prior Art) shows the encoding of a coded polar codeword;

[0027] Figure 2 is a block diagram of a circular pipeline polar code decoder (PCD) provided by various embodiments of the present invention;

[0028] Figure 3 yes Figure 2 The timing diagram of the PCD in processing the channel logarithmic likelihood ratio (LLR) corresponding to a codeword;

[0029] Figure 4 A resource sharing decoder (RSD) provided by various embodiments of the present invention is shown;

[0030] Figure 5 yes Figure 4 The timing diagram of RSD decoding several code words;

[0031] Figure 6 A vertical array decoder (VAD) provided by various embodiments of the present invention is shown;

[0032] Figure 7 yes Figure 6 The timing diagram of VAD operation in FIG.

[0033] Figure 8 is a flowchart of a method for decoding a polar code provided by various embodiments of the present invention.

[0034] It should be understood that in all drawings and corresponding descriptions, like features are identified by like reference numerals. In addition, it should be understood that the drawings and the following descriptions are for illustration purposes only, and such disclosure does not limit the scope of the claims. DETAILED DESCRIPTION

[0035] The present invention aims to address at least some of the deficiencies of current polar decoders. Specifically, the present invention describes a decoder and a method for code decoding, of which a polar code decoder (also referred to herein as a "polar decoder") is an example, and polar code decoding is an example, so that codewords of various codeword rates and codeword lengths can be decoded. Some embodiments of the decoder (polar code decoder) and the method described herein can be used in applications where high throughput per silicon area is important.

[0036] Throughout the present invention, the term "code point" refers to a portion of a codeword that includes several consecutive bits. The number of bits in a code point (called the "code point length") can vary. Various code point types can be defined based on the number of frozen bits in the code point and the position of the frozen bits relative to the information bits in the code point.

[0037] As used herein, the term "log-likelihood ratio" or "LLR" refers to a multi-bit number associated with each bit in a codeword. The LLR may also be referred to as the "alpha value" of a polar decoder.

[0038] The LLR indicates the probability of a bit being "0" or "1". A large absolute value of the LLR indicates a high probability that the transmitted bit is received as "1" or "0". The sign of the LLR indicates the bit polarity (decoded as "1" or "0"). When the absolute value of the LLR is "0", this indicates that the estimated value of the corresponding bit is unreliable. When the absolute value of the LLR is infinite, this indicates that the estimated value of the corresponding bit is highly reliable.

[0039] As mentioned above, the term "codeword type" refers to a set of characteristics of a codeword. These characteristics may include, for example, the codeword length defined by the number of bits N in the codeword, the number of information bits K in the codeword, and the polar code construction method that has been used to encode the codeword. The polar code construction method is determined by the position of the K information bits in the N codeword bits.

[0040] The polar code decoder described in this article can decode coded codewords of various codeword types. That is, the polar code decoder described in this article can decode coded codewords of various lengths, code rates, and polar code construction methods.

[0041] The polar code decoder described herein can adapt to the decoding of various coded codewords due to the sequence of instructions provided to the codepoint decoding pipeline (also referred to herein as the "pipeline"). The pipeline includes three hardware logic units that operate in a loop. The logic units in the pipeline can sequentially adapt to the parameters of the coded codepoints, and the same logic unit in the pipeline can sequentially decode all codepoints in one coded codeword.

[0042] The instruction sequence provided to the pipeline is based on the parameters of the code point currently being decoded, for example, the code point length and code point type of the encoded code word. Based on the received instruction sequence, the logic units in the pipeline can adapt to each code point being decoded. Since the three logic units are arranged in a loop, the pipeline can decode any number of code points in the encoded code word. Therefore, the pipeline can decode encoded code words of various lengths. In some embodiments, a scheduler controls the pipeline and sends commands to the pipeline based on the instruction sequence.

[0043] In addition to being flexible in handling arbitrary codeword types, the polar decoder described in this article is also energy efficient. Compared to a conventional unfolded polar decoder (e.g., the UDPPD described above), several logic units running in a loop in the pipeline are repeatedly used to decode different encoded codeword points, requiring less energy per decoded bit.

[0044] By cascading the polar decoders described herein, if the number of polar decoders is equal to the codeword decoding delay, the total combined decoding throughput is equal to 1 decoded codeword per clock cycle (CW / cc). For example, if one codeword of one codeword type is decoded in 64 clock cycles (cc), the throughput of the combined system including 64 polar decoders can be equal to 1 CW / cc.

[0045] FIG1 shows the encoding of a polar codeword 100 (also referred to herein as “codeword 100”). Codeword 100 is generated by a polar coder from information bits 105. An initial set of information bits 105 includes K bits. Polar codeword 100 includes N bits, of which there are (N−K) frozen bits 120.

[0046] It should be noted that N and K are integers. N can be a power of 2 or a power of any other integer. The other integer can be equal to the size of the polarization kernel used to generate the polarization matrix of size N×N. For example, when N is a power of 2, N=2 n , where n is an integer. For example, N can be 256, 512, 1024, etc.

[0047] A group of initial information bits 105 and frozen bits 120 are aggregated into a polarization codeword 115 using different polarization code construction methods, as shown in FIG1 . Then, the polarization codeword 115 is encoded using a polarization code matrix to generate an encoded polarization codeword 100 .

[0048] Each bit in the codeword 100 may be represented using a codeword channel LLR. The codeword 100 may be represented using a codeword channel LLR sequence 210.

[0049] The coded polar codeword 100 comprises codepoints 130. Each codepoint starts with a specific bit index.

[0050] Figure 2 is a block diagram of a circular pipeline polar code decoder (PCD) 200 provided by various embodiments of the present invention.

[0051] The PCD 200 is operable to receive channel LLRs 210 of the encoded codeword 100 at a PCD input 212 and generate decoded codeword bits 214 at a PCD output 216 .

[0052] Figure 2 The illustrated PCD 200 includes a scheduler 220 and a code point decoding pipeline 222 (also referred to herein as “pipeline 222”). The PCD 200 also includes a program memory 224, an input memory 226 (also referred to herein as “input storage unit 226”), and an output memory 228 (also referred to herein as “output storage unit 228”). The program memory 224, the input memory 226, and the output memory 228 are all storage elements for storing data. The input memory 226 and the output memory 228 may be data buffers for temporarily storing data.

[0053] The storage element may be, for example, a memory, a flip-flop, a latch, etc. The program memory 224 may be used to communicate with an external controller (not shown). The external controller may add, delete or replace the decoding program 232 in the program memory 224 .

[0054] Before processing the encoded codeword, the decoding program 232 is loaded into the program memory 224. The decoding program 232 includes one or more sequences of instructions (also referred to herein as "instruction sequences"). Each instruction sequence is based on the encoded codeword node in the encoded codeword being decoded. Specifically, the above instruction sequence is based on the codeword node length and codeword node type of the encoded codeword node.

[0055] In some embodiments, each instruction sequence corresponding to a code point may include the code point length and code point type of the encoded code point. In some embodiments, the above instruction sequence may include additional information, such as the bit index of the first bit of the code point in the code word. In other words, the above instruction sequence is related to the bit index of each encoded code point in the code word. Program memory 224 is used to store one or more instruction sequences.

[0056] Referring also to FIG. 1 , each code point 130 may include any number of bits. For example, a code point may include 1 bit or hundreds of bits. When a code point includes more than one bit, the bits in the code point are decoded simultaneously. The type of decoding performed on the bits in a code point corresponds to the code point type and the code point length.

[0057] As long as the codeword length N used in the decoding procedure 232 is equal to or less than the maximum codeword length supported by the hardware implementation of the PCD 200 , the decoding procedure 232 can be applicable to any type of codewords.

[0058] The PCD 200 can be used to execute one decoding program 232 at a time. One decoding program 232 corresponds to a specific combination of codeword length N, code rate R, and polar code construction method. There can be countless combinations of such codeword length, code rate, and polar code construction method. A specific decoding program 232 can be used to decode a codeword of a first codeword type with a length of N1, a code rate of R1, and a code construction method of C1. In some embodiments, in order to decode a codeword of a second codeword type with a second length of N2 and a second code rate of R2, the decoding program 232 can be replaced by a second decoding program (not shown).

[0059] In some embodiments, an external memory (not shown) can store various decoding programs 232. Such an external memory can be, for example, a read-only memory (ROM). The external memory can be located in the PCD 200. Alternatively, the external memory can be separate from the PCD 200 and can be operatively connected to the PCD 200. The external memory can transfer one of the decoding programs 232 to the PCD 200. Before the PCD 200 can start decoding the codeword, the PCD 200 can access the decoding program 232 or access data on how to generate the decoding program 232.

[0060] In at least one embodiment, a new decoding program 232 can be generated for a codeword of a second codeword type while PCD 200 is decoding a codeword of a first codeword type. Decoding program 232 can be generated in software (e.g., in C code) and transmitted to an application-specific integrated circuit (ASIC) using an interface. Decoding program 232 can then be loaded into PCD 200. It should be understood that the new decoding program 232 can be loaded while the previous decoding program 232 is still executing at PCD 200. The new decoding program 232 can then replace the previous decoding program 232.

[0061] In some embodiments, decode program 232 may be generated in hardware by dedicated hardware logic external to PCD 200. In such an implementation, the memory occupied by decode program 232 in program memory 224 and the number of instructions provided by decode program 232 may be limited by hardware parameters of program memory 224.

[0062] In some embodiments, PCD 200 can operate without program memory 224, and the various instructions of decoding program 232 can be loaded directly from external memory (not shown). In such embodiments, the length of decoding program 232 can be unlimited.

[0063] Reference again Figure 2 , PCD 200 receives channel LLR 210 corresponding to the encoded codeword at PCD input 212. In a wireless system, LLR 210 may be received from a demodulator module (not shown). In at least one embodiment, input memory 226 is used to receive and store channel LLR 210.

[0064] The input memory 226 includes one or more storage elements that store the channel LLRs 210 corresponding to the encoded codewords before decoding. The input memory 226 may include, for example, register elements. When the current LLRs are no longer needed for PCD 200 processing and new LLRs can be received, the input memory 226 may send an indication of a "decoder ready" state to an upstream module. Such an upstream module may be, for example, a demodulator module. Therefore, the input memory 226 may request a new channel LLR sequence 210 corresponding to the new encoded codeword 100. The input memory 226 then stores the new channel LLRs 210 corresponding to the encoded codewords.

[0065] LLR 210 may also be stored in external memory and dispatched to PCD 200 when PCD 200 is able to receive another codeword. It should be appreciated that the data flow before and after PCD 200 may be determined according to one or more applications and system specifications.

[0066] After decoding of the current encoded codeword 100 is completed, decoded codeword bits 214 are generated by and sent from PCD 200. In some embodiments, the state of input memory 226 can be set back to "decoder ready" and LLRs 210 corresponding to another codeword can be loaded into input memory 226 after decoding of the current encoded codeword is completed.

[0067] In other embodiments, the input memory 226 may receive the LLRs corresponding to the new encoded codeword and replace the LLRs corresponding to the current codeword before the decoding of the current encoded codeword 100 is completed. The PCD 200 may request the LLRs corresponding to the new encoded codeword while the current encoded codeword is still being decoded. Based on the bit index and the codeword length, the PCD determines that the current channel LLRs stored in the input memory 226 can be safely replaced with the LLRs corresponding to another codeword.

[0068] The pipeline 222 decodes the code point 130 in the codeword. The pipeline 222 includes three hardware logic units 242, 244, 246, which are the FG processing unit 242, the dedicated decoding unit 244, and the partial sum (PSUM) unit 246. The hardware logic units 242, 244, 246 each perform a stage in the decoding process of the pipeline 222. The three-stage pipeline 222 can be controlled by the scheduler 220.

[0069] The scheduler 220 is a processor for reading the instruction sequence of the decoding program 232 and controlling the decoding pipeline 222 according to the instruction sequence. The scheduler 220 may include a counter 221. The counter 221 may help determine the bit index of the codeword node in the encoded codeword to be processed in the currently processed codeword 100.

[0070] The counter 221 can also help determine when the last bit in the current codeword has been decoded and when to decode the next codeword. For example, the counter 221 can receive an indication of when the PCD 200 receives the LLR 210 corresponding to a codeword 100, or any other indication. The counter 221 can help synchronize the pipeline 222 decoding the LLR and sending the instruction sequence to the pipeline 222.

[0071] Based on the bit index of the code point in the codeword, the scheduler 220 reads the instruction and can determine how to control the logic units 242, 244, 246 in the pipeline 222. For example, the scheduler 220 can identify the F operation or G operation corresponding to each layer of the FG processing unit 242. The scheduler 220 can also activate the dedicated decoding unit 244 and select one of the decoding methods or specify the code point type described below. The scheduler can also control the PSUM unit by instructing the calculation and storage of a specific set of PSUM values.

[0072] The above instruction sequence may include the code point length and code point type of each code point. Therefore, by using the bit index of the code point, the scheduler 220 can control the logic units 242, 244, 246 in the pipeline 222 to adapt to each encoded code point by sending commands to the logic units 242, 244, 246.

[0073] In some embodiments, the bit index of the code point can be determined by one or more counters and / or units (not shown) located in pipeline 222. As described above, PCD 200 can operate without scheduler 220 using instruction sequences received from program memory 224 or elsewhere. In yet another alternative embodiment, the command can include the bit index when it is passed to pipeline 222.

[0074] In some embodiments, the code point type identifier may be received by pipeline 222 along with the LLR. The code point type identifier may then be sent to scheduler 220 to instruct scheduler 220 to fetch the corresponding instruction from program memory 224.

[0075] In some embodiments, PCD 200 can operate without program memory 224, and scheduler 220 can generate "on-the-fly" commands to decode codeword points according to codeword type and length. This implementation may require additional logic elements to identify codeword point types and may consume more power.

[0076] The pipeline 222 is flexible and can be dynamically controlled by a sequence of instructions during the decoding of each code point. For each code point, the pipeline 222 receives a command based on the code point length and code point type of the code point. The command received for each code point is based on the instruction sequence of the entire code word.

[0077] Based on the command received for the code point and the bit index of the code point, the pipeline 222 adapts the decoding of the code point. The decoding performed by the logic units 242, 244, 246 in the pipeline 222 is based on the code point type, the code point length, and the bit index of the code point in the current codeword.

[0078] The logic units 242, 244, 246 in the pipeline 222 can all be used to process data within one clock cycle. The maximum delay of each logic unit 242, 244, 246 in the pipeline 222 can be one clock cycle. For high throughput applications, the logic units 242, 244, 246 can run in the same clock cycle. This is possible when the decoding of some code points is very fast. For example, a code point including a frozen bit sequence can be decoded to generate an all-zero output, so that passing through the three logic units 242, 244, 246 in the pipeline 222 may only require one clock cycle.

[0079] The FG processing unit 242 includes a plurality of FG processing elements (also referred to as “FG processing elements”). The FG processing unit 242 executes the FG computation tree.

[0080] The FG computation tree includes several FG tree layers (also referred to herein as "FG processing layers"). The number of FG tree layers used when decoding an encoded codeword depends on the number of bits in the encoded codeword. For example, a codeword comprising 16 bits may correspond to 16 channel LLRs received by PCD 200. For example, in order to decode 16 channel LLRs, four FG tree layers may be used: FG tree layer #3, FG tree layer #2, FG tree layer #1, and FG tree layer #0. As another example, in order to decode a codeword comprising 1024 bits, when 1024 channel LLRs are received, there may be 10 FG tree layers. The FG tree layer that receives LLRs from input memory 226 is referred to herein as the "highest FG tree layer", and the FG tree layer that generates the intermediate LLR results is referred to herein as the "lowest FG tree layer".

[0081] Each FG tree layer includes FG processing elements. The number of FG processing elements used in each FG tree layer depends on the FG tree layer index. For example, a complete FG tree corresponding to a codeword of length N=1024 requires 1023 FG processing elements, of which there are 512 FG processing elements on the highest FG tree layer (layer #9) and 1 codeword processing element on the lowest FG tree layer (layer #0). In each FG tree layer, the F operation or G operation described below is performed by the FG processing element. Each FG processing element performs an F operation or a G operation based on two LLRs (or intermediate LLRs), a partial sum value (only for G operation), and generates a result.

[0082] According to the received instruction, the FG processing unit 242 performs an F operation or a G operation. In other words, the FG processing unit 242 selectively performs an F arithmetic operation or a G arithmetic operation according to the received instruction, as described below.

[0083] In operation, the highest FG tree layer in the FG processing unit 242 simultaneously receives two channel LLRs 236 from the input memory 226. Other FG tree layers receive intermediate LLR values. For example, an FG tree code point corresponding to the FG processing unit 242 may receive LLR #1 and LLR #2.

[0084] When performing an F operation at an FG tree codeword node, the FG processing unit 242 combines two input LLRs, such as LLR #1 and LLR #2. The FG processing unit 242 generates an LLR result of the F operation as follows:

[0085] Sign(LLR#1)*Sign(LLR#2)*Min(|LLR#1|,|LLR#2|). (1)

[0086] The FG processing unit 242 also receives a partial sum (PSUM) value 248 from the output memory 228, as described below. Figure 2 The PSUM value 248 shown in FIG. 244 may be used when the FG processing unit 242 performs the G operation. The PSUM value 248 may include 1 bit of data. When the first code point in the new codeword (i.e., the code point with bit index i=0) is decoded, the PSUM value 248 is set to "0". The first code point may be determined according to the F operation. Then, the PSUM value 248 is updated after the decoding of the first code point.

[0087] When performing a G operation at the FG processing element, the FG processing unit 242 combines two input LLRs, such as LLR #1 and LLR #2, according to the PSUM value 248 received from the output memory 228. The LLR result of the G operation is as follows:

[0088] If PSUM bit value = 1'b0, LLR#2+LLR#1; (2)

[0089] If PSUM bit value = 1'b1, LLR#2–LLR#1. (3)

[0090] In at least one embodiment, PCD 200 also includes an intermediate LLR memory (not shown) for receiving and storing intermediate LLR results of one or more FG tree layers. The intermediate LLR memory can temporarily store the results of one or more FG tree layers. Such intermediate LLR memory for one or more FG tree layers may require additional hardware and may increase decoding delays. The intermediate LLR memory may include, for example, a trigger.

[0091] The dedicated decode unit 244 is used to perform decoding logic according to the code point type. The dedicated decode unit 244 performs the second stage of the 3-stage pipeline 222, namely the "decoding stage".

[0092] The decoding logic performed by the dedicated decoding unit 244 includes combinatorial logic and uses the intermediate LLR results from layer #X of the FG tree, where X is: X=log 2 (code point length). In other words, dedicated decoding unit 244 applies combinatorial logic to the intermediate LLR results received from FG processing unit 242 .

[0093] The dedicated decoding unit 244 may be configured to decode using a simplified serial cancellation (i.e., fast SSC) method known in the art. Fast SSC decoding code points may be, for example, rate 0 (R0), rate 1 (R1), repetition (REP), double repetition (B-REP), and single-bit parity check (SPC) decoding code points.

[0094] In some embodiments, the code point types corresponding to the fast SSC decoding code points are as follows. Rate 0 (R0) corresponds to a frozen bit sequence. Rate 1 (R1) corresponds to an information bit sequence. Repetition (REP) corresponds to a sequence of frozen bits followed by one information bit. Double repetition (B-REP) corresponds to a sequence of frozen bits followed by two information bits. Single-bit Parity Check (SPC) corresponds to a sequence of frozen bits followed by information bits.

[0095] To further reduce decoding latency, PCD 200 may also implement custom decoding code point logic.

[0096] The instruction received by pipeline 222 for dedicated decoding unit 244 indicates which fast SSC decoding code point should be used to decode the current encoding code point. Dedicated decoding unit 244 generates the decoded bits and sends them to PSUM unit 246.

[0097] In the third stage of pipeline 222, PSUM unit 246 applies the N×N polar code matrix to the decoded bits (in other words, “decoded bit estimates”) received from specialized decoding unit 244. PSUM unit 246 combines the previously decoded bits with a modulo-2 sum and generates a PSUM value 248. PSUM unit 246 also stores the accumulated PSUM results locally. As described above, FG processing unit 242 may then use PSUM value 248 when performing a G operation.

[0098] The output memory 228 receives and stores decoded bits 250 corresponding to code points in the codeword from the pipeline 222. The decoded bits 250 are accumulated in the output memory 228.

[0099] For a codeword with a codeword length of N bits, there can be N–1 different PSUM values. Among these N–1 different PSUM values, N / 2 PSUM values ​​can be used in the highest level FG tree, N / 4 PSUM values ​​can be used in the next level, and so on. The lowest level FG tree can be executed using 1 PSUM value.

[0100] In some embodiments, after all code points in the codeword are decoded, decoded bits 250 may be generated based on PSUM value 248. Optionally, both PSUM value 248 and decoded bits 250 may be stored in output memory 228. Output memory 228 may include registers for storing PSUM value 248 corresponding to each of the G arithmetic units of FG processing unit 242.

[0101] In some embodiments, output memory 228 may store PSUM values ​​248 corresponding to a group of bits in a codeword. Decoded bits 250 may be generated for such a group of bits and then also stored in output memory 228.

[0102] In a traditional polar decoder (such as UDPPD), each stage of the UDPPD pipeline includes dedicated decoding logic to process a specific codeword point. Once the UDPPD pipeline is fully loaded, the UDPPD can receive, decode, and transmit one codeword per clock cycle. The data associated with the codeword is forwarded within the UDPPD pipeline per clock cycle.

[0103] The data forwarded in the UDPPD pipeline includes LLRs, intermediate results, PSUMs, and previously decoded bits. Moving data in the UDPPD pipeline may require thousands of storage elements. In addition, moving data in the UDPPD pipeline generates wire toggling in the hardware logic and increases the power consumption of the UDPPD.

[0104] In the PCD 200 disclosed herein, LLRs and PSUMs do not need to pass through many logical hardware elements. Allocated input memory 226 and output memory 228 store LLRs, PSUMs, and intermediate results. This reduces the power consumption of the PCD 200. Compared to a conventional polar decoder, the PCD 200 efficiently uses and reuses the same three logical units in the pipeline 222: the FG processing unit 242, the dedicated decoding unit 244, and the PSUM unit 246.

[0105] In PCD 200, decode logic units 242, 244, 246 in pipeline 222 repeatedly decode different code points in a codeword over and over in a loop. The instruction sequence provided to pipeline 222 adapts pipeline 222 and its three logic units 242, 244, 246 to any type of code point. In some embodiments, scheduler 220 can control each logic unit in pipeline 222 according to the length and type of each code point in the encoded codeword by providing commands to decode logic units 242, 244, 246.

[0106] The code point corresponding to a set of LLRs processed by pipeline 222 may have different code point lengths and code point types. The FG processing unit 242, dedicated decoding unit 244, and PSUM unit 246 described herein are applicable to the code point type and code point length of each code point. That is, PCD 200 can use one FG processing unit 242, one dedicated decoding unit 244, and one PSUM unit 246 to process all the various code point points in the code word. Pipeline 222 can be applicable to any length N and any code word rate R of the code word according to the instruction sequence corresponding to the code word received by PCD 200. Then, pipeline 222 is applicable to each code point according to the command received by pipeline 222 for each code point.

[0107] Figure 3 300 is a timing diagram of PCD 200 processing a channel LLR corresponding to a first codeword according to at least one non-limiting embodiment of the present invention. The LLR corresponding to the first codeword "CW#0" is decoded within a decoding delay 302. Figure 3 When also referring to Figure 2 .

[0108] In the first clock cycle 311, the PCD 200 receives a first set of LLRs 321 corresponding to a first codeword at its input 212. Figure 3 As described above, the scheduler 220 may receive instructions that specify the number of code points in the first encoded codeword and the corresponding code point types. For example, these instructions may indicate that the first encoded codeword includes X code points: code point A, code point B, ... code point X.

[0109] The scheduler 220 can determine the bit index of the currently processed bit and the currently processed code point by using the counter 221. The scheduler 220 can send instructions to the decoding pipeline 222 according to the code point type and code point length of the currently processed code point.

[0110] In the second clock cycle 312 , the FG processing unit 242 performs an F operation or a G operation on the LLR corresponding to the code point A in the first codeword CW# 0 . Then, the FG processing unit 242 sends the intermediate LLR result of the encoded code point A to the dedicated decoding unit 244 .

[0111] In the third clock cycle 313 , the dedicated decoding unit 244 performs decoding code point logic according to the type of code point A in the first code word CW# 0 . Then, the dedicated decoding unit 244 sends the decoded bits corresponding to code point A to the PSUM unit 246 .

[0112] During the fourth clock cycle 314, the PSUM unit 246 generates a PSUM value 248 for code point A. The PSUM value 248 and the decoded bits 250 corresponding to code point A are then sent to the output memory 228. The output memory 228 receives and stores the PSUM value 248 and the decoded bits 250 corresponding to code point A. The output memory 228 also sends the PSUM value 248 back to the FG processing unit 242, as described above.

[0113] In the fifth clock cycle 315, the FG processing unit 242 performs an F operation or a G operation on the second set of LLRs corresponding to code point B in the first codeword. In the sixth clock cycle 316, the dedicated decoding unit 244 processes the intermediate LLR results for code point B. In the seventh clock cycle 317, the PSUM unit 246 determines the PSUM value 248 for code point B.

[0114] The processing of all code points in the first code word CW#0 continues sequentially in a loop formed by the FG processing unit 224, the dedicated decoding unit 244, and the PSUM unit 246. The PSUM value for each code point may be stored in the output memory 228. After processing each code point, the PSUM unit 246 sends the PSUM value 248 determined for the previously processed code point to the FG processing unit 224.

[0115] Code point X in CW#0 is the last code point in the first code word. During clock cycle 319, while FG processing unit 242 is processing code point X in CW#0, other sets of LLRs corresponding to the second code word CW#1 may be loaded into PCD 200 at PCD input 212. It should be understood that a code word may include any number of code points.

[0116] In some embodiments, once the last bit in the first encoded codeword CW#0 is decoded, a new set of LLRs corresponding to the second codeword CW#1 can be loaded. While the LLRs corresponding to the last codepoint (codepoint X) in the first encoded codeword CW#0 are being processed by the dedicated decoding unit 244, the decoding of the second encoded codeword CW#1 can begin. Thus, in clock cycle 320 and several subsequent clock cycles, PCD 200 can process two codewords CW#0 and CW#1 simultaneously.

[0117] In some embodiments, before receiving the LLR corresponding to the second codeword CW#1, PCD 200 may need to wait for a waiting time 350 while all codeword points except the last codeword point X in the encoded codeword CW#0 are processed.

[0118] Reference again Figure 2As described above, the FG processing unit 242 implements the logic of the FG computation tree in the PCD 200 and thus includes several FG tree layers. When the PCD 200 processes a codeword of 128-bit segments, a higher FG tree layer (e.g., FG tree layer #9, FG tree layer #8, and FG tree layer #7, not in the FG tree layer) is applied to each codeword every 128 bits. Figure 2 ). However, the FG processing unit 242 includes many FG processing elements that perform F operations or G operations at higher FG tree layers. For example, FG tree layer #9, FG tree layer #8, and FG tree layer #7 include 512, 256, and 128 processing elements, respectively.

[0119] Shared resources at higher FG tree levels may be useful for processing more than one codeword using one polar decoder, as described below.

[0120] Figure 4 A resource sharing decoder (RSD) 400 provided in accordance with at least one non-limiting embodiment of the present invention is shown. The RSD 400 includes the program memory 224 discussed above.

[0121] RSD 400 also includes RSD modules 404a, 404b, 404c, 404d. Each RSD module 404a, 404b, 404c, 404d includes a resource sharing scheduler 420 and a resource sharing pipeline 422. RSD 400 also includes a group of input storage units 226a, 226b, 226c, 226d and a group of output storage units 228a, 228b, 228c, 228d. In some embodiments, each RSD module 404a, 404b, 404c, 404d can include an input storage unit 226a, 226b, 226c, 226d and an output storage unit 228a, 228b, 228c, 228d, respectively.

[0122] Each resource sharing pipeline 422 includes three hardware logic units: a low-level FG processing unit 442, a dedicated decoding unit 244, and a PSUM unit 246. The dedicated decoding unit 244 and the PSUM unit 246 have been described above. The RSD 400 also includes a high-level FG processing unit 443.

[0123] The high-level FG processing unit 443 and the low-level FG processing unit 442 are similar to the FG processing unit 242 described above for the PCD 200. The high-level FG processing unit 443 and the low-level FG processing unit 442 include processing elements for performing several FG tree layers. The processing elements in each FG tree layer are used to perform F operations or G operations on the incoming LLRs. In the high-level FG processing unit 443, the higher FG tree layers can be shared between the RSD modules 404a, 404b, 404c, 404d to perform F operations or G operations.

[0124] The low-level FG processing unit 442 is located in each RSD module 404a, 404b, 404c, 404d. The high-level FG processing unit 443 is used to perform high-level FG tree operations. The low-level FG processing unit 442 is used to perform low-level FG tree operations.

[0125] The high-level FG processing unit 443 is used to receive the channel LLRs from the input storage units 226a, 226b, 226c, 226d. The intermediate LLR results generated by the high-level FG processing unit 443 are sent to one of the low-level FG processing units 442 located in one of the RSD modules 404a, 404b, 404c, 404d.

[0126] It should be understood that the number of FG tree layers included in and shared by the high-level FG processing unit 443 may vary. In some embodiments, the high-level FG processing unit 443 may include FG tree layer #9, FG tree layer #8, and FG tree layer #7. In other embodiments, the high-level FG processing unit 443 may also include FG tree layer #6. In other embodiments, the higher FG tree layers shared between the RSD modules 404a, 404b, 404c, and 404d may only include FG tree layer #9 and FG tree layer #8. The number of FG tree layers required for use in decoding may also depend on the code point length. For example, the high-level FG processing unit 443 may include FG tree layer #7 and FG tree layer #6.

[0127] The PSUM unit 246 receives the PSUM value from the resource sharing pipeline 422 and stores it in each RSD module 404a, 404b, 404c, 404d. The decoded bits 250 are received by the output storage unit 228a, 228b, 228c, 228d and stored therein.

[0128] The number of codewords processed in parallel by RSD 400 is limited by the number of RSD modules 404a, 404b, 404c, 404d. For example, since high-level FG processing unit 443 is shared among four RSD modules 404a, 404b, 404c, 404d, resource sharing decoder 400 can decode four codewords simultaneously without increasing decoding delay.

[0129] For example, an assembly consisting of 16 RSDs 400 can receive and send one codeword per clock cycle when each RSD 400 decodes 4 codewords in parallel with other RSDs 400 in the assembly and when decoding of a codeword with a codeword length of N=1K requires 64 clock cycles.

[0130] Figure 5 is a timing diagram illustrating how RSD 400 decodes four codewords in parallel according to at least one non-limiting embodiment of the present invention.

[0131] Four sets of LLRs corresponding to four codewords (in Figure 5 The codewords are processed in parallel by the resource sharing pipeline 422. In each clock cycle, the low-level FG processing unit 442 processes one codeword node A in each codeword. Once the last bit in the codeword is decoded, the decoded bit corresponding to the codeword is sent out.

[0132] It should be understood that any number of RSD modules 404a, 404b, 404c, 404d may be included in RSD 400. In some embodiments, RSD 400 may optimally include four RSD modules 404a, 404b, 404c, 404d to share a high-level FG computation tree.

[0133] Figure 6 A vertical array decoder (VAD) 600 is shown in accordance with at least one non-limiting embodiment of the present invention.

[0134] VAD 600 includes a decoder set 602 of X decoders 604a, 604b, ... 604x. X is the number of decoders in set 602. Decoders 604a, 604b, ... 604x are connected to demultiplexer 606 and multiplexer 608, respectively. In other words, decoders 604a, 604b, ... 604x are connected in parallel. Decoders 604a, 604b, ... 604x include hardware elements that can be connected to Figure 2In other words, two or more PCDs 200 may form a polarization decoder array. Alternatively, decoders 604a, 604b, ... 604x may include the same hardware elements as those of RSD 400. In other words, two or more RSD 400 may form a polarization decoder array.

[0135] The demultiplexer 606 receives channel LLRs 610 corresponding to one or more codewords. The demultiplexer 606 then dispatches the LLRs corresponding to one encoded codeword to one of the decoder modules 604a, 604b, ... 604x. Thus, the decoder module 604a receives and processes multiple sets of LLRs 612a corresponding to one encoded codeword. The decoder module 604b receives and processes multiple sets of LLRs 612b corresponding to another encoded codeword, and so on.

[0136] In other words, the demultiplexer 606 is configured to receive a plurality of groups (or multiple) of LLRs corresponding to more than one codeword, and send a group (or multiple) of LLRs to each PCD 200 or RSD 400 or VAD 600 .

[0137] Then, the corresponding decoded codewords 614a, 614b ... 614x are sent to the multiplexer 608. The multiplexer 608 generates a decoded codeword 616 in sequence after receiving the decoded codewords 614a, 614b ... 614x.

[0138] In other words, the multiplexer 608 is used to receive one decoded codeword from each PCD 200 or RSD 400 or VAD 600 and generate decoded codewords in sequence.

[0139] VAD 600 may include a number of decoder modules 604a, 604b ... 604x. The throughput of VAD 600 is limited by the number of codewords that VAD 600 can process per second. By changing the number of decoder modules 604a, 604b ... 604x in decoder set 602, the throughput of VAD 600 can be adapted to a specific application. The throughput of each decoder module 604a, 604b ... 604x can remain unchanged. Adding additional decoder modules can linearly increase the overall throughput.

[0140] When VAD 600 receives codewords, the codewords are separated in time by a constant time interval. Many codewords can be processed in parallel by VAD 600. If the arrival delay of two sequential codewords of the same type is 1 clock cycle, and two decoder modules are ready to start decoding, the delay in generating the decoded bit estimates corresponding to the two codewords may be 1 clock cycle. If the system throughput is less than the input codeword throughput, the input codewords are stopped.

[0141] Figure 7 FIG. 7 is a timing diagram 700 of the operation of a VAD 600 including 16 decoder modules according to at least one non-limiting embodiment of the present invention. In this non-limiting embodiment, the decoder modules 604a, 604b, ..., 604p are implemented as a resource sharing decoder 400. Figure 6 When Figure 4 and Figure 6 .

[0142] Assuming that the decoding delay 602 corresponding to the codeword type is 64 clock cycles, the VAD 600 receives 64 LLR subsets corresponding to the 64 encoded codewords in these 64 clock cycles. The VAD 600 receives one LLR subset corresponding to one encoded codeword at the input of the demultiplexer 606 in each clock cycle 611, 612, etc.

[0143] The first decoder module 604a processes the first LLR subset corresponding to the first four codewords CW#0, CW#1, CW#2, CW#3. The second decoder module 604b processes the LLRs corresponding to the next four codewords CW#4, CW#5, CW#6, CW#7. Finally, the sixteenth decoder module 604p processes the LLRs corresponding to the last four codewords CW#60, CW#61, CW#62, CW#63.

[0144] Figure 8 FIG. 8 is a flowchart of a method 800 for decoding a codeword encoded using a polar code according to at least one non-limiting embodiment of the present invention. Figure 8 1 to 2 Figure 7 .

[0145] In step 810, PCD 200 receives a command sequence corresponding to an encoded codeword.

[0146] In step 812, PCD 200 receives a plurality of LLRs corresponding to an encoded codeword.

[0147] Then, the code point decoding pipeline 222 receives a set of intermediate LLR results corresponding to the current encoded code point. At the same time, for example, the counter 221 determines the current bit index corresponding to the currently processed encoded code word.

[0148] In step 814, the scheduler 220 may read the instruction sequence and send commands to the code point decoding pipeline 222 to accommodate decoding of a set of LLRs corresponding to the code point. The commands provided to the code point decoding pipeline 222 are based on the values ​​of the code point length and the code point type that encoded the code point.

[0149] In some embodiments, the command corresponding to a code point may include the code point length and code point type of the encoded code point to be decoded. In some embodiments, these commands may include additional information, such as the bit index of the first bit in the code point to be decoded.

[0150] The code point decoding pipeline 222 receives specific commands based on the instruction sequence. These commands depend on the code point length, code point type and the value of the bit index of the current encoded code point. The instruction sequence received by the PCD 200 is based on the code point length and code point type of all code points in the codeword.

[0151] The FG processing unit 242 may receive a signal specifying the number of FG processing elements and FG processing layers to be used in the FG processing unit when performing an F operation or a G operation on a set of LLRs.

[0152] Dedicated decoding unit 244 may receive commands specifying which decoding logic needs to be executed to generate decoded bits based on the intermediate LLR results.

[0153] The PSUM unit 246 may receive a command requesting that a particular set of partial sum values ​​be calculated and stored.

[0154] The logic units 242, 244, 246 in the codeword decoding pipeline 222 adapt the codewords according to the command received in step 816. In other words, the three logic units adapt the decoding of the encoded codewords according to the instruction sequence previously received by the PCD 200.

[0155] In step 818 of method 800, pipeline 222 decodes the encoded code point. Decoded bits are generated and stored by code point decoding pipeline 222. PSUM values ​​are generated and sent to the FG processing unit in code point decoding pipeline 222.

[0156] In step 820, method 800 determines whether all the encoded codepoints in the encoded codeword have completed decoding. For example, an indication may be received if all the codepoints in the codeword have completed decoding.

[0157] If the encoded codeword has not been fully decoded, the scheduler 220 reads a new instruction sequence corresponding to the next codeword node. The scheduler 220 then sends the new command to the codeword node decoding pipeline 222 to adjust the pipeline 222 to accommodate the next codeword node. At the same time, a new set of LLRs corresponding to the next codeword node is sent to the codeword node decoding pipeline 222.

[0158] In step 822 , after receiving the decoded bits corresponding to each encoded codeword point in the encoded codeword, PCD 200 generates a decoded codeword.

[0159] Although the present invention has been described with reference to specific features and embodiments of the present invention, it is apparent that various modifications and combinations of the present invention may be made without departing from the present invention. Therefore, the specification and drawings are only regarded as an illustration of the present invention as defined by the appended claims, and are intended to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention.

Claims

1. A decoder, characterized in that: The decoder comprises: The code point decoding pipeline includes three loop-operated logic units and is used to: for each encoded code point, receiving a set of logarithmic likelihood ratios (LLRs) corresponding to the encoded code points; receiving a command based on the value of a code point length and a code point type of the encoded code point; According to the command, the three cyclically operated logic units sequentially adapt to the encoded code points; decoding the set of LLRs to generate decoded bits corresponding to the encoded code points; Output memory for: storing the decoded bits corresponding to each encoded code point; generating a decoding codeword according to the decoding bits; The three logic units in the code point decoding pipeline include: an FG processing unit, configured to selectively apply an F arithmetic operation or a G arithmetic operation to the set of LLRs to generate an intermediate LLR result, wherein the F arithmetic operation and the G arithmetic operation are selected according to a bit index of the encoded code point; A dedicated decoding unit connected to the FG processing unit and configured to: receiving the intermediate LLR results from the FG processing unit; Execute decoding logic on the intermediate LLR result according to the code point type; generate the decoded bits corresponding to the encoded code point; A partial sum (PSUM) unit connected to the dedicated decoding unit and configured to: receiving, from said dedicated decoding unit, said decoded bits corresponding to said encoded codepoints; Generates PSUM values.

2. The decoder according to claim 1, characterized in that The PSUM unit is further used to send the PSUM value of the decoded code point to the FG processing unit.

3. The decoder according to claim 1, characterized in that The code point decoding pipeline is a code point decoding pipeline in a group of code point decoding pipelines including other code point decoding pipelines, and the decoder also includes a high-level FG processing unit for: Receive other groups of LLRs; receiving from the PSUM unit a set of PSUM values ​​for performing the G arithmetic operation; performing a high level FG tree operation on the other set of LLRs; generating the intermediate LLR result; The intermediate LLR results are sent to the other code point decoding pipelines.

4. The decoder according to any one of claims 1 to 3, characterized in that The commands received by the code point decoding pipeline are also based on a bit index of each encoded code point.

5. The decoder according to any one of claims 1 to 3, characterized in that: The decoder further comprises a program memory for receiving and storing a sequence of instructions for generating commands.

6. The decoder according to any one of claims 1 to 3, characterized in that: The decoder also The method comprises: a scheduler for: receiving a sequence of instructions; By sending commands to the code point decoding pipeline, the adjustment of the code point decoding pipeline is controlled according to the code point length and code point type of each encoded code point.

7. The decoder according to claim 6, characterized in that The scheduler is further configured to control adjustment of the code point decoding pipeline according to the bit index of the code point.

8. The decoder according to claim 7, characterized in that The scheduler further comprises a counter for determining a bit index of a currently processed encoding codeword node in the encoding codeword.

9. The decoder according to any one of claims 1 to 3, characterized in that: The decoder further comprises: an input memory for: receiving and storing a plurality of sets of LLRs corresponding to the received encoded codewords; A set of LLRs from among the plurality of sets of LLRs is sent to the code point decoding pipeline.

10. The decoder according to claim 9, characterized in that The input memory is used to send the set of LLRs corresponding to each encoded codeword point in each clock cycle.

11. The decoder according to any one of claims 1 to 3, characterized in that: The decoder is one of a plurality of decoders forming a polar decoder array in a vertical array decoder, the set of LLRs is one of a plurality of sets of LLRs, the plurality of sets of LLRs corresponding to one of a plurality of codewords, the vertical array decoder further comprising: Demultiplexer for: receiving a plurality of sets of LLRs corresponding to the plurality of codewords; sending multiple sets of LLRs from the multiple sets of LLRs to each decoder from the multiple decoders; A multiplexer is used to: receive a decoded codeword from each of the multiple decoders; and generate multiple decoded codewords in sequence.

12. A decoding method, characterized in that: The method comprises: Receiving a plurality of sets of logarithmic likelihood ratios (LLRs) corresponding to an encoded codeword, wherein the encoded codeword includes at least one encoded codepoint; For each encoded codeword node in the encoded codeword, receiving a set of LLRs corresponding to the encoded codepoints; Three cyclically operating logic units in the code point decoding pipeline sequentially adapt to the encoded code point according to a command based on the values ​​of the code point length and the code point type of the encoded code point; The code point decoding pipeline decodes the set of LLRs corresponding to the encoded code point to generate decoded bits corresponding to the encoded code point; generating a decoded codeword for each encoded codeword in the encoded codeword based on the decoded bits received from the codeword decoding pipeline; The three logic units in the code point decoding pipeline include: an FG processing unit, configured to selectively apply an F arithmetic operation or a G arithmetic operation to the set of LLRs to generate an intermediate LLR result, wherein the F arithmetic operation and the G arithmetic operation are selected according to a bit index of the encoded code point; A dedicated decoding unit connected to the FG processing unit and configured to: receiving the intermediate LLR results from the FG processing unit; Execute decoding logic on the intermediate LLR result according to the code point type; generate the decoded bits corresponding to the encoded code point; A partial sum (PSUM) unit connected to the dedicated decoding unit and configured to: receiving, from said dedicated decoding unit, said decoded bits corresponding to said encoded codepoints; Generates PSUM values.

13. The method according to claim 12, characterized in that The three cyclically operating logic units in the code point decoding pipeline sequentially adapt to the encoded code point and further include: The number of FG processing elements and FG processing layers to be used when applying an F operation or a G operation to the set of LLRs is set.

14. The method according to claim 12, characterized in that The three cyclically operating logic units in the code point decoding pipeline sequentially adapt to the encoded code point and further include: Decoding logic is provided to be executed at a dedicated decoding unit in the code point decoding pipeline.

15. The method according to claim 12, characterized in that The decoding of the set of LLRs further comprises: The PSUM value is sent to the FG processing unit.

16. The method according to claim 15, characterized in that The method further includes storing the PSUM value and the decoded bits corresponding to each encoded codeword point before generating the decoded codeword.

17. The method according to any one of claims 12 to 16, characterized in that The command is related to the bit index of each encoded code point.