A method and system for performance evaluation and design space exploration of polar code belief propagation decoder
By reconstructing the combinatorial logic and sequential logic circuits of the polar code belief propagation decoder into a NAND gate architecture, and modeling its design as a multi-objective optimization problem, the problems of long design cycle and weak performance balance are solved and achieved It provides fast and flexible design space exploration and performance evaluation, improving design efficiency.
Patent Information
- Application Number
- CN202410940280.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-15
AI Technical Summary
The polar code belief propagation decoder in the existing technology has a long design cycle, weak performance balance, poor flexibility, and lack of a universal resource evaluation method, which makes the design space exploration time-consuming and difficult to achieve optimal constraint compatibility.
A polar code belief propagation decoder hardware performance index evaluation method is adopted to calculate the throughput rate and area by reconstructing the combinational logic and sequential logic circuits into a NAND gate-based architecture and model it as a discrete multi-objective Optimize the problem, optimize throughput, area and signal-to-noise ratio, use Monte Carlo method and least squares method to fit the signal-to-noise ratio, and establish a multi-dimensional design space to solve the optimal design solution.
It achieves fast and universal decoder hardware performance evaluation, significantly reduces the design cycle, improves flexibility and design efficiency, and can measure decoder performance from multiple dimensions, avoid local optimal solutions, and achieve global optimal design.
Smart Images

