Designing Logic Gates for Multiple Inputs and Outputs in Homework Problems

  • Thread starter Thread starter seto6
  • Start date Start date
  • Tags Tags
    Logic Logic gates
Click For Summary
SUMMARY

The discussion focuses on designing logic gates for a circuit with three inputs (a, b, c) and three outputs (f1, f2, f3). The outputs are defined as follows: f1 is true when exactly two inputs are 1, f2 is true when exactly one input is 0, and f3 is true when all inputs are 0. The equations derived for the outputs are f1=f2=\bar{a}bc + a(b\bar{c}+\bar{b}c) and f3=\bar{a}\bar{b}\bar{c}. The importance of ordering inputs in standard binary format is also emphasized.

PREREQUISITES
  • Understanding of basic logic gate functions (AND, OR, NOT)
  • Familiarity with Boolean algebra and simplification techniques
  • Knowledge of circuit design principles for multiple inputs and outputs
  • Experience with digital logic design software (e.g., Logisim)
NEXT STEPS
  • Research Boolean algebra simplification techniques for logic circuits
  • Learn how to implement logic circuits using digital design software like Logisim
  • Explore the concept of standard binary ordering in digital circuits
  • Investigate cost-effective circuit design strategies to minimize gate usage
USEFUL FOR

Students and educators in electrical engineering, digital circuit designers, and anyone involved in logic gate design and optimization for homework or projects.

seto6
Messages
248
Reaction score
0

Homework Statement



ok there are two questions. one i was able to do so which is fairly easy, since it had only two variables and one output.

Design a circuit that has two inputs (x and y) and one output (f) that functions in the
following way: the function f is false (0) when x and y are the same, and true (1)
when they are different.

my answer:
2v1rrbb.jpg


and its fine now comes this question:

Design a circuit with three inputs (a,b, and c) and three outputs (f1, f2, and f3). The
first output (f1) should be true (1) whenever the number of 1’s in the three inputs is 2.
The second output (f2) should be true (1) whenever the number of 0’s in the three
inputs is 1. The third output (f3) should be true (1) whenever the number of 0’s in the
three inputs is 3. In all other cases, the outputs should be false (0).
Optional: using all of the gates available, can you build a cheaper implementation
(using fewer gates and/or wires)?


Homework Equations



N/A

The Attempt at a Solution



for the second question this is what i did:


2evsuq1.jpg


as you can see i am now stuck for drawing the logic gate, and stating what the function is equal.

even if three var i am ok, but it is three output.

Important question: for which do i draw logic gates for as you know for the first question i drew when f=1, so for second question, which do i draw gates for, (should i draw for any that has a one in it?)


Thank you in advance
 
Physics news on Phys.org
It's not clear what you're asking. But clearly f_1 = f_2, and it is given by

f_1=f_2=\bar{a}bc + a(b\bar{c}+\bar{b}c)

and f_3 is given by

f_3=\bar{a}\bar{b}\bar{c}.

Also, it is generally bad form to not order your inputs by standard binary ordering.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
18K
  • · Replies 14 ·
Replies
14
Views
5K
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 7 ·
Replies
7
Views
4K