- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need help on how to design a counter that can count from 0 to 9 and back to 0. and this counter must be modified to reset, start and stop.
also, codes for 7 segment decoder to display the numbers on fpga board. Thanks Altera peeps.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok that's pretty simple, what difficult are you having?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just the codes for the counter to count from 0 to 9 and back to zero, and it must have reset .
Also 7-segment decoder to display 0 to 9. thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
well you have a reset
then when reset is at 1 (or 0) you are going to intiialize all your registers. when the reset changes you are going to start the counter, if the counter hits your max value you start to decrease it, if it hits 0 it increases again. then you are going to do a BCD : http://en.wikipedia.org/wiki/binary-coded_decimal to display your values in your 7-seg decoder.. (also see the datasheet to see how your 7-seg decoder works)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page