HW3
HW3
Term I – 2024
Student 1’s Name: Lê Tuyết Nhung Student 1’s ID ITITWE22130
Student 2’s Name: Trần Khánh Duy Student 2’s ID ITITWE22132
Student 3’s Name: Trần Võ Thế Vinh Student 3’s ID ITITWE22124
1. The waveforms shown in the following Figure are to be applied to negative-edge-triggered J-K
FF:
Draw the Q waveform response for each of this FF, assuming that Q = 0 initially.
2. In the following circuit, inputs A, B, and C are all initially LOW. Output Y is supposed to go
HIGH only when A, B, and C go HIGH in a certain sequence.
a) Determine the sequence that will make Y go HIGH.
b) Explain why the START pulse is needed.
c) Modify this circuit to use D FFs.
a. When k = 0, Y should be 1
Y can go HIGH only when C goes HIGH while X is already HIGH. X can go
HIGH only if B goes HIGH while A is HIGH. Thus, the correct sequence that
makes Y go HIGH is A, B, C.
b. The start pulse is reset the flops before working on them.
c. We know Qn+1 = JQ’ + K’Q here K = 0
= JQ’ + 0’Q = JQ’ + Q = ( Q+Q’)(Q+J) = J + Q
1101 0100
1100 0011
1011 0100
1010 0101
1001 0110
1000 0111
6. Complete the timing diagram in the following figure for a 74ALS161 with the indicated input
waveforms applied. Assume the initial state is 0000.
7. Complete the timing diagram in the following figure for a 74ALS190 with the indicated
input waveforms applied. The DCBA input is 0101
8. Refer to the IC counter circuit in the following figure:
10. Analyze the synchronous counter in the following figure. Draw its timing diagram and determine
the counter’s modulus.
11. Design a synchronous counter:
a) Design a synchronous counter using J-K FFs that has the following sequence: 000,
010, 101, 110, and repeat. The undesired (unused) states 001, 011, 100, and 111 must
always go to 000 on the next clock pulse.
b) Redesign the counter of part (a) without any requirement on the unused states; that is,
their NEXT states can be don’t cares. Compare with the design from (a).
12. Draw a schematic to create a recycling, MOD-5 counter that produces the count sequence:
a) 1, 2, 4, 5, 6, and repeats with a 74ALS162
b) 5, 4, 2, 1, 0, and repeats with a 74ALS190
13. Design a MOD-100, BCD counter using either two 74HC160 or two 74HC162 chips and any
necessary gates. The IC counter chips are to be synchronously cascaded together to produce the
BCD count sequence for 0 to 99. The MOD-100 is to have two control inputs, an active-HIGH
count enable (EN) and an active-HIGH, synchronous load (LD). Label the counter outputs Q0,
Q1, Q2, etc., with Q0 = LSB. Which set of outputs represents the 10s digit?