How about Designing a Non-Sequential Digital Counter?

  • Thread starter Thread starter JJBladester
  • Start date Start date
  • Tags Tags
    Counter Design
AI Thread Summary
The discussion focuses on designing a non-sequential digital counter that follows a specific sequence of states: 00, 10, 01, 11, 01, 00, 11, 10. It is established that four states (A, B, C, D) correspond to these binary values, suggesting the need for two flip-flops. However, participants highlight the necessity of having eight distinct states to manage transitions correctly, as the counter must differentiate between sequences. The conversation emphasizes the importance of a proper state diagram to illustrate these transitions effectively. The final recommendation is to utilize an expanded state representation to ensure accurate sequencing.
JJBladester
Gold Member
Messages
281
Reaction score
2

Homework Statement



Hello, I need to create a digital counter that follows this sequence:


00, 10, 01, 11, 01, 00, 11, 10
A , C, B, D, B, A, D, C

Homework Equations



N/A

The Attempt at a Solution



There are four states (A = 00, B = 01, C = 10, D = 11) so I believe I need two flip-flops. There are eight transitions and then the counter should wrap. I'm having a hard time drawing the state diagram for this.

Here's what I have so far.

non-sequential-counter-state-diagram.jpg
 
Physics news on Phys.org
The sequence does not repeat in what you showed, so you will need to add another FF to tell you whether it's the first time through AC... or 2nd time through AD...
 
JJBladester said:

Homework Statement



Hello, I need to create a digital counter that follows this sequence:


00, 10, 01, 11, 01, 00, 11, 10
A , C, B, D, B, A, D, C

Homework Equations



N/A

The Attempt at a Solution



There are four states (A = 00, B = 01, C = 10, D = 11) so I believe I need two flip-flops. There are eight transitions and then the counter should wrap. I'm having a hard time drawing the state diagram for this.

Here's what I have so far.

non-sequential-counter-state-diagram.jpg


Hey Bladester, wasn't it a couple of years ago when you posted your first problem of this type? You must be about ready to graduate, eh?

I agree with Berkeman. You need 8 states instead of 4. Otherwise, for example, when the machine is in state A, how can it know whether to proceed to C or D next? So try:$$
y_2y_1y_0=000, 010, 001, 011, 101, 100, 111, 110, 000$$Then the output ##y_1y_0## gives you your sequence.
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...

Similar threads

Replies
17
Views
5K
Replies
5
Views
4K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
12
Views
9K
Replies
6
Views
5K
Replies
1
Views
4K
Replies
1
Views
3K
Back
Top