Debouncing

Ok i made some code to debounce button presses and thought what if i have more than one button how would i go about debouncing them all?

Then i remember hearing something about Instantiating code. So i read up a bit on it and got it working. Basically it lets me use some vhdl as a function kind of. Where i can run different buttons through the same copy of code and output to different signals. Which is pretty cool. My code is on github from now on…

Code: https://github.com/AtomSoftTech/CountBtnI

Advertisements

About atomsoft

Starting a small company. Trying to build it from ground up. Only 2 employees so far. Nothing serious yet but soon!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: