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.
The Attempt at a Solution
So I know the solution in terms of algebra, which is ABC + ABD + ACD + BCD (where ABCD are the 4 input votes) and I know at the end I need two OR gates summing up to one single OR gate. Not sure how to design the beginning though.
I am also looking for a way to simplify it since I have to build the whole thing out of NAND gates only.