Question

In the figure below we depict an unusual little device that we'll call a (N)AND gate. It takes two inputs A and B and a control input labelled CTRL, while producing one output labelled OUT.If the CTRL input is 0, the device works like an AND gate. If the CTRL input is 1, the device works like a NAND gate.

1. Create a truth table for the (N)AND device. 2. Write down an unsimplified disjunctive normal form (DNF) expression and explain why a conjunctive normal form (CNF) expression would have the same number of clauses. (You may use C for the control input.) draw the circuit using the canonical format shown in class.

Question image 1Question image 2Question image 3Question image 4Question image 5