Skip to content

Polar coding according to the standard

Roberto Louro Magueta requested to merge develop-PUCCH2 into develop
  • Implementation for interleaving of coded bits
  • Implementation for de-interleaving of coded bits
  • Q_PC_N computation for n_pc_wm = 0
  • Compute parity_check_bit_pattern and implementation of function nr_polar_generate_u() and nr_polar_uxG()
  • Extract the information bits from U

Debug logs like the following have been added, and can be viewed by uncommenting the following line: //#define POLAR_CODING_DEBUG

sudo LD_LIBRARY_PATH=. ./nr_pucchsim -R 106 -i 1 -P 2 -q4 -b 12 -s100 -S100 -n1 -B 1196

TX
a:  0100 1010 1100
b:  0100 1010 1100 1000 00
c:  0100 1010 1100 1000 00
u:  0000 0000 0000 0000 0000 0000 0000 0010 0000 0000 0000 0101 0000 0110 0010 0000
d:  0101 1111 0011 1001 0110 1100 0000 1010 1111 0101 1001 0011 1100 0110 1010 0000
rm: 0100 0001 0011 1111 0000 0101 1110 1010 0110 1111 0101 0000 0011 0101 0011 0111
bt: 0001 1011 1110 0111 1001 0011 0110 0100 1101 0010 0111 0110 0100 0100 1011 0111

RX
rm: 0100 0001 0011 1111 0000 0101 1110 1010 0110 1111 0101 0000 0011 0101 0011 0111
d:  0101 1111 0011 1001 0110 1100 0000 1010 1111 0101 1001 0011 1100 0110 1010 0000
u:  0000 0000 0000 0000 0000 0000 0000 0010 0000 0000 0000 0101 0000 0110 0010 0000
c:  0100 1010 1100 1000 00
b:  0100 1010 1100 1000 00
a:  0100 1010 1100
Edited by Roberto Louro Magueta

Merge request reports