ECE 448: Lab 4 VGA Display Snake Game. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.

Slides:



Advertisements
Similar presentations
Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Advertisements

ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.
ECE FPGA Design: Breakout Semester Project Proposal Derek Rose Richard Wunderlich.
Characterization Presentation Spring 2006 Implementation of generic interface To electronic components via USB2 Connection Supervisor Daniel Alkalay System.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
DIGITAL DESIGN WITH VHDL Exercise 1 1Muhammad Amir Yousaf.
ECE 448 FPGA and ASIC Design with VHDL
ECE 448: Spring 12 Lab 4 – Part 2 Finite State Machines Basys2 FPGA Board.
 Purpose of our project  Get real world experience in ASIC digital design  Use same tools as industry engineers  Get practical experience in microprocessor.
Lab 2: Capturing and Displaying Digital Image
Digilent System Board Capabilities Serial Port (RS-232) Parallel Port 1 Pushbutton Hint: Good for a reset button Connected to a clock input. See Digilent.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
Presented by : Maya Oren & Chen Feigin Supervisor : Moshe Porian Lab: High Speed Digital System One Semester project – Spring
ECE291 Computer Engineering II Lecture 9 Josh Potts University of Illinois at Urbana- Champaign.
ECE 448: Lab 6 VGA Display (mini chess game). Video Graphic Array (VGA) Resolution: 640x480 Display: 16 colors (4 bits), 256 colors (8 bits) Refresh Rate:
Virginia Commonwealth University School of Engineering DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING Embedded Systems-EGRE 631 TECHNO* Toward an Interactive.
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2009.
1 Keyboard Controller Design By Tamas Kasza Digital System Design 2 (ECE 5572) Summer 2003 A Project Proposal for.
Spring Introduction  Today’s tutorial focuses on introducing you to Xilinx ISE and Modelsim.  These tools are used for Verilog Coding Simulation.
EE4OI4 Engineering Design UP1core Library Functions.
Linux+ Guide to Linux Certification Chapter Ten The X Window System.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 1 VGA Synchronization ECE 448 Lecture 9.
Introduction to VGA 數位電路實驗 TA: 吳柏辰 Author: Trumen.
ECE 449: Computer Design Lab Coordinator: Kris Gaj TAs: Tuesday session: Pawel Chodowiec Thursday session: Nghi Nguyen.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 12 PicoBlaze Overview.
COMP541 Video Monitors Montek Singh Oct 2, 2015.
Introduction to FPGA Created & Presented By Ali Masoudi For Advanced Digital Communication Lab (ADC-Lab) At Isfahan University Of technology (IUT) Department.
ECE 448: Spring 11 Lab 3 Part 1 Sequential Logic for Synthesis.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 2 Animation ECE 448 Lecture 9.
ECE FPGA Microprocessor Design Erik Lee, Edward Jones, Emily Kan.
Introduction to Experiment 7 Sorting Using PicoBlaze ECE 448 Spring 2010.
Computers Are Your Future Chapter 1 Slide 1 Introduction to the Computers & Internet Chapter 1 Concepts of Information Technology IT.
George Mason University ECE 449 – Computer Design Lab Welcome to the ECE 449 Computer Design Lab Spring 2005.
Graduation project (Hardware Project) Prepared By : Sadiq Al-Haj M.Abu-baker.
ECE 448: Lab 4 VGA Display Mini-Pacman. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
ECE 448: Lab 4 VGA Display. Bouncing Ball.. Organization and Grading.
Computer Engineering 4OI4 Project Proposal James Gurunlian Clarence Ngai
Proposal Presentation Aircraft Combat (MINI Game) Tan Siyu Miao Yun 10/9/2013.
ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.
ECE 448: Lab 5 VGA Display. Breaking-Bricks..
Figure 10.1 Color CRT and Phosphor Dots on Face of Display.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
ECE 448: Lab 4 VGA Display The Frogger. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 3 Animation ECE 448 Lecture 11.
ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.
Teaching Digital Logic courses with Altera Technology
CSE466 - Fall What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or.
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
ECE 448 Lab 3 FPGA Design Flow Based on Xilinx ISE and ISim. Using Seven-Segment Displays, Buttons, and Switches.
What is a Laser Mouse? Laser Mouse is a tool that will enable users to control a mouse on a projection screen using a laser pointer. Users will no longer.
Abstract Hooked on Harmonix has been helping you play piano since The project takes input from a commercial MIDI keyboard and displays an image of.
1 COMP541 Video Monitors Montek Singh Mar 11, 2016.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 3 Animation ECE 448 Lecture 11.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 5 The Complete Pong Game ECE 448 Lecture 13.
1 of 24 The new way for FPGA & ASIC development © GE-Research.
Implementation of Pong over VGA on the Nexys 4 FPGA
Free Projects For CENG 3430 CENG3430 Free Projects v.7c.
VGA Display Part 1 VGA Synchronization
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
Real-time Image Processing System
RTL Design Methodology
CENG3430 Rapid Prototyping of Digital Systems
Lecture 16 PicoBlaze I/O & Interrupt Interface
ECE 448: Lab 4 VGA Display Mini-Pacman Game.
ECE 448: Lab 6 Using PicoBlaze Fast Sorting Class Exercise 2.
Getting Started with Vivado
Introduction to VGA Digital Circuit Lab TA: Po-Chen Wu.
VGA Display: VGA Synchronization & Pixel Generation
(Lecture by Hasan Hassan)
Presentation transcript:

