Simple Counter

Tuesday, July 8, 2008 by Nasir

The simple VHDL projects that I wanted to publish are way too boring so this is a less simple project.

A counter which counts simply from 0 to 9999 in decimal range, not hex or binary. Why 9999 well I have four hex-displays on my board.

Clock signal generator that will generate two signals. The board speed is 50 MHz which is way to fast. I want to add up every second. Also I need to switch between the hex-displays and a speed of 1 KHz is fine for doing something like that I guess ^^.

Hex to bcd decoder. That was kinda tricky, but I have Google as my friend. That is why I found a great page, too bad the page is only writing in Dutch.

I have 4 VHDL files and a schematic as top level design. You can find everything in the attachment. If you have the same board then you can use the bit file otherwise you need to edit the ucf file to match your board’s ports addresses and generate a new bit file.

Add comment

Fill out the form below to add your own comments

User data





Add your comment