The IC used here is HEF4013BP (Dual D-type flip-flop). Hence the name itself explain the description of the pins. Similarly a HIGH signal to PRESET pin will make the Q output to set that is 1. A HIGH signal to CLEAR pin will make the Q output to reset that is 0. Working is correct.ĭ flip flop has another two inputs namely PRESET and CLEAR. Analysing the above assembly as a three stage structure considering previous state(Q’) to be 0 Thus, comparing the NAND gate truth table and applying the inputs as given in D flip-flop truth table the output can be analysed. Representation of D Flip-Flop using Logic Gates: This, works exactly like SR flip-flop for the complimentary inputs alone. But, the important thing to consider is all these can occur only in the presence of the clock signal. According to the table, based on the inputs the output changes its state. The Q and Q’ represents the output states of the flip-flop. The D(Data) is the input state for the D flip-flop. Thus, the output has two stable states based on the inputs which have been discussed below. Again, this gets divided into positive edge triggered D flip flop and negative edge triggered D flip-flop. Thus, D flip-flop is a controlled Bi-stable latch where the clock signal is the control signal. The clock has to be high for the inputs to get active. Whenever the clock signal is LOW, the input is never going to affect the output state. D flip-flop is simpler in terms of wiring connection compared to JK flip-flop. Here we are using NAND gates for demonstrating the D flip flop.
The major applications of D flip-flop are to introduce delay in timing circuit, as a buffer, sampling data at specific intervals. Due to its versatility they are available as IC packages. D flip-flop can be built using NAND gate or with NOR gate. Here in this article we will discuss about D type Flip Flop.ĭ Flip-flops are used as a part of memory storage elements and data processors as well. Out of the above types only JK and D flip-flops are available in the integrated IC form and also used widely in most of the applications. Generally, these latch circuits can be either active-high or active-low and they can be triggered by HIGH or LOW signals respectively. The latches can also be understood as Bistable Multivibrator as two stable states. So, we are going to discuss about the Flip-flops also called as latches.