Professional Documents
Culture Documents
g(x)
b(x)=1 0 0
Codeword = 1 0 0 1 0 1 1 1
Construction of Codes …
➢ Shift Register Method:
➢ Consider the (7,4) cyclic code Generated by 𝑔 𝑋 = 1 + 𝑋 + 𝑋 3 .
➢ Suppose that the message 𝑢 = 1011 is to be encoded.
2
Construction of Codes …
➢ Example of Cyclic Encoding:
u=1011
𝑆1 = 𝑆0 + 𝑚 + 𝑆2
𝑆0 = 𝑆2 + 𝑚
𝑆2 = 𝑆1
𝑔 𝑋 = 1 + 𝑋 + 𝑋 3.
➢ As the received vector is shifted in to the circuit, the register contents are
given in table – 4.
4
Construction of Codes …
Consider r=(0010110) is received
r=(0010110)
5
Construction of Codes …
Consider r=(0001011) is received
find the syndrome
r=(0001011)
6
Construction of Codes …
Consider r=(1000101) is received
find the syndrome
r=(0001011)