Low density parity check encoder, and low density parity check encoding method using the same
A low density parity check (LDPC) encoder, an LDPC decoder, and an LDPC encoding method are disclosed. The LDPC encoder includes first memory, second memory, and a processor. The first memory stores an LDPC codeword. The second memory is initialized to 0. The processor generates the LDPC codeword by performing accumulation with respect to the second memory using information bits. The accumulation is performed at parity bit addresses that are updated using a sequence corresponding to a parity check matrix (PCM).
1. A method of transmitting a broadcast signal, which is performed by a transmission device, the method comprising:
initializing first memory configured to store an LDPC codeword, and second memory;
generating the LDPC codeword by performing accumulation with respect to the second memory using information bits; and
transmitting a broadcast signal corresponding to the LDPC codeword to a reception device,
wherein the accumulation is performed at parity bit addresses that are updated using a sequence corresponding to a parity check matrix (PCM), and
wherein the parity bit addresses are updated in accordance with the following equation:
( x+m×Q 1 )mod M 1 if x<M 1
M 1 +{( x−M 1 +m×Q 2 )mod M 2 } if x≥M 1
where x denotes previous parity bit addresses, m is an information bit index that is an integer larger than 0 and smaller than L, L is a bit-size of a circulant permutation matrix (CPM) of the PCM, Q 1 is M 1 /L, M 1 is a size of a first parity part, Q 2 is M 2 /L, and M 2 is a size of a second parity part, thereby correcting errors occurring over a physical channel.
2. The method of claim 1 , wherein the parity bit addresses are updated based on results of comparing each of the previous parity bit addresses specified in each row of the sequence with the size of the first parity part.
3. The method of claim 1 , wherein the LDPC codeword comprises a systematic part corresponding to the information bits, the first parity part corresponding to a dual diagonal matrix included in the PCM, and the second parity part corresponding to an identity matrix included in the PCM.
4. The method of claim 3 , wherein the second memory has a size corresponding to a sum of the size of the first parity part and the size of the second parity part.
5. The method of claim 4 , wherein the accumulation is performed while the rows of the sequence are being repeatedly changed by the bit-size of the CPM of the PCM.
6. The method of claim 5 , wherein the first parity part is generated by performing parity interleaving using the first and second memory.