Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Aptitude
  • Engineering Mathematics
  • Discrete Mathematics
  • Operating System
  • DBMS
  • Computer Networks
  • Digital Logic and Design
  • C Programming
  • Data Structures
  • Algorithms
  • Theory of Computation
  • Compiler Design
  • Computer Org and Architecture
Open In App
Next Article:
SR Flip Flop
Next article icon

SR Flip Flop

Last Updated : 28 Dec, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

In this article, we will go through SR Flip Flop, we will start our article with the definition and construction of the flip-flip, and then we will go through its Basic Block Diagram with its working and characteristic block diagram, at last, we will conclude our article with its applications.

Table of Content

  • SR Flip Flop
  • Construction
  • Basic Block Diagram
  • Working
  • Truth Table
  • Function Table
  • Characteristic Equation
  • Applications

What is SR Flip Flop?

It is a Flip Flop with two inputs, one is S and the other is R. S here stands for Set and R here stands for Reset. Set basically indicates set the flip flop which means output 1 and reset indicates resetting the flip flop which means output 0. Here, a clock pulse is supplied to operate this flip-flop, hence it is a clocked flip-flop.

What is Flip Flop?

Flip-Flop is a term that comes under digital electronics, and it is an electronic component that is used to store one single bit of information.

Diagrammatic Representation of Flip Flop
Diagrammatic Representation of Flip Flop

Since Flip Flop is a sequential circuit so its input is based upon two parameters, one is the current input and other is the output from previous state. It has two outputs, both are complement of each other. It may be in one of two stable states, either 0 or 1.

Prerequisite: Introduction of Sequential Circuits

Construction of SR Flip Flop

We can construct SR flip flop with two ways, one is with 2 NOR Gates + 2 AND Gates and other is with 4 NAND Gates.

Construction of SR Flip Flop
Ways to Construct SR Flip Flop

SR Flip Flop Construction using 2 NOR + 2 AND Gates:

SR Filp Flop
SR Flip Fop using two NOR and two AND Gates

SR Flip Flop Construction using 4 NAND Gates

SR Flip Flop using NAND gate
SR Flip Flop using NAND Gate


Basic Block Diagram of SR Flip Flop

The basic block diagram contains S and R inputs, and between them is clock pulse, Q and Q' is the complemented outputs.

SR Flip Flop basic Block diagram
SR Flip Flop basic Block diagram

Working of SR Flip Flop

  • Case 1 : Let's say, S=0 and R=0 , then output of both AND gates will be 0 and the value of Q and Q' will be same as their previous value, i.e, Hold state.
  • Case 2 : Let's say, S=0 and R=1 , then output of both AND gates will be 1 and 0, correspondingly the value of Q will be 0 as one of input is 1 and it is a NOR gate so it will ultimately gives 0, hence Q gets 0 value, similarly Q' will be 1.
  • Case 3 : Let's say, S=1 and R=0 , then output of both AND gates will be 0 and 1, correspondingly the value of Q' will be 0 as one of input to NOR gate is 1, so output will be 0 ultimately and this 0 value will go as input to upper NOR gate, and hence Q will become 1.
  • Case 4 : Let's say, S=1 and R=1 , then output of both AND gates will be 1 and 1 which is invalid, as the outputs should be complement of each other.

Truth Table of SR Flip Flop

Given Below is the Truth Table of SR Flip Flop

Truth Table of SR Flip Flop

Here, S is the Set input, R is the reset input,Qn+1 is the next state and State tells in which state it enters

Function Table of SR Flip Flop

Given Below is the Function Table of SR Flip Flop

Function Table of SR Flip Flop

Here, S is the Set input, R is the reset input, Qn is the current state input and Qn+1 is the next state outputs.

Characteristic Equation

  • The characteristic equation tells us about what will be the next state of flip flop in terms of present state.
  • In order to get the characteristic equation, K-Map is constructed which will be shown as below:
Characteristic Equation
  • If we solve the above K-Map then the characteristic equation will be Qn+1 = S + QnR’


Excitation Table

  • Excitation Table basically tells about the excitation which is required by flip flop to go from current state to next state.
Excitation Table
  • Here, Qn is the current state, Qn+1 is the next state outputs and S , R are the set and reset inputs respectively.


Applications of SR Flip Flop

There are numerous applications of SR Flip Flop in Digital System, which are listed below:

  • Register : SR Flip Flop used to create register. Designer can create any size of register by combining SR Flip Flops.
  • Counters : SR Flip Flops used in counters . Counters counts the number of events that occurs in a digital system.
  • Memory : SR Flip Flops used to create memory which are used to store data, when the power is turned off.
  • Synchronous System : SR Flip Flop are used in synchronous system which are used to synchronize the operation of different component.

Conclusion

In this article we start from the basics of flip flops, that what actually are flip flops and then we discussed about the SR Flip Flops, the two ways in which we can construct SR Flip Flops, it's Basic Block Diagram, Working of SR Flip Flop, it's Truth table, Characteristic table, Characteristic equation as well as  Excitation table and in the end we discussed the Applications of SR Flip Flops.


Next Article
SR Flip Flop

R

rajatrabym2
Improve
Article Tags :
  • GATE CS
  • Digital Logic

Similar Reads

    D Flip Flop
    Prerequisite : Introduction to Sequential CircuitFlip Flop is an electronic device or to be precise a kind of memory component that can hold one bit of data. A flip flop has two states, that is "SET" and "RESET". Those states are represented with the binary values 0 and 1. The flip flop remains in i
    5 min read
    What is JK Flip-Flop ?
    In Digital Electronic flip-flops are widely used for handling binary information. These fundamental building blocks are used to store and manipulate information as per our needs. From the Flipflop family, Jack Kilby flip-flop(JK Flipflop) is versatile and can be used as a basic memory element. It ca
    7 min read
    JK Flip Flop and SR Flip Flop
    Flip Flop is popularly known as the basic digital memory circuit. It has two states as logic 1(High) and logic 0(low) states. A flip flop is a sequential circuit which consists of a single binary state of information or data. The digital circuit is a flip flop which has two outputs and are of opposi
    7 min read
    Applications of Flip Flop
    Digital electronics is a very important branch of engineering used for circuit design and data storage. Flip Flops are an important part of digital electronics and are widely used for different purposes. In this article, we will study what are flip flops and the principles used in the working of fli
    10 min read
    Conversion of S-R Flip-Flop into D Flip-Flop
    Prerequisite - Flip-flop1. S-R Flip-Flop : S-R flip-flop is similar to S-R latch expect clock signal and two AND gates. The circuit responds to the positive edge of clock pulse to the inputs S and R. 2. D Flip-Flop : D Flip-Flop is a modified SR flip-flop which has an additional inverter. It prevent
    1 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences