Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow to create a simple alarm clock using verilog code and run it on FPGA board?
Hello everyone. i'm suppose to create a simple verilog based alarm clock project and the program it to a FPGA board to obtain the output. As i'm a beginner to this and i have no knowledge in programm...
Altera_Forum
Honored Contributor
10 years agoI assume you want to reset the clock from another push button or similar available on your hardware? So, you'll need another input port and some conditional statement to reset your registers.
You already have statements like "min1=0" etc, to provision initial values. You need to repeat these within an always block to re-initialise these values when your reset signal is active. Cheers, Alex