Why is there a mismatch in the 5G Polar FPGA IP output result between the MATLAB* and RTL simulation model? - Why is there a mismatch in the 5G Polar FPGA IP output result between the MATLAB* and RTL simulation model? Description Due to a problem with the formatting of input data and parameter data and encoder output data when using the 5G Polar FPGA IP version 2.0.0, you will observe a mismatch in the 5G Polar FPGA IP output result between the MATLAB* and RTL simulation model. Resolution To work around this problem follow steps detailed below. Start with using the Matlab* example from the user guide polar5g_codec_tb(4,2,4,1) to run Matlab*. Matlab* generates polar5g_enc_in.txt , polar5g_enc_out.txt , and polar5g_codec_param.txt files in the <Design Example Directory>/Matlab / folder. Modify these 3 files by adding a 0 in the first row of each file as shown below. For example: Below is the generated polar5g_enc_in.txt 1 1 1 1 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 0 0 1 1 1 1 1 1 0 1 0 Modified polar5g_enc_in.txt 0 1 1 1 1 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 0 0 1 1 1 1 1 1 0 1 0 Copy and paste the modified 3 files into <Design Example Directory>/test_data folder. The default simulation runs 300 frames. So, modify frm_lmt variable in polar5g_enc_tb.sv to 1 frame from the <Design Example Directory>/src folder. Run the RTL simulation. The Matlab* encoder output now matches the RTL output. #NOTE : The simulation reports failure as the 0 location in the first row of each file is not identical to the location used by MATLAB*. The subsequent 64 bits patterns are the same. This can be manually checked in the polar5g_enc_out.txt file. This problem is fixed beginning with version 24.1 release of the 5G Polar FPGA IP. Custom Fields values: ['novalue'] Troubleshooting 16021979672 False ['DSP/AI Polar Code FEC 5G (Primary)'] ['FPGA Dev Tools Quartus® Prime Software Pro'] 24.1 23.1 ['Agilex™ 7 FPGAs and SoCs', 'Stratix® 10 FPGAs and SoCs'] ['novalue'] ['novalue'] ['novalue'] - 2024-11-11

external_document