Logic gates and truth table problems

AI Thread Summary
The discussion focuses on solving a logic gate problem involving a truth table for a circuit with inputs A and B. Participants clarify the correct format for the truth table, emphasizing that it should include all combinations of A and B values. The outputs for various gates are analyzed, leading to the conclusion that the output resembles that of an EXOR gate. The final truth table should consist of two columns for inputs A and B, and one column for the output C. The conversation highlights the importance of accurately representing binary values in logic gate problems.
moenste
Messages
711
Reaction score
12

Homework Statement


c169c8f91af3.jpg
2. The attempt at a solution
Circuit:
91e7e7e803e9.jpg


A B G D E F C
0 0 1 1 1 1 0
1 1 0 1 0 1 0
0 0 1 1 1 1 0
1 1 0 1 0 1 0Answer:
4a4a394bc57f.jpg


Is (a) right? And any ideas what could be (b)?
 
Physics news on Phys.org
Your A and B columns should show all possible values {00, 01, 10, 11}

The output of the D NAND gate is: A' NAND B = (A' & B)' = D

and the F NAND gate is: A NAND B' = (A & B')'
 
  • Like
Likes moenste
jedishrfu said:
Your A and B columns should show all possible values {00, 01, 10, 11}

The output of the D NAND gate is: A' NAND B = (A' & B)' = D

and the F NAND gate is: A NAND B' = (A & B')'
You mean I should have four columns?

A1 0101
A2 1010
B1 0101
B2 1010

Like this?
 
No, you still have an A and a B column:

Code:
A   B
--  --
0   0
0   1
1   0
1   1
 
  • Like
Likes moenste
jedishrfu said:
No, you still have an A and a B column:

Code:
A   B
--  --
0   0
0   1
1   0
1   1
But how did you derive these numbers? My original 0101 in A and B I got from the inverter table. But I don't see how to get the ones you mention.
 
Your A and B inputs can be any binary value so since you have two inputs you have a possibility of 4 input values to the circuit as shown in the table above.
 
  • Like
Likes moenste
jedishrfu said:
Your A and B inputs can be any binary value so since you have two inputs you have a possibility of 4 input values to the circuit as shown in the table above.
I get it now.

So:
Code:
A   B   G   D   E   F   C

0   0   1   1   1   1   0
0   1   1   0   0   1   1
1   0   0   1   1   0   1
1   1   0   1   0   1   0
 
That's what I got too. The circuit diagram has a symmetry about it which is seen in the truth table.
 
  • Like
Likes moenste
jedishrfu said:
That's what I got too. The circuit diagram has a symmetry about it which is seen in the truth table.
But what could be said about (b)? No idea about it.
 
  • #10
Look at the A and B inputs and then the C output doesn't that look like some gate you're familiar with?
 
  • Like
Likes moenste
  • #11
I would say the "final" truth table should include only A, B, and C.
 
  • Like
Likes moenste
  • #12
jedishrfu said:
Look at the A and B inputs and then the C output doesn't that look like some gate you're familiar with?
AND has 0001 at output
OR 0111
NOR 1000
NAND 1110
Inverter 10

And I have at output 0110. The input is the same for this circuit and for AND, OR, NOR and NAND.
 
  • #15
The truth table for this problem should have three columns - two for A and B inputs, and one for the result C.
 
Last edited by a moderator:
  • Like
Likes moenste

Similar threads

Replies
14
Views
5K
Replies
1
Views
2K
Replies
14
Views
5K
Replies
10
Views
3K
Replies
7
Views
8K
Replies
10
Views
5K
Replies
11
Views
2K
Back
Top