View Code? Open in Web Editor
NEW
Variable Length Hamming Code Encoder & Error Detecting / Correcting Decoder (Odd & Even Parity), implemented in C++
License: BSD 3-Clause "New" or "Revised" License
project1_hammingcode's Introduction
![License: BSD-3-Clause](https://camo.githubusercontent.com/d0aeb18b59190ff40e34d2a8542aa3d18a2d1a3907c22fb01131f3b16a9e5457/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4253445f332d2d436c617573652d626c75652e7376673f7374796c653d666f722d7468652d6261646765)
![](https://camo.githubusercontent.com/2228e6f245765c24d86de6fe7b36c253b7d22a598fbb0167732fc3b0966c3ae1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f446565707468695461626974686142656e6e65742f50726f6a656374315f48616d6d696e67436f64653f636f6c6f723d626c7565267374796c653d666f722d7468652d6261646765)
Project1_HammingCode - Hamming Encoder and Decoder
![image](https://user-images.githubusercontent.com/71541429/128601631-85bc3b18-0cd5-4f91-b5bc-c656f359e9bb.jpeg)
- 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! ๐