2-input AND gate implementation using 2:1 mux: Figure 1 below shows the truth table of a 2-input AND gate. If we observe carefully, OUT equals '0' when A is '0'. And OUT follows B when A is '1'. So, if we connect A to the select pin of a 2:1 mux, AND gate will be implemented if we connect D0 to '0' and D1 to 'B'.
Figure 1: Truth table of AND gate |
Figure 2: Implementation of AND gate using a 2:1 mux |
No comments:
Post a Comment
Thanks for your valuable inputs/feedbacks. :-)