The Wayback Machine - https://web.archive.org/web/20240929201606/https://www.geeksforgeeks.org/d-flip-flop/
Open In App

D Flip Flop

Last Updated : 14 Jun, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Prerequisite : Introduction to Sequential Circuit

Flip 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 its current state until its receives a signal that switches it to opposite state. A clock or pulse signal may “trigger” the flip flop to change state.

D Flip Flop

D flip flop is an electronic devices that is known as “delay flip flop” or “data flip flop” which is used to store single bit of data.D flip flops are synchronous or asynchronous. The clock single required for the synchronous version of D flip flops but not for the asynchronous one.The D flip flop has two inputs, data  and clock input which controls the flip flop. when clock input is high, the data is transferred to the output of the flip flop and when the clock input is low, the output of the flip flop is held in its previous state.

 

Working of D Flip Flop

D flip flop consist of a single input D and two outputs (Q and Q’). The basic working of D Flip Flop is as follows:

  • When the clock signal is low, the flip flop holds its current state and ignores the D input.
  • When the clock signal is high, the flip flop samples and stores D input.
  • The value that was previously fed into the D input is reflected at the flip flop’s Q output.
    • If D = 0 then Q will be 0.
    • If D = 1 then Q will be 1.
  • The Q’ output of the flip flop is complemented by the Q output. 
    • If Q = 0 then Q’ will be 1.
    • If Q = 1 then Q’ will be 0.
Truth Table of D Flip Flop

Truth Table of D Flip Flop

Characteristic Table of D Flip Flop

The characteristic table of the D flip flop displays the behavior of the flip flop for each combination of input and current state. The characteristic table for a D flip flop is as follows.

Characteristics table of D Flip Flop

Characteristics table of D Flip Flop

  • D is the input, and Q is current state, Qn + 1 is the next state outputs.
  • Qn+1 will always be zero when D is 0, irrespective of current state of flip flop.
  • When the input of the flip flop is 1,  next state of  flip flop will always be 1, regardless of the current state of flip flop.

Characteristic Equation of D Flip Flop

The characteristics equation of D flip flop consist of a Boolean expression that explains the relationship between the input and output of the flip flop. The characteristic equation for a D flip flop is as follows.

Characteristics Equation of D Flip Flop

Characteristics Equation of D Flip Flop

  • Qn+1 represents the output of flip flop at the next clock cycle.
  • Dn is the input to the flip flop at the current clock cycle, and n represents the current clock cycle.
  • This characteristic equation of D flip flop states “that the output of the flip flop at the next clock cycle will be equal to the input at the current clock cycle“.

D Flip Flop Excitation Table

Her, Qn represents the current state of the flip flop, and Dn represents the current input of the flip flop. Where as Qn+1 represents the next state of the flipflop.

  • When the Qn is 0 and the Dn is also 0, then the Qn+1 becomes 0. This situation explains the condition of “hold” state.
  • When the Qn is 0 but Dn is 1, then the Qn+1 becomes 1. This situation explains the condition of “reset” state.
  • When the Qn is 1 but Dn is 0, then the Qn+1 becomes 0. This situation explains the condition of “hold” state.
  • When the Qn is 1 and the Dn is also 1, then the Qn+1 becomes 1. This situation explains the condition of “reset” state.

 

Advantages of D Flip Flop 

  • D flip flop is very simple to design.
  • The computation speed of D flip flop is very fast compared to other flip flops.
  • D flip flop requires very few components to design which makes it simple to understand.

Disadvantages of D Flip Flop

  • D flip flops are glitch prone. When input varies fast, flip flop output may glitch. Digital circuit glitches are hard to identify and fix.

Types of D Flip Flop

  • D Latch.
  • EdgeTriggered D Flip Flop.

Application of D Flip Flop

D flip flop is having numerous number of application in digital system is described as follows:

  • Memory: D flip flop is used to create memory circuit for holding the data.
  • Registers: D flip flop is used to create register, which can hold data in digital system. By using the D flip flop the designer can built any size of register as per the requirement.
  • Counters: D flip flops are used to create the counters which counts the number of event occurred in the digital system.
  • Synchronous System: D flip flop is having in developing the synchronous system.

Conclusion

In this article, we discussed the basis of D flip flop with the working principle of the D flip flops. We have also discussed about the characteristic table of D flip flop and analysing the table we have derived the characteristic equation and the excitation table of the D flip flop. This article explains several advantages and disadvantages of D flip flop with the recent applications of the D flip flop.



