Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

avoir bounce with button

Altera_Forum
Honored Contributor II
1,174 Views

Hey, 

how can i write my vhdl code to avoid bounce?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
213 Views

 

--- Quote Start ---  

how can i write my vhdl code to avoid bounce? 

--- Quote End ---  

 

 

Draw a flowchart of the basic functionality, and then write a behavioural implementation of that.
0 Kudos
Altera_Forum
Honored Contributor II
213 Views

Use a counter to generate a suitable interval at which to test the button's input signal. Test it a number of times to see if it persists. Once the signal has passed that test you can declare the button pressed (or released). 

 

I hope that's something you can attempt to code yourself... 

 

Cheers, 

Alex
0 Kudos
Reply