You are on page 1of 14

CS123 DLD ASSIGNMENT 2

By: Ashhad Ali


20B-074-CS
WHAT IS FLIP FLOP?

• Flip flop is a memory element which is capable of storing one bit of


information and it is used in clocked sequential circuits.
WHAT IS JK FLIP FLOP?

• A JK flip flop is a refinement of the SR flip flop to solve the problem of


indeterminate state when both inputs are one.
DESIGN A COUNTER FOR COUNTING PRIME
NUMBERS FROM 13 TILL 2 USING JK FLIP FLOP.

• We will make a state transition diagram


• As the number are 13,11,7,5,3,2 and from their binary state we get the State
transition diagram.
STATE TRANSITION TABLE.

• Now we will make a state transition table


• In which we represent the present state and next state.
THE STATE TRANSITION TABLE WILL
BE
KARNAUGH MAP

• Now we get the desired values by the help of karnaugh map


• By karnaugh map we get the simplified equation.
K.MAP1
K.MAP 2
K.MAP 3
K.MAP 4
EQUATION FROM KARNAUGH MAP

• The equation from karnaugh map we get are


CIRCUIT DIAGRAM

• The circuit diagram of the diagram is:


THANKS FOR WATCHING

You might also like