Write a simple code for a 12-hour clock with an alarm written in VHDL to be implemented onto a 50Mhz board and displayed on a 7-segment LCD screen (same as the Spartan 3). The board has four buttons, when designing the code call the buttons BTN_A, BTN_B, BTN_C, BTN_D. I would like you to use finite state machines to control the mode and buttons. One button should change between modes showing either the alarm time or current time, another button should activate the set alarm or set time mode (depending on which mode you are currently viewing), another button should shift through the hours and minutes while in set alarm/set time mode and the final button should increment the highlighted section (hours or minutes). A switch should turn the alarm on or off. The clock code should work similar to a digital wrist watch. I need the code written in VHDL and not Verilog. You will also need to create the user constraints file for the outputs however you do not need to worry about mapping the locations as I will do that myself. Please do not copy another code from the internet and please do add as many descriptions (using comments) to the code as you can. I have attached a file so you can see how the Spartan 3(similar to mine) board works.
Hi,
Verilog/VHDL/SystemC expert here to help you in this project...
I can provide the 100% code of my own with full descriptions in comments...
Lets talk and start working on it...
Thanks