This is only for 7 4 Hamming (7 output bits, 4 user bits, 3 parity bits)
Systematic Hamming is used (parity bits are placed at the end indexes) ie the 3 parity bits are placed on index 4,5,6 on a 4 user bit signal
This project was executed using Emacs in a Ubuntu 20.04 Virtual Machine (Dual boot using USB previously)
In Emacs, the files can be executed using F5. During the first run, F5 might be undefined. This is because the .emacs directory is in the root instead of $home.
The steps to configure this:
- sudo cp ~root/.emacs ~/
- ls -la .emacs
- sudo chown (user):(group) .emacs (eg sudo chown ubuntu:ubuntu .emacs)
- sudo apt-get install -y make
- sudo apt install build-essential