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

AI Thread Summary
A logic circuit is needed to count the number of 1s in a 4-bit input using basic gates. The discussion emphasizes starting with an enumeration of basic building blocks, such as AND, OR, and NOT gates, to understand their functions. Participants suggest breaking down the problem into manageable parts to facilitate the design process. The importance of understanding how to combine these gates effectively is highlighted. Overall, the focus is on constructing a circuit that accurately computes the count of 1s in the input.
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.
 

Similar threads

Replies
1
Views
2K
Replies
6
Views
19K
Replies
14
Views
5K
Replies
5
Views
4K
Replies
10
Views
5K
Replies
4
Views
5K
Replies
7
Views
2K
Replies
6
Views
2K
Replies
12
Views
2K
Back
Top