1 / 14

Hi Low

Hi Low. By Jai Henwood Florida Tech ECE 5572 Summer 2003 Dr. Veton Këpuska. Idea. Project: to implement a design on our FPGA’s and present it to the class. Idea: To make a game called Hi Low. Hi Low is a card game. You guess to see if the next card will be high or low.

Download Presentation

Hi Low

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Hi Low • By Jai Henwood • Florida Tech • ECE 5572 • Summer 2003 • Dr. Veton Këpuska

  2. Idea • Project: to implement a design on our FPGA’s and present it to the class. • Idea: To make a game called Hi Low. Hi Low is a card game. You guess to see if the next card will be high or low. • You can turn this into a drinking game… But I don’t know anything about that.

  3. Time Line

  4. The Development board

  5. Digital I/O board

  6. Total Kit

  7. Xilinx Project Navigator

  8. Xilinx iMPACT

  9. The State Machine Resetstate WaitState Push button B0 Push button B1 CheckAnswerH CheckAnswerL right wrong right wrong Done TotalRight

  10. State Machine • ResetState: HILO is displayed and next state is set to waitforinput • WaitForInput: waits for button B0 or B1 to be pushed. If B1 is push you guessed that the random number would be less so go to state checkanswerL.

  11. State Machine • CheckAnswerL: checks your answer to see if its less. It then displays ‘HOHO’ and turns on the 4 green LEDs if you got it right. If you are right you go to TotalRight state. If you got it wrong go to Done state and ‘8888’ is displayed as well as the 8 red LEDs. • TotalRight: displays ‘HOHO’ if you got it right. Wait for push button BA to be pushed and go to Done.

  12. State Machine • Done: wait for push button BB to be pushed and go back to ResetState. LEDs have different Values for reach state to help you follow the code Done to ResetState Display ‘HILO’ TotalRight to Done Display ‘HOHO’ Guess Lower Guess Higher

  13. To be done • Make more games. • Display directions for the games in the LCD.

  14. Thanks for you time

More Related