ECE - logic circuit for a 4 bit input which counts 1s in input

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
physstudent1
Messages
267
Reaction score
1

Homework Statement



Using basic gates and/or building blocks, design a logic circuit that takes in a 4 bit input and will compute the number of 1s in the input.

Homework Equations





The Attempt at a Solution



I have no idea where to start can anyone help please.
 
Physics news on Phys.org
Maybe a good place to start is to enumerate your basic building blocks telling us what each one does... That will get you started.