Design a 5-bit Binary Counter for Homework Equations - No Quotation Marks

  • Thread starter Thread starter Hala91
  • Start date Start date
  • Tags Tags
    Counter Design
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 4K views
Hala91
Messages
9
Reaction score
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:
Physics news on Phys.org
Hala91 said:

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.
 
Well I have just solved the first question but I'm having trouble with the second one...
Thanks A lot :)
 
BTW, on the first question. Remember that FFs reset input is asynchronous, so you don't want to reset on the count of 23...