Pause the counter when a button is pressed, and resume the counter once the button is pressed again.
I tried to do some modification in binary counter example which comes with niosiiesd. But i can't get my required output. My irq value in qsys is 2 for button. Some one help me to sort out this issue...
I can see the output as it should be in this example code but i don't know what to do to modify it according to my requirements. I tried some modification but got no luck. Thanks for reply