I have a project coming up in less than 12 hours. I would appreciate if you can help me individually in doing the project in anyway at a deal that shall satisfy your effort. please take a look at the instructions and let me know if you can help:
You will use the Altera DE2-115 board (Side note: you only need to design the software and I will install it to the board myself), Quartus II software to design a dice game. In this game, two players take turns to roll simulated dice and whoever has a bigger number wins.
The requirements are as follows:
* 7-segment displays Hex 7 and Hex 0 are used to display Player 1 and Player 2's numbers, respectively. In the initial state when the board rst boots up, number zero should be displayed on both 7-segment displays and no LEDs should be turned on.
* Key 2 and Key 1 are the roll buttons of Player 1 and Player 2, respectively. When either button is pressed, a random number between 1 and 6 should be displayed on the player's 7-segment display. Note that the number has to be truly random, i.e., no patterns are allowed.
* After both players have rolled the dice, an LED should be turned on to indicate the winner (the one who has larger number). In particular, LEDR17 represents Player 1 and LEDR6 represents Player 2. Note that no LEDs should be turned on before BOTH players have rolled the dice. If there is a tie, then neither LED should be turned on.
* Key 0 is the reset button. When pressed, it should reset the system to the initial state and allow another round of the game to begin.