× back Latches SR ff using NAND gate SR ff using NOR gate JK ff Types of triggering Race around condition Master Slave JK ff D ff T ff Flip Flop conversion Registers
Next Topic → ← Previous Topic

Sequential Circuit

First we should know about latches so that we can understand flip-flop.

Latches

Now we will learn some latches and how to make their truth table.

X Y latch (NAND Gate)

Set Reset latch

SR flip-flop using NAND gate

SR latch using NAND gate ↓

SR flip-flop ↓

SR flip-flop using NOR gate

SR latch using NOR gate

SR flip-flop

Characteristic table and equation

  • As we know in truth table of SR ff there are two inputs (S and R) using which output (Qn) is generated.
  • In characteristic table we have three inputs S, R and Qn (present output), now on these basis what will be the next output (Qn+1).

Excitation table

  • What is the input according to the present state and next state outputs.
  • We require characteristic table to make excitation table.

JK flip-flop

Characteristic table and equation and Excitation table


Race Around Condition

It is a situation when all these 3 condition occurs simultaneusly.

Master Slave JK flip-flop

D flip flop

T (toggle) flip flop

Flip Flop conversion

SR ff to D ff

  • If we have to convert given flip flop to required flip flop that means we want behaviour and characteristics of required flip flop using given flip flop.
  • So in this case we will use characteristic table of D flip flop as it is required flip flop.
  • How we can excite SR flip flop so that it behaves like D flip flop.

SR to JK

JK to SR

T to JK

Registers

Shift register

SISO (Serial In Serial Out shift register)

  • A basic four-bit shift register can be constructred using four D-flip-flops.
  • The register is first cleared, forcing all four outputs to zero.
  • The input data is then applied sequentially to the D0 input of the first flip on the left (FF0).
  • During each clock pulse, one bit is transmitted from left to right.

SIPO (Serial In Parallel Out shift register)

  • For this register the input data bits are entered serial wise but the data bits are taken (output) parallely means each flip-flop gives output.
  • Once the data are stored, each bit appears on its respective output line, and all bits are available simultaneusly.

PISO (Parallel In Serial Out shift register)

  • In this register bits are entered in parallel / simultaneusly.
  • Here the output of first flip-flop FF0 is connected as input to the next flip-flop via combinational circuit (multiplexer). In this combinational circuit we have two AND gate and one OR gate
  • There are two mode in which this register can work.
    1. Load mode: Using this mode we get parallel input in the flip-flops simultaneusly. For load we take shift as 0.
    2. Shift mode

PIPO (Parallel In Serial Out shift register)

Applications of registers

Shift registers can be found in many applications. Here is a list of a few.

  1. To produce time delay
  2. To simplify combinational logic
  3. To convert serial data to parallel data

PYQs

What is meant by race condition? How can it be avoided?

Draw the logic diagram of J-K ff and explain it. What is the advantage of J-K ff over S-R ff?

What are registers and its types?

What is a shift registers? Draw and explain serial in parallel out and parallel in serial out shift register.

Realize JK ff using D ff.

Write difference between the following:

Explain the following flip flops with proper diagram and also write their characteristic equations:

  1. SR ff
  2. JK ff
  3. T ff
  4. D ff

Reference ↓