Source: https://www.technologuepro.com/cours-systemes-logiques-1-4/chapitre-3-circuits-logiques-combinatoires.pdf