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…

[youtube=http://www.youtube.com/watch?v=56sDq2ghUS8]

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

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *