Comp Sci Digital logic questions -- Designing counters with flip-flops

AI Thread Summary
The discussion focuses on designing a counter using JK flip-flops that counts in specific sequences based on input conditions. The user is attempting to implement a counter that counts 0-2-4-5 and back to zero when the input is 1, and 0-5-4-2 and back to zero when the input is 0. There is a request for guidance on how to skip a count of 1 in the design. Participants emphasize the importance of using state tables and state diagrams for creating sequential logic. The user is encouraged to share their diagrams for more effective assistance.
CsStudent
Messages
2
Reaction score
0
Homework Statement
First question :

Using JK flip flops, design a counter that counts 0-2-4-5 and back to zero if the input is 1. And it will count 0-5-4-2 and back to 0 if the input is 0. The count will be displayed on 7 segment display.


second question :

Design a sequential circuit with two T flip-flops A and B, and one input x . When x = 0, the state of the circuit remains the same. When x = 1, the circuit goes through the state transitions from 00 to 01, to 11, to 10, back to 00, and repeats.
Relevant Equations
those questions are realted to digial logic design (exactly chapter 5 )
Here’s what I’ve tried so far:

  1. For the JK flip-flop counter: I’ve looked into how to design counters using JK flip-flops, but I’m not sure how to implement the specified counting sequence (0-2-4-5 and back, depending on the input).
  2. For the sequential circuit with T flip-flops: I understand the state transitions but am struggling to connect them to the flip-flop design.
 
Physics news on Phys.org
:welcome: !


CsStudent said:
Homework Statement: First question :

Using JK flip flops, design a counter that counts 0-2-4-5 and back to zero if the input is 1. And it will count 0-5-4-2 and back to 0 if the input is 0. The count will be displayed on 7 segment display.
...
I’ve looked into how to design counters using JK flip-flops
So post a design and ask a relevant question (like: what do I have to do to skip over a count of 1?).

PF rules require you post a best effort before we are allowed to help.

PS "Chapter 5" of what ?

##\ ##
 
BvU said:
PS "Chapter 5" of what ?
Chapter 5 of digital logic design book (my uni use the 5th edition )
 
You should say what you have learned so far about how to use State Tables and State Diagrams to design sequential logic. If you draw such diagrams and tables, you can use the "Attach files" link below the Edit window to attach your diagrams.
 
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
1
Views
2K
Replies
5
Views
4K
Replies
1
Views
2K
Replies
2
Views
5K
Replies
2
Views
3K
Back
Top