quick.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

   

space.gif

   

space.gif

  ../images/main/bulllet_4dots_orange.gif JK Master Slave Flip-Flop

All sequential circuits that we have seen in the last few pages have a problem (All level sensitive sequential circuits have this problem). Before the enable input changes state from HIGH to LOW (assuming HIGH is ON and LOW is OFF state), if inputs changes, then another state transition occurs for the same enable pulse. This sort of multiple transition problem is called racing.

   

space.gif

If we make the sequential element sensitive to edges, instead of levels, we can overcome this problem, as input is evaluated only during enable/clock edges.

   

space.gif

../images/digital/jk_ff.gif
   

space.gif

In the figure above there are two latches, the first latch on the left is called master latch and the one on the right is called slave latch. Master latch is positively clocked and slave latch is negatively clocked.

   

space.gif

../images/digital/jk_master_slave.gif
   

space.gif

  ../images/main/bullet_green_ball.gif Sequential Circuits Design

We saw in the combinational circuits section how to design a combinational circuit from the given problem. We convert the problem into a truth table, then draw K-map for the truth table, and then finally draw the gate level circuit for the problem. Similarly we have a flow for the sequential circuit design. The steps are given below.

   

space.gif

  • Draw state diagram.
  • Draw the state table (excitation table) for each output.
  • Draw the K-map for each output.
  • Draw the circuit.
   

space.gif

Looks like sequential circuit design flow is very much the same as for combinational circuit.

   

space.gif

   

space.gif

  ../images/main/bulllet_4dots_orange.gif State Diagram

The state diagram is constructed using all the states of the sequential circuit in question. It builds up the relationship between various states and also shows how inputs affect the states.

   

space.gif

To ease the following of the tutorial, let's consider designing the 2 bit up counter (Binary counter is one which counts a binary sequence) using the T flip-flop.

   

space.gif

Below is the state diagram of the 2-bit binary counter.

   

space.gif

../images/digital/state_diagram.gif
   

space.gif

  ../images/main/bulllet_4dots_orange.gif State Table

The state table is the same as the excitation table of a flip-flop, i.e. what inputs need to be applied to get the required output. In other words this table gives the inputs required to produce the specific outputs.

   

space.gif

Q1

Q0

Q1+

Q0+

T1

T0

0

0

0

1

0

1

0

1

1

0

1

1

1

0

1

1

0

1

1

1

0

0

1

1

   

space.gif

  ../images/main/bulllet_4dots_orange.gif K-map

The K-map is the same as the combinational circuits K-map. Only difference: we draw K-map for the inputs i.e. T1 and T0 in the above table. From the table we deduct that we don't need to draw K-map for T0, as it is high for all the state combinations. But for T1 we need to draw the K-map as shown below, using SOP.

   

space.gif

../images/digital/t_ff_kmap.gif
   

space.gif

  ../images/main/bulllet_4dots_orange.gif Circuit

There is nothing special in drawing the circuit, it is the same as any circuit drawing from K-map output. Below is the circuit of 2-bit up counter using the T flip-flop.

   

space.gif

../images/digital/t_ff_circuit.gif
   

space.gif

   

space.gif

   

space.gif

   

space.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

  

Copyright © 1998-2014

Deepak Kumar Tala - All rights reserved

Do you have any Comment? mail me at:deepak@asic-world.com