Project 3: Now
to create an AND gate without looking at the schematic to help me along. Trying
to make the AND gate with 3 NAND gates. It did not work let’s see if I can use
real logic to solve it. If A=B then the output=A=B else output = 0 or out = 1
if {a==1 and b==1}, 0 otherwise.
A
|
B
|
OUT
|
0
|
0
|
0
|
1
|
0
|
0
|
0
|
1
|
0
|
1
|
1
|
1
|
A
|
B
|
OUT
|
0
|
0
|
1
|
1
|
0
|
1
|
0
|
1
|
1
|
1
|
1
|
0
|
Make a truth
table
For the AND
gate
And truth table
for NAND
gate
Looks like
we just flip the output of the NAND gate to get an AND gate. After creating the
truth table and writing out the inputs and outputs of the NAND gate I figured
it out.
Using the truth tables is what helped me too work along building the gates.
ReplyDeleteHint: You can use a previous gate to build your current gate. So you can actually use a NAND and the NOT gate to build your AND gate.