What Is the Limit Cycle in a Flip-Flop and Shift Register System?

  • Thread starter Thread starter topgun08
  • Start date Start date
  • Tags Tags
    Shift
AI Thread Summary
The discussion focuses on constructing a state diagram for a flip-flop and shift register system, which has 16 states ranging from 0000 to 1111. The system exhibits a limit cycle, meaning it will repetitively cycle through the same sequence of states regardless of the starting point. Participants express confusion about the operation of flip-flops and the role of the AND gate in the system. Clarification is provided that the D flip-flop transfers the D input to the output at each clock tick, and the AND gate creates a feedback loop that determines the next state based on the current outputs. Understanding these components is essential for solving the problem effectively.
topgun08
Messages
15
Reaction score
0

Homework Statement



For the system of Fig. 1, construct a complete state diagram showing all 16
states of the system. Your diagram should have 16 circles, numbered 0000
through 1111, connected with arrows showing which state each state goes to
after one tick of the clock. Interestingly, this system has a limit cycle: that is, no
matter which state it starts in, it ends up going repetitively through the same
sequence of states. Find the limit cycle.

[PLAIN]http://img135.imageshack.us/img135/9949/bahphaadm.jpg

http://img135.imageshack.us/img135/9949/bahphaadm.jpg

Homework Equations


none?

The Attempt at a Solution


I'm having a really hard time understanding these flip-flops. My book does not cover it in length. While I'm looking to complete this problem I am more interested in the technique to solving this type of problem over the actual answer.

I think that the clock starts at time 0, and all the Q's are in rest at 0, but what's the deal with that AND gate at the top?

Any help is appreciated. Thank you!
 
Last edited by a moderator:
Physics news on Phys.org
topgun08 said:

Homework Statement



For the system of Fig. 1, construct a complete state diagram showing all 16
states of the system. Your diagram should have 16 circles, numbered 0000
through 1111, connected with arrows showing which state each state goes to
after one tick of the clock. Interestingly, this system has a limit cycle: that is, no
matter which state it starts in, it ends up going repetitively through the same
sequence of states. Find the limit cycle.

[PLAIN]http://image.bayimg.com/bahphaadm.jpg


Homework Equations


none?


The Attempt at a Solution


I'm having a really hard time understanding these flip-flops. My book does not cover it in length. While I'm looking to complete this problem I am more interested in the technique to solving this type of problem over the actual answer.

I think that the clock starts at time 0, and all the Q's are in rest at 0, but what's the deal with that AND gate at the top?

Any help is appreciated. Thank you!

The figure in your post is not being displayed. Can you repost it?
 
Last edited by a moderator:
The way a D flip-flop works is that at each rising clock what is on the D input is transferred to the output: Q+ = D. The AND gate gives the feedback loop. In this case

D1 = Q1'Q2'Q3'

That tells you D1 will only be 1 when Q1, Q2, and Q3 are all 0. And since the Q outputs are connected directly to the D inputs of the next flip-flop, it is easy to see what the next state will be. If you start with the state

Q1Q2Q3Q4 = 0000

what will D1 be and what will the next state be?
 

Similar threads

Replies
10
Views
3K
Replies
7
Views
6K
Replies
1
Views
2K
Replies
1
Views
3K
Replies
2
Views
4K
Replies
31
Views
3K
Replies
1
Views
8K
Back
Top