Design A counter

  • Thread starter Hala91
  • Start date
  • #1
9
0

Homework Statement


1)Design a counter that counts from 0 to 23 Then resets???
2)design a counter that counts as shown below:
(1)to(5)to(7)to(8)to(2)to(3)to(6)to(4)
in another way:
1-5-7-8-2-3-6-4


Homework Equations


I didn't know weather to use:
1)5-bit synchronous binary counter
2)5-bit synchronous Decade counter
3)5-bit asynchronous binary counter
4)5-bit asynchronous Decade counter
Please Help I need to solve them so bad :cry:


The Attempt at a Solution


Q1)using a 5-bit binary counter and an AND gate on the outputs to detect when the count of 23 (10111) is reached
Q2)3-bit binary counter
 
Last edited:

Answers and Replies

  • #2
berkeman
Mentor
57,716
7,750

Homework Statement


1)Design a counter that counts from 0 to 23 Then resets???
2)design a counter that counts as shown below:
(1)to(5)to(7)to(8)to(2)to(3)to(6)to(4)
in another way:
1-5-7-8-2-3-6-4


Homework Equations


I didn't know weather to use:
1)5-bit synchronous binary counter
2)5-bit synchronous Decade counter
3)5-bit asynchronous binary counter
4)5-bit asynchronous Decade counter
Please Help I need to solve them so bad :cry:


The Attempt at a Solution


Q1)using a 5-bit binary counter and an AND gate on the outputs to detect when the count of 23 (10111) is reached
Q2)3-bit binary counter
You have the right approach for both. In the 2nd one, you will want to use gates to convert the output of the 3-bit counter to the desired numbers. Write a table of the conversion values, do the K-maps, and make the gate logic for the bits of the final output values.
 
  • #3
9
0
Well I have just solved the first question but I'm having trouble with the second one...
Thanks A lot :)
 
  • #4
berkeman
Mentor
57,716
7,750
BTW, on the first question. Remember that FFs reset input is asynchronous, so you don't want to reset on the count of 23...
 

Related Threads on Design A counter

  • Last Post
Replies
4
Views
14K
  • Last Post
Replies
11
Views
16K
  • Last Post
Replies
2
Views
1K
Replies
0
Views
3K
Replies
0
Views
2K
Replies
25
Views
9K
Replies
1
Views
4K
Replies
1
Views
5K
  • Last Post
Replies
1
Views
9K
  • Last Post
Replies
2
Views
4K
Top