DLD Lab6 Updated
DLD Lab6 Updated
DLD Lab6 Updated
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
1
Lab 5 Reviews
In the fifth Lab, you were studying:
The working principles of the DeMultiplexers 2-to-1, 4-to-1, and 8-to-1
DEMUX, with their characteristics and truth table, respectively.
Building up the DEMUX circuits using logic gates and the ICs, respectively.
Then, building circuits made up of DEMUX ICs based on the requirements .
The practice of building the above circuits using SimullDE program.
Practice building up the above circuit using Laboratory equipments.
Reminding
Submit your Lab report and simulation files for Lab 5 on Blackboard.
Late submission will be receiving penalty of 20% per day of late submission.
VIETNAM NATIONAL UNIVERSITY – HO CHI MINH CITY
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
LAB 6
FLIP FLOPS and COUNTERS
LABORATORY
Flip-flop (FF) has only two outputs, labelled and , that are inverse of each other while the
inputs can be one or more inputs. A FF has two allowed operating states: HIGH and
LOW, or 1 and 0, or SET and RESET (or CLEAR).
The inputs cause the FF to switch back and forth (“flip-flop”) between its two output
states. The SET input sets to HIGH (or 1) state; the RESET input clears to the LOW (or
0) state. 4
1b. Clock Signal and Clocked Flip-flops – Clock Signal
5
1b. Clock Signal and Clocked Flip-flops – Clocked Flip-flops
6
2a. Clocked J-K Flip-Flop
7
2a. Clocked J-K Flip-Flop - Example
8
2a. Clocked J-K Flip-Flop – PRESET and CLEAR
9
2a. Clocked J-K Flip-Flop – PRESET and CLEAR example
10
2b. Clocked D Flip-Flop
11
2b. Clocked D Flip-Flop
12
2b. Clocked D Flip-Flop
13
3. Counters
14
3a. Counters – MOD-8 asynchronous counters
15
3a. Counters – MOD-8 asynchronous down counters
16
3a. Counters with MOD number < 2^n
17
3b. Synchronous Counters
18
3b. Synchronous Counters
19
3b. Synchronous Counters
20
21
Write the excitation (trigger) input equations of all flip-flops:
J0 = …………………...............; K0 = ….……………...............
J1 = …………………...............; K1 = ….……………...............
J2 = …………………...............; K2 = ….……………............... 22
Write the excitation (trigger) input equations of all flip-flops:
J0 = …………………...............; K0 = ….……………...............
J1 = …………………...............; K1 = ….……………...............
J2 = …………………...............; K2 = ….……………...............
Present State Next State
Q2 Q1 Q0 J2 K2 J1 K1 J0 K0 Q2 Q1 Q0
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
23
000 001
010
101 011
100
111
110
24
Present State Next State
Q1 Q0 J1 K1 J0 K0 Q1 Q0
Write the excitation (trigger) input equations of all flip-flops:
J0 = …………………...............; K0 = ….……………...............
J1 = …………………...............; K1 = ….……………...............
3. Lab report
29