Source: https://jecassam.ac.in/wp-content/uploads/2018/10/5Digital-Signal-Logic-Design-Lab_.pdf