0% found this document useful (0 votes)
38 views

Design and Implementation of FPGA Based Cyclic Code

This document discusses the design and implementation of an FPGA-based cyclic code encoder/decoder. It defines cyclic codes as linear codes where any cyclic shift of a codeword is also a codeword. It describes how a (n,k) cyclic code can be generated by a polynomial g(x) of degree n-k that is a factor of xn - 1, called the generator polynomial. The encoding procedure multiplies the message polynomial by Xn-k and divides the result by the generator polynomial to obtain the remainder b(X), which is the codeword. Decoding finds the syndrome polynomial by dividing the received word r(X) by the generator polynomial. The syndrome indicates whether the received word is a valid

Uploaded by

Prashant Pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Design and Implementation of FPGA Based Cyclic Code

This document discusses the design and implementation of an FPGA-based cyclic code encoder/decoder. It defines cyclic codes as linear codes where any cyclic shift of a codeword is also a codeword. It describes how a (n,k) cyclic code can be generated by a polynomial g(x) of degree n-k that is a factor of xn - 1, called the generator polynomial. The encoding procedure multiplies the message polynomial by Xn-k and divides the result by the generator polynomial to obtain the remainder b(X), which is the codeword. Decoding finds the syndrome polynomial by dividing the received word r(X) by the generator polynomial. The syndrome indicates whether the received word is a valid

Uploaded by

Prashant Pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

DESIGN AND IMPLEMENTATION OF FPGA

BASED CYCLIC CODE ENCODER/DECODER

Presented by:-
Prashant Pathak(P18VL009)
Gyaneshwar P. Rathore(P18VL013)
Definition
An (n,k) linear code C is cyclic if every cyclic shift
of a codeword in C is also a codeword in C.
A (n,k) cyclic code can be generated by a
polynomial g(x) which has
– degree n-k and
– is a factor of xn - 1.

 Call it the generator polynomial.


Cyclic Code
Encoding Procedure:
Let u(x) is message polynomial and g(x) is generator
polynomial
1. Multiply u(X) by Xn-k
2. Divide Xn-k u(X) by g(X), obtaining the remainder b(X).
3. Add b(X) to Xn-k u(X), obtaining c(X) in systematic form.

Where,
b(X) = Rem[Xn-k u(X)/g(X)]
Decoding procedure

 Received word: r(X) = r0 + r1X +….+ rn-1Xn-1


 If r(X) is a correct codeword, it is divisible by g(X). Otherwise:
 r(X) = q(X)g(X) + s(X).
 s(X) = Rem[r(X)/g(X)]
 s(X) is called the syndrome polynomial.
Relevance

Cyclic codes are error-correcting codes that have algebraic properties


that are convenient for efficient error detection and correction

Cyclic code is mainly used in data communication, data storage,


magnetic and optical storage(CD)
Block Diagram
Feasibility on Basys 3

Basys 3 has 16 switches and 16 LEDs


which can be utilized for this project.
Test Plan

The input port can be mapped to available switches on the


board.

On and off state of switch will represent logic 1 and logic 0
respectively.

The output port can be mapped to LEDs


Encoder circuit
Syndrome calculator
Information Coding scheme of code rate Information
rate(Rb) k/n rate=RB * k/n
APPLICATION

IEEE802.11a (WLAN) operates in the 5 GHz band with a maximum net data rate
of 54 Mbit/s, plus error correction code, which yields realistic net achievable
throughput in the mid-20 Mbit/s.

Error control codes can be used in physical layer of protocol for


secure communication
THANK YOU

You might also like