In this post, we cover J-K flip-flop and its operation, truth table, excitation table. This post will help students to prepare for the semester & GATE examination.
Explain the operation of the J-K flip-flop with its truth table.
This basic operation of a positive edge-triggered J-K flip-flop is illustrated in Figure 1.2 and the logic symbol and truth table of the J-K flip-flop is given in Figure 1.1
The J and K inputs of the J-K flip-flop are synchronous inputs because data on these inputs are transferred to the output of the flip-flop only on the triggering edge of the clock pulse.
When J is HIGH and K is LOW, the Q output goes HIGH on the triggering edge of the clock pulse, and the flip-flop is SET.
When J is LOW and K is HIGH, the Q output goes LOW on the triggering edge of the clock pulse, and the flip-flop is RESET.
When both J and K are LOW, the output does not change from its prior state. This is called the no change state (NC).
When J and K are both HIGH, the flip-flop changes state. This is called the toggle mode.
Remember, the flip-flop cannot change state except on the triggering edge of a clock pulse. The J and K inputs can be changed at any time when the clock input is LOW or HIGH (except for a very short interval
around the triggering transition of the clock) without affecting the output.
We must review the operation of the J-K flip-flop using a different approach, one called an excitation table or transition table.
Explain the operation of the J-K flip-flop with its excitation table.
J-K Excitation Table or J-K Transition Table
Here is the operation of the J-K flip-flop using a different approach, one called an excitation table (Table 1).
The leftmost column of this table lists each possible FF output transition. This column list the FF’s PRESENT state, symbolized as QN, and the NEXT state, symbolized as QN+1, for each transition. The last column list the J and K levels required to produce each transition. Let’s examine each case.
The operation of the J-K flip-flop using the Transition table is explained below:
0 to 0 transition: The FF PRESENT state is at 0 and is to remain at 0 when a clock pulse is applied. From our understanding of how a J-K flip-flop works, this can happen when either J = K = 0 (no-change condition) or J = 0 and K = 1 (clear condition). Thus, J must be at 0, but K can be at either level. The table indicates this with a “0” under J and an “x” under K. Recall that “x” means the don’t-care condition.
0 to 1 transition: The PRESENT state is 0 and is to change to a 1, which can happen when either J = 1 and K = 0 (set condition) or J = K = 1 (toggle condition). Thus, J must be a 1, but K can be at either level for this transition to occur.
1 to 0 transition: The PRESENT state is 1 and is to change to a 0, which can happen when either J = 0 and K = 1 or J = K = 1. Thus, K must be a 1, but J can be at either level.
1 to 1 transition: The PRESENT state is a 1 and is to remain a 1, which can happen when either J = K = 0 or J = 1 and K = 0. Thus, K must be a 0 while J can be at either level.
use of J-K transition table
The use of this J-K transition table (Table1) is a principal part of the synchronous counter design procedure.
Author of this post
This post is co-authored by Professor Saraswati Saha, who is an assistant professor at RCCIIT, a renowned degree engineering college in India. Professor Saha teaches subjects related to digital electronics & microprocessors.