SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SairamAdithya
388 views
30 slides
Dec 03, 2021
Slide 1 of 30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
About This Presentation
this presentation is about the sequential logic circuits, mainly concentrating on flip-flops and latches. a unique feature in this presentation is the incorporation of circuit images generated from Multisim software imparting practical knowledge to the users. this consists of both the active low and...
this presentation is about the sequential logic circuits, mainly concentrating on flip-flops and latches. a unique feature in this presentation is the incorporation of circuit images generated from Multisim software imparting practical knowledge to the users. this consists of both the active low and high versions of different circuits.
SEQUENTIAL CIRCUITS DEFINITION: A Sequential Circuit is a combinational logic circuit that consists of inputs variable(X),logic gates(computational circuits)and the output variable (Z).
SEQUENTIAL CIRCUITS contd... A combinational logic circuit produces an output based on present input values but a sequential logic circuit produces an output based on current input and also previous input values . The latches and the flip flops are the building blocks of the sequential circuits. One latch or flip flop can store one bit of information. There are basically four main types of latches and flip flops : SR,D,JK and T. MEMORY ELEMENTS: Sequential circuits include memory elements that are capable of storing binary information. The basic memory element in sequential logic circuits is the flip-flop .
Types of sequential circuits There are two main types of sequential circuits.Their classification depends on the timing of their signals. Synchronous sequential circuits Asynchronous sequential circuits Synchronous sequential circuits use level inputs and clock signals as the circuit inputs having limitations on the circuit propagation time and pulse width to generate the output. Asynchronous sequential circuits perform their operation without depending on the clock signals but use the input pulses and generate the output.
Difference between Latches & flip-flop LATCHES Latches do not have a clock signal. Works with only binary input. Level triggered Asynchronous Operation is faster in latches. FLIP –FLOPS Flip flop always has a clock signal. Works with binary input as well as the clock signal. Edge triggered. Synchronous Operation is comparatively slower due to clock signal .
APPLICATIONS OF SEQUENTIAL CIRCUITS Shift registers Flip Flops Analog to digital and digital to analog converters Counters Clocks Used as registers inside microprocessors and controllers to store temporary information.
TABLE OF CONTENTS SR latch (Active high) SR latch (Active low) SR Flip-flop(Active high) SR Flip-flop(Active low) D Flip-flop Master slave flip-flop JK Flip-flop T Flip-flop THIS INDICATES THAT THE KEY IS IN “ ON” CONDITION . i.e 1 THIS INDICATES THAT THE KEY IS IN “OFF” CONDITION. i.e IMPORTANT POINT:
SR LATCH ACTIVE HIGH This SR latch is sometimes referred as direct coupled RS flipflop. In an active high SR Latch two cross coupled NOR gates are used. When the SET input goes high , the output also goes high.[SET] When the SET input returns to low , however the output remains High.[HOLD] The output stays High until the RESET input goes High. MAJOR PROBLEM: In an S-R Latch ,activation of S input sets the circuit, while activation of R input resets the circuit. If both S and R inputs are activated simultaneously , the circuit will be in an invalid condition . KEY POINT : Active high is S based when S and R are contrary to each other.
ACTIVE HIGH SET ACTIVE HIGH RESET From the truth table , we infer that for SET condition , input of S should be 1 and input of R is 0 then the Q value will be 1 and the LED of Q will glow. From the truth table , we infer that for RESET condition , input of S value is 0 and input of R is 1.Here the complement of Q will be 1 and LED of Q complement glows.
SR LATCH ACTIVE LOW In an active low SR Latch two cross coupled NAND gates are used. When the RESET input goes high , the output Q also goes high.[SET] When the RESET input returns to low, the output Q also returns to low.[RESET] When both the inputs are high , then the output Q will remains same.[HOLD] MAJOR PROBLEM: If both S and R inputs are low , then the circuit will be in an invalid condition. KEY POINT: Active low is R based when S and R are contrary to each other.
ACTIVE LOW SET ACTIVE LOW RESET From the truth table , we infer that for SET condition , input of S is 0 and input of R is 1 then the Q value will be 1 and LED of output Q glows. From the truth table , we infer that for RESET condition , input of S is 1 and input of R is 0 then the Q complement will be 1 and LED of Q complement glows.
Sr flip-flop The basic flipflop as it stands is an asynchronous sequential circuit . By addig gates to the inputs of the basic circuit , the flipflop can be made to respond to input levels during the occurrence of a clock pulse. It consists of: Two NOR gates and two AND gates along with a clock for ACTIVE HIGH SR Four NAND gates along with a clock for ACTIVE LOW SR The inputs are S ,R , and the clock .The outputs are Q and Q complement.
Active high SR flip-flop The circuit is formed by adding two AND gates to NOR based SR flipflop. A clock pulse is given as input to both the extra AND gates.
Active high set active high reset For SET condition , input of S should be 0 , input of R is 1 and clock pulse is 1 then the Q value will be 1 and the LED of Q will glow. For RESET condition , input of S value is 1, input of R is 0 and the clock pulse is 1.Here the complement of Q will be 1 and LED of Q complement glows.
Active low SR flip-flop The circuit is formed by adding two NAND gates to NAND based SR flipflop. A clock pulse is given as input to both the extra NAND gates.
Active low set active low reset For SET condition , input of S is 1 , input of R is 0 and clock is set to 1 then the Q value will be 1 and LED of output Q glows. For RESET condition , input of S is 0 , input of R is 1 and clock is 1 then the Q complement will be 1 and LED of Q complement glows.
D FLIP-FLOP A D flip flop is by far the most important of all the clocked flip-flops. It is used to create a delay in the circuit. It is a modification of SR clocked flipflop with the addition of an inverter to prevent S and R inputs from being at the same logic level . The next state of the flip flop is the same as the D input and is independent of the present state. if the data input is held HIGH the flip flop would be “SET” and when it is low the flipflop would change and become “RESET”.[Clock is 1 for both the conditions].
D FLIP-FLOP ACTIVE HIGH For Active High D flipflop , two AND gates and two NOR gates are being used along with an inverter and a clock. The D input directly goes to the AND gate(U11) and its complement goes to the other AND gate(U12).
ACTIVE HIGH 0-i/p active high 1-i/p Here the data input is given as 0 and the clock input is 1 .The output value 1 is received at Q and so the LED of Q glows. Here both the clock input and the data input is 1.The output value 1 is received at the Q complement and so the LED of Q complement glows here NOTE: I/P-Input
D flip-flop Active low For Active Low D Flip-Flop, four NAND gates along with an inverter and a clock is being used. The first two NAND gates ( i.e U2 and U3) form a basic flip flop and gates U8 and U9 modify it into a clocked RS FLIPFLOP. Here the D input goes to the NAND gate (U8) and its complement to the other NAND gate(U9).
ACTIVE LOW 0-I/P ACTIVE LOW 1-I/P Here the data input is given as 0 and the clock input is 1 .The output value 1 is received at Q complement and so the LED of Q complement glows. Here the data input is given as 1 and the clock input is 1 .The output value 1 is received at Q and so the LED of Q glows. NOTE: I/P-Input
MASTER SLAVE FLIP-FLOP A master slave flipflop is constructed from two separate flipflops. One circuit serves as a master and the other as a slave. A clock and an inverter is present in the circuit. The output from the master flipflop is connected to the two inputs of the slave flipflop. Each flipflop is connected to a clock pulse complementary to each other. If the clock pulse is in high state , the master flip flop is in ENABLE state and the slave flipflop is in DISABLE state. If the clock pulse is in low state , the master flipflop is in DISABLE state and the slave flipflop is ENABLE state. The types of Master Slave flipflop are listed below: Master slave SR flipflop Master slave JK flipflop Master slave D flipflop Master slave T flipflop The above diagram is Master slave SR flipflop .
JK flip-flop A JK flipflop is a refinement of the RS flipflop. Inputs J and K behave like S and R J-SET and K-CLEAR It is one of the most useful and versatile flipflop. The unique features are: If the J and K inputs are both at 1 and the clock pulse is applied , then the output will change state ,regardless of its previous condition. If both J and K inputs are at 0 and the clock pulse is applied there will be no change in the output. There is no indeterminate condition in the operation of JK flipflop .
JK FLIP-FLOP SET JK FLIP-FLOP RESET Here J input is 1 and K input is 0 and the clock pulse is 1 and so the output 1 is received at Q hence LED of Q glows. Here J is 0 , K is 1 and the clock pulse is also 1.The output 1 is received at Q complement and so LED of Q complement glows.
JK FLIP-FLOP PGT AND NGT PGT is Positive Going Transition when clock pulse goes from 0 to 1 NGT is Negative Going Transition when clock pulse goes from 1 to 0 NGT is represented using a BUBBLE. Transitions are also called Edges
JK FLIP-FLOP HOLD & TOGGLE If both the J and K inputs are HIGH at logic 1 when the clock input also goes HIGH ,the circuit will be TOGGLED from SET state to a RESET state( i.e where 0 becomes 1 and 1 becomes 0). At J=K=0 output continuous to be in the same state. This is the HOLD condition.
T FLIP-FLOP The T flipflop is a single input version of JK flipflop. The T flipflop is obtained from a JK type if both the inputs are tied together. The designation T comes from the ability of the flipflop to “ TOGGLE ” . Regardless of the present state of the flipflop , it assumes the complement state when the clock pulse occurs while input T is logic 1. T flipflop can be designed from SR ,JK and D flipflop because T flipflop is not available as ICs. But mostly we use JK flipflop to get T flipflop. Hence it is also referred as single input JK flipflop and it is considered to be the simplest construction among all other flipflops. T is TOGGLE INPUT
SUMMARY:
1) C.MURALIDHARAN Assistant Professor , Biomedical Engineering , Rajalakshmi Engineering College 2) A.SUBHA SHREE Student , Biomedical Engineering , Rajalakshmi Engineering College 3) V.A.SAIRAM Student , Biomedical Engineering , Rajalakshmi Engineering College