Question: Write a Verilog code to count the number of times button (KEY[0]) is pressed on the Cyclone DE1-SoC fpga board using Quartus software. And when

Write a Verilog code to count the number of times button (KEY[0]) is pressed on the Cyclone DE1-SoC fpga board using Quartus software.

And when the button is pressed 5 times then make LEDR[0] blink till reset button is pressed again.

And when the button is pressed 4 times then make LEDR[1] blink till reset button is pressed again.

And when the button is pressed 3 times then make LEDR[2] blink till reset button is pressed again.

The reset button should make count = 0 again.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!