# 5G NR Polar Core Simulation in AWGN # BP Algorithm ## Dev Log: - Author : Li-Wei Liu (Vegapunk) - Version: With CRC, Best 5G , Early Termination - Note: Msg Allocation: K bit info -> info[K-1] map to highest reliability ### ENC Flow: - CRC Append -> - crc: CRC_encode() - Allocation Based on PW -> - enc: info_allocation_5G() - G -> - enc: encode() - Bit Reversal Interlvr - enc: bit_rev_interlvr() ### Channel Channel (BPSK AWGN)-> ### DEC_Flow: - BP decode -> - dec: Belief_Propagation(max_iter, PW) ``` PW for Extracted Allocated CRC Info in Earlty Termination``` ``` BP has bit reversal info frozen set``` ``` BP's original result is (Allocated -> Bit Reversal)``` ``` Extracted CRC Info based on Encoder's Rule ``` ``` Get the index (Allocated -> Bit Reversal), and extract to buffer``` ### Check Ans: Take the Extracted Info -> Compare ### Module Require: msg_inst crc_inst enc_inst dec_inst ## Status Quo: > [time=Sun, Oct 13, 2019 10:32 AM] Could Still be optimized for speed ## Experiment & Conclusion: > [time=Sun, Oct 13, 2019 10:32 AM] > # CRC vs No CRC > It seems that K/N = 1/2 Polar is the upperbound, any additional CRC bit is an burden > Conclusion: CRC redudancy bits' position Polarization Weight matters !!! > Action Item 1. : Need Test CRC+Info=K=1/2 N cases > Action Item 2. : Modify All Previous Allocation Rule and compare # Global Action Item: > [time=Sun, Oct 13, 2019 10:36 AM] > 1. Modify Allocation Rule for PC & LSC