Lab 6
Lab 6
HCM
Faculty of Computer Science & Engineering
LABORATORY MANUAL
Digital Systems
Experiment 6 (Lab exam)
Questions:
(Answer in your report)
1. What is the SOP form of F?
2. When one is young, they have health and leisurely time,
but no money. When one is an adult, they have money
and health, but no free time. When one is old, they
have leisurely time and money, but no health.
Then for L(H, T, M), what minterms are the
equivalence of being young, being an adult, and
being old, respectively?
3. According to the piece of wisdom, then what is life not
like? (In other words, what’s L(H, T, M)?) Give your
answer in POS form.
Grading:
- Your preparation report (maximum 1 mark).
- Correctly implementing F (0.5 marks).
- Correctly implementing L(H, T, M) (0.5 marks).
- (Bonus) Your design and implementation of F uses only 2
one- or two- input logic gate ICs of any kinds that are
available in the lab (0.5 marks).
Answer:
1.
Minimized expression:
F=( AB+C) .( A+ B+C )
F=( A . B+C). A . B . C
F=( A . B+C). A . B . C
F= A . B+C + A . B . C
F= A . B+C + A . B
Karnaugh map:
Grading:
- Your preparation report (maximum 3 marks).
- Your implementation can count up and down through
2 whole cycles each (0.25 marks if only up or down,
0.75 marks for both).
- The modulus of your implementation (0.25 marks
for MOD-4, 0.75 marks for MOD-16).
-Your implementation is asynchronously cleared when
KEY_0 is pressed (0.25 marks) and stays at 00002 when
the button is held down (0.5 marks).
- Your implementation can hold the current count when
KEY_1 is held down (0.25 marks) and resume counting
when KEY_1 is released (0.25 marks). Clearing the
counter should also work while KEY_1 is held down
(0.25 marks).
Design:
Stimulate:
0 0 0 0 1 0 0 0
0 0 0 1 0 1 1 1
0 0 1 0 0 0 1 1
0 0 1 1 1 0 0 0
0 1 0 x x x x x
0 1 1 0 0 1 1 1
0 1 1 1 1 1 0 0
1 0 0 0 1 1 0 0
1 0 0 1 1 1 1 1
1 0 1 x x x x x
1 1 0 0 0 0 0 0
1 1 0 1 0 0 1 1
1 1 1 0 1 1 1 1
1 1 1 1 0 0 0 0
2. Give explanations and reasonings for your design of this
FSM (0.5 marks).
+¿ ¿ +¿=S0 . I+ S0 . I ¿
S0 S0
O O=S 0 . I + S 0 . I