In: Electrical Engineering
design a logic circuit that counts the number of 1s in 12 inputs(a0...a11) and outputs a 4-bit binary that represents the count of 1s. for example, if input is 111111111111 which has 12 1s, then output should be 1100
note :Do not use clocking. draw logic diagram.