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
AI Thread Summary
A 5-bit binary counter is needed to count from 0 to 23 and then reset, utilizing an AND gate to detect when the count reaches 23. For the second counter design, which follows a specific sequence (1-5-7-8-2-3-6-4), a 3-bit binary counter is suggested, with additional gates required to convert the output to the desired values. The discussion emphasizes the importance of creating a conversion table and using Karnaugh maps for logic design. It is noted that the reset for the first counter should not occur at the count of 23 due to asynchronous reset considerations. Overall, the solutions involve careful planning of logic gates and counters to achieve the specified counting sequences.
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...
 
Back
Top