Analysis and Design of Digital Electronics using Sum of Products Method