Experiment 8 - Sequential Logic Circuits - Part 1
Experiment 8 - Sequential Logic Circuits - Part 1
Eman Karim
Objective:
Theory:
Unlike Combinational Logic Circuits that change state depending upon the actual
signals being applied to their inputs at that time, Sequential Logic Circuits are a form
Flip-Flops
A flip-flop is an electronic circuit that can be used to store binary data. The stored
data can be changed by applying varying inputs. Flip-flops are fundamental building
other types of systems. Flip-flops are used as data storage elements in sequential logic
J-K Flip-Flop
The J-K flip-flop is an improvement on the S-R flip-flop where S=R=1 is not a problem.
If J and K data input are different (i.e. high and low) then the output takes the value of
J at the next clock edge. If J and K are both low then no change occurs. If J and K are
both high at the clock edge then the output will toggle from one state to the other.
1
Second Year – 2nd Semester Digital Systems Design Lab. Assist. Lect. Eman Karim
Synchronous Counters
Synchronous Counters are so called because the clock input of all the individual flip-
flops within the counter are all clocked together at the same time by the same clock
signal.
2
Second Year – 2nd Semester Digital Systems Design Lab. Assist. Lect. Eman Karim
Procedure:
Lab8a: Create (Lab8a) project to run the VHDL file using Quartus Prime Lite of
J-K Flip-Flop. Show the RTL Simulation.
3
Second Year – 2nd Semester Digital Systems Design Lab. Assist. Lect. Eman Karim
Lab8b: Create (Lab8b) project to run the VHDL file using Quartus Prime Lite of
3-bit synchronous up counter. Show the RTL Simulation.
4
Second Year – 2nd Semester Digital Systems Design Lab. Assist. Lect. Eman Karim
5
Second Year – 2nd Semester Digital Systems Design Lab. Assist. Lect. Eman Karim
Lab8c: Create (Lab8c) project to run the VHDL file using Quartus Prime Lite of
Ring Counter. Show the RTL Simulation.