Hello everyone, I am stuck on this problem:
"A majority circuit is a combinational circuit whose output is equal to 1 if the input variables have more 1s than 0s. The output is 0 otherwise. Design a 6-input majority circuit."
So each minterm in the resulting expression must have at least 4 zeros. I thought the best way of implementing it was to add up all of the digits and get a 3 bit binary number as the result. Then you can simply check if the most significant bit is a 1 to see if the result is greater than 4. However, when I try linking together adders it just seems to turn into a big incomprehensible mess and doesn't work.
The obvious way is to generate a massive truth table and find the function but that also turns into a mess. Does anyone know of a better way?
"A majority circuit is a combinational circuit whose output is equal to 1 if the input variables have more 1s than 0s. The output is 0 otherwise. Design a 6-input majority circuit."
So each minterm in the resulting expression must have at least 4 zeros. I thought the best way of implementing it was to add up all of the digits and get a 3 bit binary number as the result. Then you can simply check if the most significant bit is a 1 to see if the result is greater than 4. However, when I try linking together adders it just seems to turn into a big incomprehensible mess and doesn't work.
The obvious way is to generate a massive truth table and find the function but that also turns into a mess. Does anyone know of a better way?