1) Using only inverter, AND & OR gates, design an XOR gate.
2) Using NAND, AND OR, &/or NOR gates build a vote counting machine. It should light an LED when majority votes are true (or answer "yes"). Assume 4 input votes only.
For #2 I was thinking of two OR gates with 4 inputs in total and summing up to an AND gate, but that only shows me whether the "yes" votes were 2 or less.
2) Using NAND, AND OR, &/or NOR gates build a vote counting machine. It should light an LED when majority votes are true (or answer "yes"). Assume 4 input votes only.
For #2 I was thinking of two OR gates with 4 inputs in total and summing up to an AND gate, but that only shows me whether the "yes" votes were 2 or less.