Lab 4
Lab 4
🙞···☼···🙜
LAB 4 REPORT
CLASS CC04 – GROUP 7
SUBJECT:
DIGITAL SYSTEM
Instructor: Nguyễn Thiên Ân
Student’s name Student’s ID
Vũ Đức Việt Anh 2352074
Nguyễn Hoài Nam 2352776
Nguyễn Đỗ Khánh Trình 2353237
Phạm Minh Hiếu 2352334
1. Check list :
Before class:
Number To-do Content Check
1. The area of the Lab is clear and empty
2. The KIT was self-test and there are no
problems
3. Inputs and outputs work normally
4. Measure the DC Voltage of VCC of KIT = 5V
After class:
Number To-do Content Check
1. All wires are unplugged and sorted
2. All ICs are released before being put out of
breadboard
3. All ICs are sorted and put into their boxes (of types)
4. Clean up and return the KIT
5. Clean up and return VOM
6. Clean up the work area
2.3 Exercises
2.3.1 Design and simulate a Full Adder built from Half Adders in
Logisim.
Half table:
INPUTS OUTPUTS
A B SUM CARRY
0 0 0 0
1 0 1 0
0 1 1 0
1 1 0 1
Full table:
INPUTS OUTPUTS
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
From the truth table above, the logic of the full adder can be implemented. We
can observe that the output S (SUM) is the result of an XOR operation between
input CIN (carry-in) and the output SUM of the half adder, combined with input
A and B.
Note: COUT (carry-out) will only be high (1) if at least two inputs among the
three inputs is high. This implies the presence of a carry from the previous
addition.
D C B A Z (CLR) Status
0 0 0 0 1 0
0 0 0 1 1 1
0 0 1 0 1 2
0 0 1 1 1 3
0 1 0 0 1 4
0 1 0 1 1 5
0 1 1 0 1 6
0 1 1 1 1 7
1 0 0 0 1 8
1 0 0 1 1 9
1 0 1 0 0 Return to 0
1 0 1 1 x Optional
1 1 0 0 x Optional
1 1 0 1 x Optional
1 1 1 0 x Optional
1 1 1 1 x Optional
Note: QD, QB, QC, QA are the output Q of the corresponding flip-flops
for the D C B A bits (with D being the MSB, and A being the LSB).
Then, we use K-map to simplify the expression:
DC/BA 00 01 11 10
00 1 1 1 1
01 1 1 1 1
10 1 1 X=0 0
After simplification, the logic expression going into the CLR pins is Z =
D’ + B’ = (BD)’.
2. Asynchronous Counter:
- Asynchronous counters, or ripple counters, operate with each
flip-flop being clocked by the output of the previous flip-flop.
- Clock signals ripple through the stages, and each flip-flop is
triggered by the changing output of the previous stage.
- Asynchronous counters are simpler in design but can be slower
and less predictable due to cumulative propagation delays.