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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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.