1 / 29

Mini-Pacman VGA Display: Flexibility in Second Part of Semester

This schedule outlines the Lab 4 to Lab 7 tasks for a VGA display project, along with options for flexibility in the second part of the semester. Students have the opportunity to propose their own projects, work individually or in groups, and utilize various complex input/output devices.

vwilliam
Télécharger la présentation

Mini-Pacman VGA Display: Flexibility in Second Part of Semester

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. ECE 448: Lab 4 VGA Display Mini-Pacman

  2. Flexibility in the Second Part of the Semester Schedule A: Lab 4: VGA display(2 weeks) – 8 points Lab 5: Computer Graphics (2 weeks) – 8 points Lab 6: PicoBlaze System (2 weeks) – 8 points Lab 7: Logic Analyzer (in class) – 2 bonus points Total: 24+2 points Schedule B: Lab 4: VGA display(3 weeks) – 8 points Lab 5: Computer Graphics or Lab 6: PicoBlaze System (3 weeks) – 8 points Lab 7: Logic Analyzer (in class) – 2 bonus points Total: 16+2 points

  3. Flexibility in the Second Part of the Semester Schedule A+: • Intended for students who do exceptionally well in the first part of the semester ( ≥ 90% of points for Labs 1-3) • An open-ended project proposed by students, the TAs, or the instructor • Can be done individually or in groups of two students • Schedule: Detailed Specification (1 week) • Milestone 1 (2 weeks) • Milestone 2 (2 weeks) • Final Report & Deliverable (1 week) Total: 25 points

  4. Expected Project Tasks Schedule A+: • Use of at least one complex input/output device • VGA display • Keyboard or Mouse (USB-HID) • Ethernet, etc. • Use of on-chip embedded resources: BRAMs, DSP units • or • External on-board memory • or • Soft microcontroller core (e.g. Picoblaze) • 3. (bonus) Use of PMOD Accessory Boards • implementing additional functions, • e.g., A/D, D/A, motor drivers, sensors, cameras.

  5. Lab 4 Exercises

  6. Reading • P. Chu, FPGA Prototyping by VHDL Examples • Chapter 12, VGA Controller I: Graphic • Chapter 12, VGA Controller II: Text • Nexys3 Reference Manual • VGA Port, pages 15-17 ECE 448 – FPGA and ASIC Design with VHDL

  7. Lab4 Exercise 1Displaying synchronization signals on the oscilloscope Develop a testbench for the circuit, described in the figure above. Perform functional simulation, displaying ALL ports of vga_sync component. Synthesize and implement the top-level circuit using provided UCF file Perform timing simulation, displaying ALL ports of vga_sync component. Perform experimental testing using oscilloscope, displaying clk, hsync, vsync.

  8. Lab Exercise 2 Resolution: 640x480 Display: 8 colors (3 bits), 16 colors (4 bits), 64 colors (6 bits), 256 colors (8 bits) Refresh Rate: 25Hz, 30Hz, 60Hz (frames / second)

  9. Interface

  10. Use of switches

  11. Specification of coordinates of three objects assuming sw(4)=0

  12. Specification of colors of three objects

  13. Specification of dimensions of the ball

  14. Configuration : 1

  15. Configuration : 2

  16. Configuration : 3

  17. Configuration : 4

  18. Configuration : 5

  19. Configuration : 6

  20. Configuration : 7

  21. Configuration : 8

  22. Introduction to Lab 4

  23. Game Characters and Maze

  24. Task 1: Displaying the maze (Points: 25%) • Maze Color: Blue • Color Generator: Selects colors for the background and maze • VGA Controller: Sync generator

  25. Task 2: Displaying Diamonds in four corners (Points:10%) • Diamond Color: Magenta • The diamonds should be stationary objects placed in four corners shown above.

  26. Task 3: Display and create movement of character “Inky” (Points: 15%) • Inky should move in the direction shown above

  27. Task 4: Display and create movement of character “Shadow” (Points:15%) • Shadow should move in the direction shown above • Shadow and Inky should not collide with each other.

  28. Task 5: Introduce “Pacman” (Points:25%) • Use four push buttons (BTNU for Up, BTND for Down, BTNL for Left and BTNR for Right movement) to control Pacman’s movement. • Pacman should keep moving in one direction until any other button is pressed. • The goal of the Pacman is to get all four Diamonds without collision with any of the Ghost characters.

  29. Task 5 : Displaying score and number of lives left on VGA display (Points: 10%) • Display the score and number of lives on VGA display. • Each Diamond carries 200 points. • Whenever Pacman eats any of the Diamonds, the count on the VGA display should increment and display the total score. • Pacman should have three lives initially. Every collision with Shadow or Inky should result in loss of one life. The count of remaining lives should also be updated on the VGA display . After three such collisions, the game will be over. • When Pacman eats all four diamonds, this event should pause the game, and YOU WON should be displayed on the VGA display.

More Related