ECE 448: Lab 4 VGA Display Snake Game

Flexibility in the Second Part of the Semester 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 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 Schedule A: Schedule B: Total: 24+2 points Total: 16+2 points

Flexibility in the Second Part of the Semester 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) Schedule A+: Total: 25 points

Expected Project Tasks Schedule A+: 1.Use of at least one complex input/output device VGA display Keyboard or Mouse (USB-HID) Ethernet, etc. 2.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.

Lab 4 Exercises

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

7 Lab 4 Exercise 1 Displaying synchronization signals on the oscilloscope

8 Develop a testbench for the circuit, described in the figure on the previous slide. 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. Lab 4 Exercise 1: Tasks

9 Lab 4 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)

Interface

Use of switches

Configuration : 1

Configuration : 2

Configuration : 3

Configuration : 4

Configuration : 5

Configuration : 6

Configuration : 7

Configuration : 8

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

Specification of colors of three objects

Specification of dimensions of the ball

Introduction to Lab 4

Game Objects and Background

Task 1: Create Background (Points: 15%) Snake Color: Black and Red Color Generator: Selects colors for the background VGA Controller: Sync generator

Task 2: Snake Movement(Points:20%) The game should reset when the snake hits the boundary. The snake must not cross the boundary. Movement of snake is always ON. The Red arrows depict movement of the Snake; they should not be drawn on the screen.

Task 3: Snake speed (Points: 5%) Switches 0-1 select the step size to change the Snake’s speed (in both horizontal and vertical direction). position “00” means step size = 4, “01” means step size = 8, and “10” means step size = 12.

Task 4: Displaying Boundaries and Diamonds (Points:25%) The Snake should be restricted to stay within the boundaries. Whenever the Snake touches any of the Diamonds they should disappear from the screen.

Task 5: Displaying score and rules on VGA display (Points:25%) Whenever the Snake touches any of the Red Diamonds, the Score should be incremented and displayed on the screen. Whenever the Snake touches the Boundary the Game has to restart and the score must be reset to ‘0’.

Task 6: Displaying Text on the Screen (Points: 10%) When the Snake eats all food, then you should display “You Won!” in the Green Color on the screen.

Bonus Task 1: Adding movable boundaries (Points: 10%) Add two small blue inner boundaries which act exactly the same like the outside black boundary. These lines move up and down in constant speed, as shown in the figure below. Whenever the Snake touches the Boundary the Game has to restart and the score must be reset to ‘0’.

Bonus Task 1: : Adding movable boundaries(2)

Bonus Task 1:Adding movable boundaries(3)

Bonus Task 2:Adding Blinking Stars (Points: 10%) When the Snake eats all food, you should display “You Won!”, with blinking stars, for 5 Seconds as shown below.

Lab 3 Demos