Virtual Lab
RS, and JK flip-flops using NAND &
NOR gates
Name of Student
Class
Roll No.
D.O.P.
D.O.S.
Grade
Lab Incharge Dr. Mrs. Ashwini Sawant
Sign
Verify the truth table of RS, and JK flip-flops
using NAND & NOR gates
AIM
To verify the truth table and timing diagram of RS, and JK flip-flops by using
NAND & NOR gates ICs and analyse the circuit of RS, and JK flip-flops with
the help of LEDs display.
Introduction
A flip flop is an electronic circuit with two stable states that can be used to store
binary data. The stored data can be changed by applying varying inputs.
Flip-flops and latches are fundamental building blocks of digital electronics
systems used in computers, communications, and many other types of systems.
1. R-S flip flop
2. J-K flip flop
1) RS flip flop
The basic NAND gate RS flip flop circuit is used to store the data and thus
provides feedback from both of its outputs again back to its inputs. The RS flip
flop actually has three inputs, SET, RESET and clock pulse.
Figure-1:R-S flip flop circuit diagram
Figure-2:Characteristics table of R-S flip flop
2) J-K flip flop
In a RS flip-flop the input R=S=1 leads to an indeterminate output. The RS
flip-flop circuit may be re-joined if both inputs are 1 than also the outputs are
complement of each other as shown in characteristics table below.
Figure-3:Circuit diagram of J-K flip flop
Figure-4:Characteristics table of J-K flip flop
Simulation:
1] R-S Flip Flop
2] J-K Flip Flop
Applications of SR Flip-Flop
The SR (Set-Reset) flip-flop is one of the simplest types of flip-flops and has
specific use cases. Its applications include:
1. Basic Memory Storage:
0 It can store a single bit of data, making it useful in memory
devices.
2. Latching Circuits:
0 Used as a latch to hold a value in control systems, such as keeping
a signal ON or OFF until reset.
3. Switch Debouncing:
0 Commonly used in circuits to eliminate mechanical noise or
glitches from a switch press.
4. Enable/Disable Circuits:
0 Can control the activation or deactivation of devices by storing the
state.
5. Simple Sequential Logic:
0 Used in basic sequential circuits where only two states (SET and
RESET) are needed.
Applications of JK Flip-Flop
The JK flip-flop is a more versatile and widely used flip-flop due to its ability
to toggle and overcome the indeterminate state problem of the SR flip-flop.
Applications include:
1. Counters:
○ Used in binary counters (e.g., up, down, or modulo counters) due to
its toggle behavior.
2. Frequency Division:
○ Divides input frequency by 2, often used in digital clocks or signal
processing.
3. Shift Registers:
○ Acts as a building block for shift registers that store and shift data
bits in serial or parallel formats.
4. State Machines:
○ Essential in the design of sequential logic systems like finite state
machines for control applications.
5. Digital Control Systems:
○ Used to design control systems requiring feedback or toggling
operations.
6. Memory Elements:
0 Forms the foundation of memory devices like flip-flop-based
storage cells.
7. Toggle Flip-Flop:
0 Acts as a T flip-flop when J and K inputs are tied together, which is
useful for toggle-based operations.
Both types of flip-flops are fundamental components in digital electronics and
find applications in various systems ranging from small-scale embedded circuits
to large-scale digital designs.