The Gateway to Computer Science Excellence
0 votes
80 views

Consider the following counter designed using three flip-flops (D, T and JK). The initial state of the counter is Q2=1, Q1=1and Q0=1

What is the state of the counter after 4 clocks?

how to find jk in this???

in Digital Logic by (445 points) | 80 views

1 Answer

0 votes
First of all you don't require that extra piece of connection in the D flip flop .

Go with steps :-

Step 1 :-  formulate expression for next output at each flip flop.

Q0next = Q1

Q1next = Q2 XOR Q1

Q2next = ~Q2

Initially Q2 = 1 , Q1 = 1 and Q0 = 1.

At the next clock tick.

Q0 = 1

Q1 = 0

Q2 = 0

 

Then in the next clock tick :-

Q0 = 0 ; Q1 = 0 ; Q2 = 1;

Then in the next clock tick :-

Q0 = 0; Q1 = 1 ; Q2 = 0 ;

In the 4th clock tick :-

Q0 = 1; Q1 = 1 ; Q2 = 1;

 

Thus after 4 clock edges , Q0 = 1; Q1 = 1 ; Q2 = 1;
by Loyal (5.9k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,384 answers
198,542 comments
105,340 users