A Python/C++ implementation of Quine McCluskey(Tabulation) method to minimise boolean functions.
tabulation.py
: Python3 implementation of the algorithmtabulation.cpp
: C++ implementation of the algorithmpla.py
: solves aprogrammable logic array
. It uses tabulation to find possible solutions of n provided functions and then calculates the least combination that solves all functions.
The C++ implementaion is more readable and slightly more optimized.
- The Quine McCluskey algorithm reference is here
- Once the prime implicants are obtained, I have used Petrick Method for minimisation.
- Python3:
- C++: