Digital Logic Design Lab 7
Digital Logic Design Lab 7
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Lab 7
Counter ICs
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
I. Objectives
In this laboratory, students will study:
- Understand the operation of Counter of IC
- Use a Counter of IC and design/implement a circuit.
II. Procedure
1. Design and implement a synchronous counter by the given state diagram
Design and implement a synchronous 3-bit counter shown in the given diagram as
shown in Figure 1 using D Flip Flops
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Implement the circuit via simulation software and paste the result in here
Figure 2. IC 74XX90
Table 1. Truth table for 74XX90
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Implement the circuit (Figure 2) via simulation software and paste the result in here
Make comment on the results: The decade counter 74XX90 counts BCD numbers,
which counts from 0 to 9. The MS1 and MS2 are two modes, which set the IC started to
count. The MR1 and MR2 are two modes, which reset the IC to 0. CP0 and CP1 are two
clock pulses, which are active-low inputs.
b. Adjust the circuit to make a MOD-7 counter (counting from 0 to 6)
Implement the circuit via simulation software and paste the result in here
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Make comment on the results (show the way to implement): This is a MOD – 7 –
counter, which counts from 0 to 6 and reset to 0 when it reaches 7. We use an AND gate
to detect the count of 7. When Q0, Q1, and Q2 are 1, and Q3 is 0, the AND gate will
output a high signal, which will reset the counter to 0 when it reaches 7.
3. Decade counter 74HC390
a. Investigate Dual 4-Bit Decade Counter
▪ IC 74HC390 includes 2 decimal counters
▪ Ra, Rb: Clear (high level active)
▪ QA, QB, QC and QD: outputs of the MOD-10 counter
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Implement the circuit via simulation software and paste the result in here
Based on the circuit in the simulation software, fill in and answer the following table
and question.
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
R PL UP DOWN FUNCTION
0 1 CLK 1 Count up when clock pulses
0 1 1 CLK Count down when clock pules
0 1→0 X X Load the value from D0 – D3
0→1 1 X X Reset the counter
0 1 1 1 Counter stops
What is the function of TCu and TCd?
− TCu (Terminal Count up): This output goes high when the counter reaches its
maximum count and then wraps around to 0. It indicates that an overflow has occurred
while counting up.
− TCd (Terminal Count down): This output goes high when the counter reaches 0 and
then wraps around to its maximum count. It indicates that an underflow has occurred
while counting down.