Skip to content

Variable Length Hamming Code Encoder & Error Detecting / Correcting Decoder (Odd & Even Parity), implemented in C++

License

Notifications You must be signed in to change notification settings

DeepthiTabithaBennet/Project1_HammingCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

License: BSD-3-Clause

Project1_HammingCode - Hamming Encoder and Decoder

image

Features of the Code :

  • Encodes Binary Data into Hamming Code, using a suitable number of Parity Bits in appropriate positions.
  • Variable-length Data Input Sequences can be Encoded successfully.
  • The Individual Parity Bits generated by the Encoder are also displayed.
  • The code also displays the length of the Encoded Data (Data Bits + Parity Bits)
  • Data Extraction from Hamming Encoded Sequences is also performed by this code.
  • Variable-length Transmitted Sequences can be Decoded.
  • The Received Sequence is checked for Errors.
  • If no Errors have occurred in transmission, the Decoded Binary Sequence is displayed.
  • Single Bit Errors in Received Data are Detected (if present), the Error Bit is located and displayed.
  • Received Data Sequences with Single Bit Errors are Corrected and the correct Binary Data is displayed.
  • Supports both Odd and Even Parity Encoding / Decoding.

Please leave a 🌟 before you fork / clone this repo! 😃