Skip to content

EL-3307. Simple Qt app for number base conversion, NZRI graphs and Hamming Code matrix analysis. #Bigotes

License

Notifications You must be signed in to change notification settings

AlejandroIbarraC/HammingNZRI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HammingNZRI ⚡️

HammingNZRI is a simple Qt graphical app for exemplifying common behaviour of some features pertaining logical circuit design concepts. The app has a simple neumorphic look with icons and raised buttons. It runs on the GUI framework Qt 5 for C++. It features two major views that showcase different topics.

Base Converter/NZRI

Takes an 4 digit number in octal form and shows the equivalent in binary and hexadecimal form. At the top there's a graphical representation of the NZRI square signal, assuming the starting value has a negative amplitude.

Hamming Code

Takes a 12 digit binary number and draws a matrix following the rules of Hamming code error correction. You can set even or odd parity with a checkbox, and then double click on the bit you want to force an error. The app will generate the corresponding matrix that represents the algorithm's way of finding the error position. For more information about Hamming code analysis refer to external online documentation, this is merely a graphical, automated way to see the process in action.

Photos 📷

Start Converter/NZRI
Hamming Code Hamming Code with error

Getting Started 🚀

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites 👓

Software you need to install to run this project:

Qt 5.14 or higher
CMake 3.15 or higher

Installing 💻

Install Qt using your preferred method. I usually just download the installer found in the official website and select the desktop version along with Qt Creator IDE. You also need to install CMake if you don't have it already to compile and run C++ programs.

Once that's set up you can run the app using Qt Creator or an IDE of your choice. Keep in mind you may need to replace the editors CMake path with the one bundled with Qt.

An example of this is Jetbrains CLion (a very cool looking C/C++ IDE that I personally really like), to run Qt apps go to

Preferences -> Build, Execution and Deployment -> CMake -> CMake Options entry

Replace content with "-DCMAKE_PREFIX_PATH=(replace with path to CMake folder in Qt installation)"

The app was developed on macOS Catalina running Qt 5.14. As Qt is a cross-platform framework, it should run relatively the same on other platforms, but your mileage may vary.

Built With 🛠

Qt5
GUI Framework for C++

Authors 👨🏻‍💻

License 📄

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments 📎

This project was made with academical purposes. J.A Ibarra. 2020

About

EL-3307. Simple Qt app for number base conversion, NZRI graphs and Hamming Code matrix analysis. #Bigotes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published