Similar Reads

Conversion of S-R Flip-Flop into T Flip-Flop
Prerequisite - Flip-flop Here, we will discuss the process of conversion of S-R Flip-Flop into a T Flip-Flop using an example. Rules for conversion: Step-1: Find the characteristics table of required flip-flop and the excitation table of the existing (given) flip-flop. Step-2: Find the expression of given flip-flop in terms of required flip-flop us
1 min read
Conversion of J-K Flip-Flop into T Flip-Flop
Prerequisite - Flip-flop 1. J-K Flip-Flop: JK flip-flop shares the initials of Jack Kilby, who won a Nobel prize for his fabrication of the world's first integrated circuit, some people speculate that this type of flip flop was named after him because a flip-flop was the first device that Kilby build when he was developing integrated circuits. J-K
1 min read
Conversion of S-R Flip-Flop into D Flip-Flop
Prerequisite - Flip-flop 1. 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 prevents the inputs from becoming the same value. Conver
1 min read
Conversion of J-K Flip-Flop into D Flip-Flop
JK Flip-Flip is basically a gated SR flip-flop which has an additional input that is clock input. It prevents the invalid output that may be obtained when both the inputs are 1. Whereas D Flip-Flop is a modified SR flip-flop which has an additional inverter. It prevents the inputs from becoming the same value. What is Flip-Flop? A flip-flop is a ba
6 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 opposite states. It is also known as a Bistable Multivib
8 min read
Master-Slave JK Flip Flop
Prerequisite - Flip-flop types and their Conversion Race Around Condition In JK Flip-flop - For J-K flip-flop, if J=K=1, and if clk=1 for a long period of time, then Q output will toggle as long as CLK is high, which makes the output of the flip-flop unstable or uncertain. This problem is called race around condition in J-K flip-flop. This problem
3 min read
Mod 6 Johnson Counter (with D flip-flop)
Johnson counters are one of the most important applications of shift registers. They are created by connecting multiple flip-flops to one another (such that the output of one flip-flop is the input for another), and by connecting the complement of the output of the last flip-flop to the input of the first flip-flop. For a mod 6 Johnson counter, 3 f
1 min read
Mod 2 Ring Counter (with D flip-flop)
Ring counters are one of the most important applications of shift registers. They are created by connecting multiple flip-flops to one another (such that the output of one flip-flop is the input for another), and by connecting the output of the last flip-flop to the input of the first flip-flop. For a mod 2-ring counter, two flip-flops will be requ
1 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 flip flops. We will also see the applications of flip
10 min read
SR Flip Flop
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 FlopConstruction Basic Block D
5 min read
Flip-Flop types, their Conversion and Applications
In this article, we will go through the Flip-Flop types, their Conversion and their Applications, First, we will go through the definition of the flip-flop with its types in brief, and then we will go through the conversion of the flip-flop with its applications, At last, we will conclude our article with some FAQs. Table of Content Flip-FlopTypes
7 min read
T 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 FlopSince Flip Flop is a sequential circuit its input is based upon two parameters, one is the current input and the other is the output from the previous state.It has t
4 min read
Difference between Flip-flop and Latch
Flip-flops and latches are two kinds of memory circuits used in electronics. The main difference between them is how they react to changes. A latch changes its output whenever its input changes. This means it's always ready to respond. On the other hand, a flip-flop only changes its output at specific moments, like when its control signal goes from
6 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 can also store toggle functionality with a diversity
8 min read
GATE CS Notes (According to GATE 2025 Syllabus)
GATE stands for Graduate Aptitude Test in Engineering . GATE is a national-level exam conducted by IISc-Bangalore and the seven old IITs; GATE 2025 is going to be conducted by IIT Roorkee. The official notification of GATE 2025 has been released by IIT Roorkee. After clearing the GATE exam, candidates are eligible for Master of Technology (M.Tech)/
15+ min read
DBMS Tutorial – Learn Database Management System
Database Management System is a software or technology used to manage data from a database. Some popular databases are MySQL, Oracle, MongoDB, etc. DBMS provides many operations e.g. creating a database, Storing in the database, updating an existing database, delete from the database. DBMS is a system that enables you to store, modify, and retrieve
8 min read
Operating System Tutorial
An Operating System(OS) is software that manages and handles the hardware and software resources of a computer system. It provides interaction between users of computers and computer hardware. An operating system is responsible for managing and controlling all the activities and sharing of computer resources. An operating system is a low-level Soft
7 min read
Computer Network Tutorial
A computer network is a collection of computers or devices connected to share resources. Any device which can share or receive the data is called a Node. Through which the information or data propagate is known as channels, It can be guided or unguided. In this Computer network tutorial, you’ll learn basic to advanced concepts like the Basics of co
10 min read
Top 100+ Computer Keyboard Shortcut Keys List (A to Z), PDF Available
Computer Shortcut Keys significantly enhance productivity and efficiency. These handy combinations of keys provide quick access to various functions and commands, allowing us to navigate in Computers. One must know Computer Shortcut keys to work more easily and quickly with computers. In this Computer Keyboard Shortcut Keys Guide, you will learn al
15+ min read
GATE 2025 Syllabus For CSE (Computer Science & Engineering)
GATE Exam 2025 Syllabus for CSE - GATE stands for Graduate Aptitude Test in Engineering, an entrance exam conducted each year for getting admission into the most prestigious institutes across the country including IISc Banglore, IITs, NITs, IIITs, and many others. The GATE authority (IIT Roorkee for this year) has released the official notification
8 min read
Difference Between IPv4 and IPv6
The address through which any computer communicates with our computer is simply called an Internet Protocol Address or IP address. For example, if we want to load a web page or download something, we require the address to deliver that particular file or webpage. That address is called an IP Address. There are two versions of IP: IPv4 and IPv6. IPv
7 min read
Types of Operating Systems
An Operating System performs all the basic tasks like managing files, processes, and memory. Thus, the operating system acts as the manager of all the resources, i.e. resource manager. Thus, the operating system becomes an interface between the user and the machine. It is one of the most required software that is present in the device. Operating Sy
11 min read
TCP/IP Model
The TCP/IP model is a fundamental framework for computer networking. It stands for Transmission Control Protocol/Internet Protocol, which are the core protocols of the Internet. This model defines how data is transmitted over networks, ensuring reliable communication between devices. It consists of four layers: the Link Layer, the Internet Layer, t
13 min read
What is OSI Model? - Layers of OSI Model
OSI stands for Open Systems Interconnection , where open stands to say non-proprietary. It is a 7-layer architecture with each layer having specific functionality to perform. All these 7 layers work collaboratively to transmit the data from one person to another across the globe. The OSI reference model was developed by ISO - 'International Organiz
15+ min read
Types of Network Topology
Network topology refers to the arrangement of different elements like nodes, links, or devices in a computer network. It defines how these components are connected and interact with each other. Understanding various types of network topologies helps in designing efficient and robust networks. Common types include bus, star, ring, mesh, and tree top
12 min read
Types of Keys in Relational Model (Candidate, Super, Primary, Alternate and Foreign)
Keys are one of the basic requirements of a relational database model. It is widely used to identify the tuples(rows) uniquely in the table. We also use keys to set up relations amongst various columns and tables of a relational database. Different Types of Database Keys Candidate Key Primary Key Super Key Alternate Key Foreign Key Composite Key To
6 min read
ACID Properties in DBMS
This article is based on the concept of ACID properties in DBMS that are necessary for maintaining data consistency, integrity, and reliability while performing transactions in the database. Let's explore them. A transaction is a single logical unit of work that accesses and possibly modifies the contents of a database. Transactions access data usi
7 min read
Introduction of K-Map (Karnaugh Map)
In many digital circuits and practical problems, we need to find expressions with minimum variables. We can minimize Boolean expressions of 3, 4 variables very easily using K-map without using any Boolean algebra theorems. K-map can take two forms: Sum of product (SOP) Product of Sum (POS) According to the need of problem. K-map is a table-like rep
3 min read
Introduction of ER Model
Peter Chen developed the ER diagram in 1976. The ER model was created to provide a simple and understandable model for representing the structure and logic of databases. It has since evolved into variations such as the Enhanced ER Model and the Object Relationship Model The Entity Relational Model is a model for identifying entities to be represent
10 min read
Normal Forms in DBMS
Normalization is the process of minimizing redundancy from a relation or set of relations. Redundancy in relation may cause insertion, deletion, and update anomalies. So, it helps to minimize the redundancy in relations. Normal forms are used to eliminate or reduce redundancy in database tables. Normalization of DBMSIn database management systems (
12 min read
Article Tags :