Logic gates and truth table problems

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
14 replies · 2K views
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   Reactions: 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?
 
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   Reactions: 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
 
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.
 
I would say the "final" truth table should include only A, B, and C.
 
  • Like
Likes   Reactions: moenste
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.
 
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   Reactions: moenste