Figure CN118508980B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a polar code belief propagation decoder performance evaluation and design space exploration method and system, belonging to the technical field of channel decoding and integrated circuits in mobile communications. Background Art
[0002] Hardware design is mainly implemented using hardware description languages such as VHDL and Verilog. By customizing the configuration of the hardware description language, including design parameters such as data width and the number of instantiated modules and their functional variants, designers can obtain register transfer level (RTL) implementations with diverse parameters. In order to achieve the best constraint-compatible design, multiple iterations of the entire synthesis flow, including conversion, logic optimization, and gate mapping, are performed using existing electronic design automation (EDA) tools, which can be very time-consuming, especially for large and complex solutions. At the same time, the design space consisting of feasible solutions expands exponentially with the wide classification of design parameters, which brings increasing challenges to closely approximating solutions that meet the specified constraints and constructing a set of optimal designs without exhaustive exploration. The construction of the optimal set essentially represents a multi-objective optimization problem, which requires balancing performance requirements and resource constraints, exploring the design space, and selecting the optimal solution. Existing resource evaluation techniques for RTL implementation of hardware design mainly focus on studying the characteristics of the structure, using analytical estimation strategies or enhanced machine learning methods to approximate indicators such as area and power consumption of hardware designs. Although these techniques are accurate, they do not use general evaluation units and lack generality. At the same time, for the existing polar code belief propagation decoder automatic generation method, a complete comprehensive evaluation process is required to estimate the resources of the automatically generated polar code decoder. If the design space containing a sufficient number of feasible decoders is considered, then the comprehensive evaluation of the decoders in the entire design space will become very time-consuming. Therefore, it is particularly important to study a general polar code belief propagation decoder resource evaluation method that can quickly construct and explore its design space. Summary of the invention
[0003] Purpose of the invention: In view of the shortcomings of the prior art, the present invention aims to provide a method and system for performance evaluation and design space exploration of a polar code belief propagation decoder, so as to solve the problems of long design cycle, weak performance balance and poor flexibility in the implementation process of the decoder.
[0004] Technical solution: To achieve the above-mentioned invention object, the present invention adopts the following technical solution:
[0005] A method for evaluating hardware performance indicators of a polar code belief propagation decoder comprises the following steps:
[0006] The combinational logic and sequential logic circuits of the polar code belief propagation decoder are reconstructed into an architecture based on NAND gates, and the number of two-input NAND gates consumed by the entire decoder architecture related to the code length and parallelism and the delay based on the two-input NAND gates are obtained;
[0007] The throughput and / or area are used as the performance index of the decoder hardware, wherein the throughput is determined based on the number of decoder information bits, the number of clock cycles consumed by the decoder architecture, and the delay based on the two-input NAND gate; and the area is measured by the number of two-input NAND gates consumed by the entire decoder architecture.
[0008] Preferably, the number of two-input NAND gates consumed by the entire decoder architecture includes the number of two-input NAND gates consumed by the baseline structure unit, the control logic unit and the shared memory unit; the delay based on the two-input NAND gate includes the delay of the modules involved in the critical path of the decoder.
[0009] Preferably, the method for calculating the number of two-input NAND gates consumed by the entire decoder architecture is as follows: the circuit architecture is classified into a combinational logic part and a sequential logic part, the two-input NAND gate consumption of each part is solved respectively, and then the two-input NAND gate consumption of the entire circuit architecture is obtained by merging them; for a combinational logic circuit, the logical relationship between its input and output is first determined according to the truth table of the combinational logic circuit, and then the logical expression between the output and the input is derived, and then the consumption of the multi-input AND gate, the multi-input OR gate and the single-input NOT gate is determined according to the logical expression, and finally the two-input NAND gate consumption is calculated based on the conversion relationship between the multi-input AND gate, the multi-input OR gate and the single-input NOT gate and the two-input NAND gate; for a sequential logic circuit, it is divided into a D flip-flop and a combinational logic circuit, and the two-input NAND gate consumption corresponding to the number of D flip-flops and the two-input NAND gate consumption corresponding to the combinational logic circuit are calculated, and then the two-input NAND gate consumption of the entire sequential logic circuit is obtained by integration;
[0010] The method for calculating the delay based on the two-input NAND gate is: convert the entire decoder architecture into a form based on the two-input NAND gate, and then calculate the number of two-input NAND gates passed by the decoder's critical path, and the result is used to measure the delay of the decoder based on the two-input NAND gate.
[0011] Preferably, the throughput rate TP Determined by the following formula:
[0012] ;
[0013] in K represents the number of decoder information bits, CC Indicates the number of clock cycles consumed by the decoder architecture, Delay( N , M) indicates the code length N and parallelism M The entire decoder architecture is based on the delay of a two-input NAND gate. t NAND represents the actual delay of a two-input NAND gate, s Indicates the scaling factor.
[0014] A polar code belief propagation decoder design space exploration method comprises the following steps:
[0015] Modeling the design of the polar code belief propagation decoder as a discrete multi-objective optimization problem, wherein the optimization objectives of the multi-objective optimization problem include optimizing the throughput and / or area obtained by the polar code belief propagation decoder hardware performance indicator evaluation method;
[0016] Solving the multi-objective optimization problem obtains an optimal decoder design scheme that meets the constraints; the constraints include the relationship constraints among code length, parallelism, and the number of decoder information bits.
[0017] Furthermore, the optimization goal of the multi-objective optimization problem also includes optimizing the signal-to-noise ratio of the decoder to achieve specified error correction performance; the signal-to-noise ratio is obtained by simulating the error correction performance of decoders with different code lengths and different code rates based on the Monte Carlo method, and the relationship between the signal-to-noise ratio and the codeword parameters is determined by fitting the simulation results.
[0018] Preferably, the method for fitting and determining the relationship between the signal-to-noise ratio and the codeword parameters is:
[0019] Based on the Monte Carlo method, the error correction performance of the decoder under different code lengths and different bit rates is simulated. For each frame of simulation data, the corresponding signal-to-noise ratio is calculated according to the simulation results. Then, the signal-to-noise ratio of all simulation data is taken as the dependent variable, and the codeword parameters are taken as the independent variables. The expressions of the signal-to-noise ratio and codeword parameters are fitted based on the least squares method.
[0020] Preferably, the multi-objective optimization problem establishes a multi-dimensional design space of throughput-area-signal-to-noise ratio, and the optimization objectives are: maximizing the throughput, minimizing the number of two-input NAND gates consumed by the entire decoder architecture, and the signal-to-noise ratio under specified error correction performance; the constraints are: ; N and M is a power of 2, K is an integer.
[0021] A computer system comprises a memory, a processor and a computer program / instruction stored in the memory and executable on the processor, wherein the computer program / instruction implements the steps of any one of the above methods when executed by the processor.
[0022] A computer program product comprises a computer program / instruction, wherein the computer program / instruction implements the steps of any one of the above methods when executed by a processor.
[0023] Beneficial effects: Compared with the prior art, the present invention has the following advantages:
[0024] 1. The present invention proposes a fast and universal decoder hardware performance index evaluation method, which uses basic logic gates (NAND gates) as evaluation units, reconstructs the combinational logic and sequential logic circuits of the decoder into NAND gate-based architectures, uses throughput and / or area as hardware performance index metrics, determines the relationship between throughput and / or area and codeword parameters, and approximates the throughput and / or area results of the decoder. Compared with the comprehensive results based on ASIC, this method can quickly estimate the hardware design indicators of the decoder with a relatively low average error, supports the configurability of codeword parameters, can significantly reduce the design cycle of the decoder, and has high flexibility.
[0025] 2. To further realize the rapid construction and exploration method of the decoder performance-cost design space, the present invention also proposes a reliable decoder algorithm performance index evaluation method, which introduces the signal-to-noise ratio under specific error correction performance to measure the algorithm performance index, and uses the Monte Carlo method to simulate the decoder to obtain the signal-to-noise ratio of each simulation point, and fits the simulated signal-to-noise ratio to determine the relationship between the signal-to-noise ratio and the codeword parameters, and approximates the signal-to-noise ratio result of the decoder. Different from the existing single hardware index measurement strategy, this method introduces an algorithm performance index that is different from the hardware level, which can measure the advantages and disadvantages of the decoder from multiple dimensions, facilitate the coordinated optimization of algorithms and hardware and improve design efficiency.
[0026] 3. Furthermore, the present invention proposes a multi-objective optimization method for the decoder design space based on algorithm-hardware indicators. Based on the expression model of the decoder hardware performance indicators and software performance indicators and codeword parameters, a multi-dimensional design space of throughput-area-SNR is established, design constraints facing different scenarios are set, and multi-objective optimization is used to solve the optimal decoder design scheme that meets the constraints. Different from the existing single performance indicator optimization strategy, this method models the multi-dimensional design space optimization of the decoder as a multi-objective optimization problem, which can efficiently search for the Pareto optimal solution, avoid falling into the local optimum, and thus achieve the global optimum. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A diagram of the architecture of a polar code belief propagation decoder provided in an embodiment of the present invention.
[0028] Figure 2Transition diagrams between a NOT gate, an AND gate, an OR gate, a D flip-flop and a NAND gate provided in an embodiment of the present invention; wherein (a) is a transition diagram between a NOT gate and a NAND gate, (b) is a transition diagram between an AND gate and a NAND gate, (c) is a transition diagram between an OR gate and a NAND gate, and (d) is a transition diagram between a D flip-flop and a NAND gate.
[0029] Figure 3 Schematic diagram of multi-input logic variables and operations provided in an embodiment of the present invention; (a) is a three-input logic variable and operation, and (b) is a four-input logic variable and operation.
[0030] Figure 4 Schematic diagram of multi-input logical variable AND NOT operation provided by an embodiment of the present invention; wherein (a) is a three-input logical variable AND NOT operation, and (b) is a four-input logical variable AND NOT operation.
[0031] Figure 5 A diagram of the architecture of a MUX1 module based on logic gates provided in an embodiment of the present invention.
[0032] Figure 6 A diagram of the design space exploration of a polar code belief propagation decoder provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0034] The embodiment of the present invention discloses a method for evaluating the hardware performance index of a polar code belief propagation decoder. The combinational logic and sequential logic circuits of the polar code belief propagation decoder are reconstructed into an architecture based on NAND gates, respectively, to obtain the number of two-input NAND gates consumed by the entire decoder architecture and the delay based on the two-input NAND gates related to the code length and parallelism; the throughput and / or area are used as the hardware performance index measurement of the decoder, wherein the throughput is determined based on the number of decoder information bits, the number of clock cycles consumed by the decoder architecture, and the delay based on the two-input NAND gates; the area is measured by the number of two-input NAND gates consumed by the entire decoder architecture. The throughput and / or area obtained by this method can be used in the design space exploration method of the polar code belief propagation decoder. A polar code belief propagation decoder design space exploration method disclosed in an embodiment of the present invention models the design of the polar code belief propagation decoder into a discrete multi-objective optimization problem, wherein the optimization objectives of the multi-objective optimization problem include optimizing the throughput and / or area; solving the multi-objective optimization problem obtains an optimal decoder design scheme that meets the constraints; the constraints include the relationship constraints between the code length, parallelism, and the number of decoder information bits. In addition, the optimization objectives of the multi-objective optimization problem may further include optimizing the decoder to achieve a signal-to-noise ratio under specified error correction performance; wherein the signal-to-noise ratio can be obtained by simulating the error correction performance of decoders with different code lengths and different code rates based on the Monte Carlo method, and the relationship between the signal-to-noise ratio and the codeword parameters is determined by fitting the simulation results. The embodiments of the present invention are described in detail below in conjunction with a specific decoder architecture.
[0035] Figure 1 The polar code belief propagation decoder architecture diagram is shown. Figure 1 Based on the architecture diagram provided, a reliable evaluation method for the performance and cost metrics of the polar code belief propagation decoder is given. Figure 1As shown in Figure 1, the entire architecture consists of three parts, namely the baseline structure unit, the control logic unit and the shared memory unit. The baseline structure unit includes the MUX1 module, the MUX2 module, the MUX3 module, the BCB calculation module, the SW1~SWJ module, the buffer module, the pipeline registers module and the hard decision module. Specifically, the MUX1 module, the MUX2 module and the MUX3 module are multiplexers, and the BCB calculation module is responsible for processing the input log-likelihood information to ensure accurate belief propagation decoding. The determination of the SW1~SWJ modules depends on the code length and parallelism configuration of the decoder, and is responsible for ensuring that the log-likelihood information under different code lengths and parallelism can be correctly processed by the BCB calculation module. When N and M represent the code length and parallelism respectively, J is determined by the formula J=N / M. The buffer module and the pipeline register module are both responsible for buffering the log-likelihood information, and the hard decision module is responsible for determining the log-likelihood information to obtain the estimated decoding bit. The present invention uses a green solid line to represent the critical path of the decoder, involving MUX1, BCB, MUX2, SW1~SWJ, MUX3 and shared memory modules, so only the delay of the above modules needs to be evaluated without considering other modules.
[0036] Figure 2 The figure shows the conversion diagram between NOT gate, AND gate, OR gate, D flip-flop and NAND gate. According to the digital circuit design theory, any digital circuit can be divided into two parts: combinational logic and sequential logic. Each part of the circuit can be converted into the form of basic logic gates (such as NAND gate). Figure 2 As shown, for combinational logic circuits, the universal NAND gate can be used to represent three common logic gates, including NOT gate, AND gate and OR gate, which consume one, two and three two-input NAND gates respectively. For sequential logic circuits, it can be understood as a combination of D flip-flops and combinational logic circuits, where each D flip-flop is composed of six three-input NAND gates.
[0037] Figure 3 A schematic diagram showing multiple input logic variables and operations. Figure 2 It can be seen that a two-input AND gate can be constructed by a two-input NAND gate, and the case of a multi-input AND gate can be extended on this basis. Figure 3 As shown, the three-input AND gate and the four-input AND gate can be designed as a combination of two two-input AND gates and three two-input AND gates, respectively. t logical variables, respectively v0 、v 1 、...、v t-1 , so that NAND AND ( t )express t The number of two-input NAND gates consumed by the input AND gate, NAND AND ( t ) is determined by formula (1):
[0038] (1)
[0039] Take the delay of a two-input NAND gate as the measurement benchmark, and let Delay AND ( t )express t Input delay of AND gate, Delay AND ( t ) is determined by formula (2):
[0040] (2)
[0041] Among them, when t =2, Delay AND (2)=2, which can be deduced in sequence t >2 results.
[0042] Figure 4 A schematic diagram showing a multi-input logic variable and NOT operation. Figure 4 As shown, the three-input NAND gate and the four-input NAND gate can be respectively composed of a two-input AND gate plus a two-input NAND gate and two two-input AND gates plus a two-input NAND gate. t logical variables, respectively 、 、 ... 、 , so that NAND NAND ( t )express t The number of two-input NAND gates consumed by the input NAND gate, NAND NAND ( t ) is determined by formula (3):
[0043] (3)
[0044] Take the delay of a two-input NAND gate as the measurement benchmark, and let Delay NAND ( t ) represents the input delay of the NAND gate, Delay NAND ( t) is determined by formula (4):
[0045] (4)
[0046] Among them, when t =2, Delay NAND (2)=1, we can deduce t >2. For multiple input logical variables or operations, the present invention considers t logical variables, respectively v 0 、v 1 、...、v t-1 ,make Y express t The result of a logical variable or operation is known from De Morgan's laws. Y Determined by formula (5):
[0047] (5)
[0048] According to formula (5), multivariable or operation can be decomposed into multivariable and non-operation and multivariable non-operation, which is Figure 2 It can be seen that each NOT gate consumes one NAND gate. OR ( t ) and Delay OR ( t ) represent the number of two-input NAND gates consumed by the multi-input OR gate and the delay based on the two-input NAND gate, NAND OR ( t ) and Delay OR ( t ) is determined by formula (6):
[0049] (6)
[0050] Substituting formula (3) and formula (4) into formula (6), we can determine NAND OR ( t ) and Delay OR ( t ) expression.
[0051] Figure 3 and Figure 4Given the logical relationship between multi-input AND gates, multi-input OR gates, and two-input NAND gates, any circuit architecture can be converted into a combination of multi-input AND gates, multi-input OR gates, and single-input NAND gates, and then further converted into the logical expression of two-input NAND gates. In particular, any circuit architecture is classified into a combinational logic part and a sequential logic part, and the two-input NAND gate consumption of each part is solved separately, and then merged to obtain the two-input NAND gate consumption of the entire circuit architecture. For any combinational logic circuit, first determine the logical relationship between its input and output based on the truth table of the combinational logic circuit, then derive the logical expression between the output and input, and then determine the consumption of the multi-input AND gate, multi-input OR gate, and single-input NAND gate based on the logical expression, and finally calculate the two-input NAND gate consumption. Different from the calculation strategy of the combinational logic circuit part, based on Figure 2 The conversion relationship between the D flip-flop and the two-input NAND gate is provided. The sequential logic circuit part first calculates the number of D flip-flops to calculate the two-input NAND gate consumption of this part, and then calculates the number of two-input NAND gates consumed by the combinational logic part, and then integrates the two to obtain the two-input NAND gate consumption of the entire sequential logic circuit. After converting the entire decoder architecture into a form based on two-input NAND gates, the number of two-input NAND gates passed by the decoder's critical path can be calculated, and the result is used to measure the delay of the decoder based on two-input NAND gates.
[0052] The embodiment of the present invention takes the MUX1 module as an example and gives in detail its derivation process of solving based on a two-input NAND gate architecture. Figure 5 The MUX1 module architecture diagram based on logic gates is shown. MUX1 is a four-input two-output multiplexer that uses a two-bit controller to select the appropriate input. The present invention assumes that the four inputs of MUX1 are D0, D1, D2 and D3, the two outputs are Y0 and Y1, the two-bit control signals are S0 and S1, and the logical relationship between the input and output is determined by formula (7):
[0053] (7)
[0054] In addition, the logical expressions of Y0 and Y1 can be calculated:
[0055] (8)
[0056] The present invention uses q bits to quantize each log-likelihood information, when the parallelism M Given, the number of quantized bits for each input of MUX1 is Q The present invention first analyzes the one-bit input example and then extends it to Q Bit situation. Figure 5As shown, MUX1 can be composed of a NOT gate, a two-input AND gate, and a three-input OR gate. The red dotted box represents the case of a one-bit input. Q You can get Q The result of bit input. MUX1 and Delay MUX1 They represent the number of two-input NAND gates consumed by MUX1 and the delay based on the two-input NAND gate, NAND MUX1 and Delay MUX1 The expression of is determined by formula (9):
[0057] (9)
[0058] Similar to the analysis strategy of MUX1, it can be determined that the remaining modules of the baseline structure include MUX2, MUX3, BCB, SW1~SW J , Buffer, Pipeline Registers and Hard Decision two-input NAND gate consumption and delay based on two-input NAND gate. MUX2 and Delay MUX2 They represent the number of two-input NAND gates consumed by MUX2 and the delay based on the two-input NAND gate, NAND MUX2 and Delay MUX2 The expression of is determined by formula (10):
[0059] (10)
[0060] in, , indicating log 2 J Round down. MUX3 and Delay MUX3 They represent the number of two-input NAND gates consumed by MUX3 and the delay based on the two-input NAND gate, NAND MUX3 and Delay MUX3 The expression of is determined by formula (11):
[0061] (11)
[0062] NAND BCB and Delay BCB They represent the number of two-input NAND gates consumed by BCB and the delay based on the two-input NAND gate, NAND BCB and Delay BCB The expression of is determined by formula (12):
[0063] (12)
[0064] make and Respectively represent SW1~SW J The number of two-input NAND gates consumed and the delay based on the two-input NAND gates, and The expression of is determined by formula (13):
[0065] (13)
[0066] NAND Buffer Indicates the number of two-input NAND gates consumed by the buffer. Buffer The expression of is determined by formula (14):
[0067] (14)
[0068] NAND Pipeline Registers Indicates the number of two-input NAND gates consumed by pipeline registers. Pipeline Registers The expression of is determined by formula (15):
[0069] (15)
[0070] NAND Hard Decision Indicates the number of two-input NAND gates consumed by hard decision (Hard Decision), NAND Hard Decision The expression of is determined by formula (16):
[0071] (16)
[0072] NAND Shared Memory and Delay Shared Memory They represent the number of two-input NAND gates consumed by the shared memory and the delay based on the two-input NAND gate, NAND Shared Memory and Delay Shared Memory The expression of is determined by formula (17):
[0073] (17)
[0074] in, and For the control logic part, let NAND Control Logic Indicates the number of two-input NAND gates consumed by the control logic.Control Logic The expression of is determined by formula (18):
[0075] (18)
[0076] in, and .
[0077] Based on all the above modules, NAND( N , M ) and Delay( N , M ) represent the number of two-input NAND gates consumed by the entire decoder architecture and the delay based on the two-input NAND gate, NAND( N , M ) and Delay( N , M ) is determined by formula (19):
[0078] (19)
[0079] NAND( N , M ) and Delay( N , M ) are all related to hardware metrics. The present invention additionally introduces the signal-to-noise ratio as an algorithm metric, where the signal-to-noise ratio (SNR) consumed by the decoder to achieve a specific frame error rate (FER) performance is defined as FSNR , you can use FSNR As a metric to evaluate the algorithm performance of different decoders. Based on the Monte Carlo method, the error correction performance of decoders with different code lengths and different code rates is simulated. For each frame of simulation data, the corresponding FSNR , and then take all the simulation data FSNR The expression of signal-to-noise ratio and codeword parameters (code length and code rate) is fitted based on the least square method. The present invention takes the polar code belief propagation decoder as an example, the simulation code length is set to N={64, 128, 256, 512, 1024}, the simulation code rate is set to 0.25≤R≤0.75, when FER=10 -3 When FSNR The expression is:
[0080] (20)
[0081] in, K Indicates the number of decoder information bits. In summary, the present invention evaluates three metrics, involving both algorithm and hardware levels.
[0082] Figure 6 The design space exploration diagram of polar code belief propagation decoder is shown in Fig. iter represents the maximum number of iterations in the decoder error correction performance simulation, CC Indicates the number of clock cycles consumed by the decoder architecture, CC The expression of is determined by formula (21):
[0083] (twenty one)
[0084] Among them, the maximum number of iterations set by the present invention is iter =15. TP represents the throughput rate of the decoder, TP The expression of is determined by formula (22):
[0085] (twenty two)
[0086] in, t NAND represents the actual delay of a two-input NAND gate and the present invention sets t NAND =0.05ns, s Indicates the scaling factor and the present invention sets s =0.46. GATE represents the number of two-input NAND gates consumed by the decoder architecture. The present invention models the design of the polar code belief propagation decoder as a discrete multi-objective optimization problem listed in formula (23):
[0087] (twenty three)
[0088] in, FSNR Determined by formula (20), GATE Determined by formula (19), TP Determined by formula (22). Figure 6 As shown, set the code length N ={128,256,512}, the present invention provides a FSNR , GATE and TP The design space exploration diagram of the metric, where the blue dots represent all feasible designs and the red dots represent the Pareto optimal design. FSNR , GATE and TP Measuring indicators and quickly building a design space based on these indicators, imposing customized constraints, can efficiently determine the Pareto optimal solution of the design space.
[0089] An embodiment of the present invention further discloses a computer system, including a memory, a processor, and a computer program / instruction stored in the memory and executable on the processor, wherein the computer program / instruction implements the steps of any of the above methods when executed by the processor.
[0090] An embodiment of the present invention further discloses a computer program product, including a computer program / instruction, wherein the computer program / instruction implements the steps of any of the above methods when executed by a processor.
Claims
1. A method for evaluating hardware performance indicators of a polar code belief propagation decoder, characterized in that: The steps include: The combinational logic and sequential logic circuits of the polar code belief propagation decoder are reconstructed into an architecture based on NAND gates, respectively, and the number of two-input NAND gates consumed by the entire decoder architecture related to the code length and parallelism and the delay based on the two-input NAND gates are obtained; including: classifying the circuit architecture into a combinational logic part and a sequential logic part, solving the two-input NAND gate consumption of each part respectively, and then merging them to obtain the two-input NAND gate consumption of the entire circuit architecture; for the combinational logic circuit, first determine the logical relationship between its input and output according to the truth table of the combinational logic circuit, then derive the logical expression between the output and the input, and then determine the multi-input NAND gate consumption according to the logical expression. The consumption of the multi-input AND gate, multi-input OR gate and single-input NOT gate is calculated, and finally the consumption of the two-input NAND gate is calculated based on the conversion relationship between the multi-input AND gate, multi-input OR gate and single-input NOT gate and the two-input NAND gate; for the sequential logic circuit, it is divided into D flip-flops and combinational logic circuits. By calculating the two-input NAND gate consumption corresponding to the number of D flip-flops and the two-input NAND gate consumption corresponding to the combinational logic circuit, the two-input NAND gate consumption of the entire sequential logic circuit is integrated; the entire decoder architecture is converted into a form based on two-input NAND gates, and then the number of two-input NAND gates passed by the critical path of the decoder is calculated, and the result is used to measure the delay of the decoder based on the two-input NAND gate; The throughput and / or area are used as the performance index of the decoder hardware. TP Based on the number of decoder information bits K , the clock cycle consumption of the decoder architecture CC and the delay determination based on the two-input NAND gate; , where Delay( N , M ) indicates the code length N and parallelism M The entire decoder architecture is based on the delay of a two-input NAND gate. t NAND represents the actual delay of a two-input NAND gate, s Indicates the scaling factor; The area is measured by the number of two-input NAND gates consumed by the entire decoder architecture.
2. The method for evaluating hardware performance indicators of a polar code belief propagation decoder according to claim 1, characterized in that: The number of two-input NAND gates consumed by the entire decoder architecture includes the number of two-input NAND gates consumed by the baseline structure unit, the control logic unit and the shared memory unit; the delay based on the two-input NAND gate includes the delay of the modules involved in the critical path of the decoder.
3. A polar code belief propagation decoder design space exploration method, characterized in that: The steps include: Modeling the design of the polar code belief propagation decoder as a discrete multi-objective optimization problem, wherein the optimization objectives of the multi-objective optimization problem include optimizing the throughput and / or area obtained according to the polar code belief propagation decoder hardware performance indicator evaluation method according to claim 1 or 2; Solving the multi-objective optimization problem obtains an optimal decoder design scheme that meets the constraints; the constraints include the relationship constraints among code length, parallelism, and the number of decoder information bits.
4. The polar code belief propagation decoder design space exploration method according to claim 3, characterized in that: The optimization goal of the multi-objective optimization problem also includes optimizing the signal-to-noise ratio of the decoder to achieve specified error correction performance; the signal-to-noise ratio is obtained by simulating the error correction performance of decoders under different code lengths and different code rates based on the Monte Carlo method, and the relationship between the signal-to-noise ratio and the codeword parameters is determined by fitting the simulation results.
5. The polar code belief propagation decoder design space exploration method according to claim 4, characterized in that: The method for fitting and determining the relationship between the signal-to-noise ratio and the codeword parameters is: Based on the Monte Carlo method, the error correction performance of the decoder under different code lengths and different bit rates is simulated. For each frame of simulation data, the corresponding signal-to-noise ratio is calculated according to the simulation results. Then, the signal-to-noise ratio of all simulation data is taken as the dependent variable, and the codeword parameters are taken as the independent variables. The expressions of the signal-to-noise ratio and codeword parameters are fitted based on the least squares method.
6. The polar code belief propagation decoder design space exploration method according to claim 4, characterized in that: The multi-objective optimization problem establishes a multi-dimensional design space of throughput-area-SNR, and the optimization objectives are: maximizing throughput, minimizing the number of two-input NAND gates consumed by the entire decoder architecture, and the SNR under specified error correction performance; the constraints are: ; N and M is a power of 2, K is an integer.
7. A computer system comprising a memory, a processor, and a computer program / instruction stored in the memory and executable on the processor, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
8. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
