Experiment 9 (Flip Flops)
Experiment 9 (Flip Flops)
Experiment 9 (Flip Flops)
Department of Electronics & Communication Engineering Lab Session No. 10 Page No.1/7 Digital Circuits & System CS - 303 Enrolment No. 0875 Batch No.
Performance Evaluation:
Name
Performing on Extra regular First Submission Second Submission
Grade and Remarks by the Tutor 1. Clarity about the objective of the experiment 2. Clarity about the problem statement 3. Submitted the work in desired format 4. Shown capability to solve the problem 5. Contribution to the team work. Others:
Grade
Signature
1.
Title: To perform and analyze various flip flops and observation of race around condition. Aims:
a) b) c) d) To understand the logical operation of flip flop. To verify the truth table of S-R,J-K ,D and T flip-flop. To study about Master-slave J-K flip-flop. To analyze the digital 74XX IC series of flip-flop.
2.
4. Problem Statement:
a) To convert SR flip-flop into JK flip-flop. b) To design a 4-bit bidirectional shift register using D- flip-flop. c) To make a 4-bit ring counter using J-K flip-flop.
5. Equipments:
DIT board, IC 7476, IC 7474 and its power supply.
6. Theory:
S-R Flip-Flop A flip-flop circuit can be constructed from two NAND gates or two NOR gates. These flipflops are shown in Figure 2 and Figure 3. Each flip-flop has two outputs, Q and Q', and two inputs, set and reset. This type of flip-flop is referred to as an SR flip-flop or SR latch. The flip-flop in Figure 2 has two useful states. When Q=1 and Q'=0, it is in the set state (or 1state). When Q=0 and Q'=1, it is in the clear state (or 0-state). The outputs Q and Q' are complements of each other and are referred to as the normal and complement outputs, respectively. The binary state of the flip-flop is taken to be the value of the normal output. When a 1 is applied to both the set and reset inputs of the flip-flop in Figure 2, both Q and Q' outputs go to 0. This condition violates the fact that both outputs are complements of each other. In normal operation this condition must be avoided by making sure that 1's are not applied to both inputs simultaneously.
The NAND basic flip-flop circuit in Figure 3(a) operates with inputs normally at 1 unless the state of the flip-flop has to be changed. A 0 applied momentarily to the set input causes Q to go to 1 and Q' to go to 0, putting the flip-flop in the set state. When both inputs go to 0, both outputs go to 1. This condition should be avoided in normal operation. Jk Flipflop: Fig 7(a) shows the clocked J-K flip-flop with clear (CR) and preset (PR) inputs. The small circle (inversion symbols) on these inputs indicates that logic 0 is required to clear or set the flip-flop. Thus the 0 applied to the clear input will reset the flip-flop to Q = 0, and a 0 applied to the Preset input will set the flip-flop to Q = 1. These inputs override the clock & J-K input. I.e. a 0 applied to the clear input will reset the flip-flop regardless of the values of J-K, and the clock. Under normal conditions, a 0 should not be applied simultaneously to clear and preset. When the clear and preset inputs are both held at logic 1, the J, K and clock inputs operate in the normal manner.Fig.8 (b) shows the truth table for J-K Flip-Flop.
Master Slave JK Flip-Flop J-K Flip-Flop suffers from timing problems called "race" if the output Q changes state before the timing pulse of the clock input has time to go "OFF". To avoid this the timing pulse period (T) must be kept as short as possible (high frequency). As this is sometimes is not possible with modern TTL IC's the much improved Master-Slave JK Flip-flop was developed. This eliminates all the timing problems by using two SR flip-flops connected together in series, one for the "Master" circuit, which triggers on the leading edge of the clock pulse and the other, the "Slave" circuit, which triggers on the falling edge of the clock pulse. The Master-Slave Flip-Flop is basically two JK bistable flip-flops connected together in a series configuration with the outputs from Q and Q from the "Slave" flip-flop being fed back to the inputs of the "Master" with the outputs of the "Master" flip-flop being connected to the two inputs of the "Slave" flip-flop as shown below. Master-Slave JK Flip-Flops
T Flip-Flop T flip-flop A clocked Flip-Flop whose output toggles, i.e. changes to the complementary logic state, on every active transition of the clock signal. The device acts as a divide-by-two counter since two active transitions of the clock signal generate one active transition of the output. It can be considered as being equivalent to a J-K Flip-Flop whos J and K inputs are held at logic 1. This type of flip-flop is a simplified version of the JK flip-flop. It is not usually found as an IC chip by itself, but is used in many kinds of circuits, especially counter and dividers. Its only function is that it toggles itself with every clock pulse (on either the leading edge, on the trailing edge) it can be constructed from the JK flip-flop as shown in Fig.8 (g).
This flip flop is normally set, or loaded with the preset and clear inputs. It can be used to obtain an output pulse train with a frequency of half that of the clock pulse train, as seen from the timing diagram, in this example, the T flip flop is triggered on the falling edge of the clock pulse.
7. Procedure :
A) S-R Flip-Flop Connect the logic signals from the logic input switches to S and R input of R-S Flip-Flop. Observe the logic outputs on the LEDs in O/P section. Verify the truth table of RS flip-flops.
B) J-K Flip-Flop Note: use any one of the gate available out of 4. Connect PR to PRESET, CR to CLEAR and J and K terminals to the logic input switches. Connect CLK of JK flip-flop to Clock terminal. Connect Q and /Q terminals to LED indicators in O/P section. Set the PR, CR, CLK, J and K Signals by means of the switches as per the truth table of JK flip-flop given above and verify the Q and /Q outputs by changing possible input conditions. C) Master Slave J-K Flip-Flop Note: use any two of the gate available out of 4. Do the connection for MS JK Flip-Flop as shown in Fig.7(c) above. Connect PR to PRESET, CR to CLEAR of both the flip-flops and J and K terminals of master flip-flop to the logic input switches. Connect CLK of master JK flip-flop to Clock terminal. Connect Q and /Q terminals of slave flip-flop to LED indicators in O/P LED section. Also connect Q & /Q terminals of master flip-flop to the leds in O/P LED section. Set the PR, CR, clk, J and K Signals by means of the switches as per the truth table of MS JK flip-flop given above and verify the Q and /Q outputs. D) D Flip-Flop Note: use any one of the gate available out of 2. Connect PR to PRESET, CR to CLEAR and D terminals to the logic input switch. Connect the CLK of D Flip-Flop to CLOCK terminal. Connect Q and /Q terminals to LED indicators in O/P LED section. Set the PR, CR, CLK and D Signals by means of the switches as per the truth table of D flip-flop given above and verify the Q and /Q outputs. E) T Flip-Flop Note: use any one of the gate available out of 4. Do the connection for T Flip-Flop as shown in FIG.7 (g) above. Connect PR to PRESET, CR to CLEAR and T terminals to the logic input switch. Connect the CLK of T Flip-Flop to CLOCK terminal. Connect Q and /Q terminals to LED indicators in O/P LED section. Set the PR, CR, CLK and T Signals by means of the switches as per the truth table of T flipflop given above and verify the Q and /Q outputs.
Date
Modified on