Source: https://www.classe.cornell.edu/~ib38/teaching/p360/lectures/wk09/l26/digital_logic_families_lecture/logic_families_lecture.pdf