Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Complement Circuit
Jason Crews
249892606
MW 11:40
CSE 120
2.2 Test the Sum and CRY of the 1-bit half adder using the LED’s
2.2.1 Task Statement
Use the led display on the board to test every possible combination of A
and B to determine if the functions are working correctly.
1
D.J. Tylavvski, Digital Design for the labritory: Hardware and Simulation (Using LogicWorks). Version 3. 3rd
Edition. Centerpoint Publishing, Tempe, AZ 2001
2
Ibid
3
Ibid
4
Ibid
5
Ibid
6
Ibid
2.2.2.1 Try One
Try one resulted in the outputs seen in Table 2. As it shows, all
outputs for SUM were 0’s. From this we started tracing all A inputs. This led us to
discover one gate had an A and a B connecting to the same pin in one of the AND
gates and nothing in the other. This was corrected by moving the incorrect wire to the
empty pin.
2.2.2.2 Try 2
A B SUM CRY
0 0 0 0
0 1 1 0
1 0 1 0
1 1 1 1
Table 4.
1. SUM
2.
3. Properand
SUMCRY
andoutputs
CRY outputs
for try two.
one.
for all combinations of A and B.
Once we discovered what we thought was causing the problem we
tested the outputs again using the same method as Try One.
This resulted in the outputs seen in Table 3. It shows, again, that
all outputs for SUM were 0’s. Again we began by tracing all A inputs. This did not
allow us to find and errors in the circuit. Next, we traded all the B inputs, and we
found no errors. How
A B
A B SUM CRYSUM CRY ever we bumped the
A
00 00 B SUM
00 CRY
00 wire that connects the
00 101 100 00 SUM output the LED
101 010 100 00 and the light for SUM
11 101 100 100 turned on
1 1 0 1
2.2.2.3 Try 3
Once we had tightly secured the wire we retried the tested received
the results in Table 4, which are the expected results.
LED (CRY)
p1 3
p1 2
p1 1
p1 0
p9
p8
74F86
p2
p3
p4
p5
p6
p7
A
Ci n
p1 3
p1 2
p1 1
p1 0
p1 3
p1 2
p1 1
p1 0
p9
p8
p9
p8
74F08 74F32
p2
p3
p4
p5
p6
p7
p3
p5
p6
p2
p4
p7
Figure 1. Implementation using chips described in the lab manual. (Power and Ground not shown)
Once the circuit was completed, the power and ground was connected to each
chip, and the functions were tested with all combinations of A, B, and Cin, and the output
(Table 6) compared to ideal results (Table 5) for a Full Adder. This proved that our
circuit was working correctly on our first try.
7
D.J. Tylavvski, Digital Design for the labritory: Hardware and Simulation (Using LogicWorks). Version 3. 3rd
Edition. Centerpoint Publishing, Tempe, AZ 2001
2.5.3 What I learned
I learned how to construct a logic circuit using IC’s without the aid of a diagram,
and that if you are careful while constructing the circuits then you can save a lot of time.