Lab 4 VGA Display Snake Game

Similar documents
Reconfigurable Computing Lab 01: Traffic Light Controller

Wire Buddy Manual IOpath Software

Phet Wave on a String Simulation!

Exercise 1: Control Functions

OPERATING INSTRUCTIONS FOR

OPERATING INSTRUCTIONS FOR

MOOLOOLABA YACHT CLUB YOUTH SAILING PROGRAM DRILL BOOK 1

Lab 5: Descriptive Statistics

HW #5: Digital Logic and Flip Flops

Describing a journey made by an object is very boring if you just use words. As with much of science, graphs are more revealing.

Cover Page for Lab Report Group Portion. Head Losses in Pipes

SENSUS PRO MANAGER (for SENSUS or SENSUS PRO devices) User s Guide -- Windows. Version 2.0 Published October 17, ReefNet Inc.

Technical Note. Determining the surface tension of liquids by measurements on pendant drops

Synchronous Sequential Logic. Topics. Sequential Circuits. Chapter 5 Steve Oldridge Dr. Sidney Fels. Sequential Circuits

Breakout. Level 3 Extended Diploma Unit 22 Developing Computer Games

σ = force / surface area force act upon In the image above, the surface area would be (Face height) * (Face width).

WELCOME TO THE REVOLUTION

Get it here. Page 1 of 7 Date:Jan 8, 2014

MEMORANDUM. Stefanie Sparks Smith, Secretary-Rules Editor NCAA Women s Lacrosse Rules Committee.

Relative Motion. A look at "Frames of Reference" Website

Discovering Special Triangles Learning Task

BathySurvey A Trimble Access hydrographic survey module

UNIVERSITY OF WATERLOO

1. First start a new scratch project and remove the default sprite.

SPLIT HOPKINSON PRESSURE BAR OPERATIONS MANUAL 5/9/2014

FireHawk M7 Interface Module Software Instructions OPERATION AND INSTRUCTIONS

Observing Waves, Their Properties, and Relationships

Reverse Osmosis System Installation Guide and Operation Manual.

Front-end Realization of ASIC for Traffic Light Control with Real Time Clock Synchronization

The Coach then sorts the 25 players into separate teams and positions

Pendant Drop Measurements

LEGO Engineering Conferences ROBOLAB and MINDSTORMS Education Version 4.5 March 2008

Cover Page for Lab Report Group Portion. Drag on Spheres

THE RACE SCREEN Map: Time: Total Time: Record: Rank: Ladybug: Speed: Rival Boarder:

[MYLAPS INTEGRATION]

Gravity: How fast do objects fall? Teacher Version (Grade level: 4 7)

CONSOLE-320 ENGLISH. 230A: CONSOLE-320 with cable data output Item 230B: CONSOLE-320 with cable + wireless radio data output

Cover Page for Lab Report Group Portion. Boundary Layer Measurements

Lab # 03: Visualization of Shock Waves by using Schlieren Technique

Wicket Cards & Tags For Cashless Stored Value Payment Systems Rev: 10/2008

MP-70/50 Series Scoreboard Controller User Guide

Push Button Minute Timer Programmable between 1 minute and 30 minutes with built in multi-way control

3. Select a colour and then use the Rectangle drawing tool to draw a rectangle like the one below.

OMNISPORT 2000 SWIMMING QUICK REFERENCE

UNIQUE ADVANTAGES OF PIPENET

Product Overview. Product Description CHAPTER

Specifications for Synchronized Sensor Pipe Condition Assessment (AS PROVIDED BY REDZONE ROBOTICS)

CSE 154: Web Programming Spring 2017 Homework Assignment 5: Pokedex. Overview. Due Date: Tuesday, May 9th

Revision 7/2/02 MEASURING WRAVMA DRAWING DESIGNS WITH SCORING TEMPLATES

SNOOKER SCORE BOARD. Snooker Scorer. Digital snooker score board. Operator & Reference Handbook

Experiment 11: The Ideal Gas Law

KARL SUSS MJB3 MASK ALIGNER STANDARD OPERATING PROCEDURE

If you need to reinstall FastBreak Pro you will need to do a complete reinstallation and then install the update.

Tru Flight TRUFLIGHT INSTALLATION GUIDE TRUGOLF.COM

EZ Boom 2010 System for the EZ Guide 500 Lightbar Triangle Ag Services Users Guide

Lab #1: Introduction to Lab Techniques INTRODUCTION

NITROGEN INFLATION SYSTEM NG-4, NG-6, NG-12, NG-18

Boyle s Law: Pressure-Volume Relationship in Gases

ACV-10 Automatic Control Valve

WATCH COLLECTION NG701 SERIES INSTRUCTION MANUAL

SHEET 2: VERTICAL INSTALLATION

Statistics for Process Validation Training Master Handbook

CCT-7320/ROC-2313 Reverse Osmosis Controller

Markings Technical Committee Chapter 3H: Roundabout Markings APPROVED IN NCUTCD COUNCIL ON JANUARY 20, 2006

Version-E Manual

Touch Screen Guide. OG-1500 and OG Part # T011

WIND CLIPPER KTS ILLUM SCALE INC DEC CLIPPER WIND SYSTEM

Building up from the back central defenders and midfielders basic cooperation

Steltronic StelPad User Guide

TABLES. Multi-Purpose Table Solutions

Misaligned Folds Paper Feed Problems Double Feeds Won t Feed FLYER Won t Run iii

Step 1. CoderDojo Milltown Exercise 1 Pong Page 1 of 13

1/6 CAL.YM88 1/5 SECOND CHRONOGRAPH WITH COUNTDOWN TIMER. Instructions. Features 24-hour, Hour, Minute and Small second hands.

Development Program 4-7 years

BIT User Manual. 1. About this manual. 2. Know your BIT 1.1. WARNING System Components

MP-70/50 Series Scoreboard Controller User Guide

MoLE Gas Laws Activities

Lesson: Pitch Trim. Materials / Equipment Publications o Flight Training Manual for Gliders (Holtz) Lesson 4.4 Using the Trim Control.

Module 3 Developing Timing Plans for Efficient Intersection Operations During Moderate Traffic Volume Conditions

Horse Farm Management s Report Writer. User Guide Version 1.1.xx

INTERNATIONAL SPORT KITE COMPULSORIES BOOK. Version APRIL-2017

Flight Dynamics II (Stability) Prof. Nandan Kumar Sinha Department of Aerospace Engineering Indian Institute of Technology, Madras

Rescue Rover. Robotics Unit Lesson 1. Overview

Sportsman (401) Maneuver Descriptions. And. Suggested Downgrades

S4W PRO ROBOT. User Manual. paddlepalace.com

1/27/16. NCAA Rules Presentation. Critical Scoring Area Rule 8. The Dots Rule 1, Section New Rules and Clarifications

SCRATCH CHALLENGE #3

Industrial Pneumatics

All Sport 5000 Control Console

THREE DIMENSIONAL STRUCTURES OF FLOW BEHIND A

SG36KTL-M Quick Installation Guide. 1 Unpacking and Inspection

HOW TO CREATE PHOTO TWIRLS

SG33KTL-M Quick Installation Guide. 1 Unpacking and Inspection

Lab 1. Adiabatic and reversible compression of a gas

2018 NCAA WOMEN S LACROSSE TABLE REFERENCE SHEET Edited by Stefanie Sparks Smith, Women s Lacrosse Secretary-Rules Editor

A Hare-Lynx Simulation Model

Experiment P18: Buoyant Force (Force Sensor)

"Aircraft setup is a constant process really. Every

FAI Sporting Code. Volume F5 Radio Control Electric Powered Model Aircraft. Annexes 5A 5E. Section 4 Aeromodelling Edition

2019 NCAA WOMEN S LACROSSE TABLE REFERENCE SHEET Edited by Stefanie Sparks Smith, Women s Lacrosse Secretary-Rules Editor

Transcription:

Lab 4 VGA Display Snake Game Design and implement a digital circuit capable of displaying predefined patterns on the screen of a VGA monitor, and provide the basic components for the Snake game. Your circuit must generate all control and data signals driving the VGA output of the NEXYS3/NEXYS4 board. Please refer to the lecture and the introductory lab slides for information about the meaning and timing of VGA control signals. Task 1: Displaying Snake and Background (Points: 15%) Design a circuit to display a Snake (shown below) in the center of the screen. The background of the screen should be in White color. Each circle of the snake should be 15 pixels in diameter. Task 2: Controlling Snake movement (Up, Down, Left and Right) (Points: 20%) Extend Task 1 by adding the capability to move the Snake to any point inside the boundary. The game should reset when the snake s head hits the boundary, and the snake must not exit the boundary. The movement of the snake should be always ON. Once the direction is given, the Snake moves in the specified direction until a player gives a new direction. The movement of the Snake should be controlled by the four push buttons (BTNU, BTND, BTNL and BTNR).

The Red arrows in the diagram below depict movement of the Snake (these arrows should not be drawn on the screen). When the Snake is moving in the upward direction: BTNR should be used to move Right and BTNL should be used to move left (pushing BTNU and BTND should have no effect). When the Snake is moving in the Right Direction: BTNU should be used move Up and BTND should be used to move Down (pushing BTNR and BTNL should have no effect).

When the Snake is moving in the left direction: BTNU should be used to move Up and BTND should be used to move Down (pushing BTNR and BTNL should have no effect). When the Snake is moving in the downward direction: BTNL should be used to move Right and BTNR should be used to move left (pushing BTNU and BTND should have no effect).

Example: When you turn right, after the first step, the snake should look like in the image below: After the second step, the snake should look like in the image below:

Task 3: Snake speed (Points: 5%) Extend Task 2 to provide the capability to adjust the Snake s speed. Switches 0-1 select the step size to change the Snake s speed (in both horizontal and vertical direction). One step is equal to 4 pixels, which allows the user to change the step size between 4 and 12 pixels in both x and y direction. Position 00 (default) means step size = 4, 01 means step size = 8, and 10 means step size = 12. The default speed of the snake (in steps per second) should be determined experimentally. Task 4: Displaying Boundaries and Diamonds (Points: 25%) Extend Task 3 by adding a boundary (in black color) and Diamonds in Red Color. The snake should be restricted to stay within this boundary. Set the width of boundaries initially to be equal to 2 pixels. You can adjust the width and (x, y) coordinates of the boundary lines in order to obtain the image shown in the figure below. Diamonds should be placed as the shown in the image below. The height and width of each Diamond should be 15 pixels. These Diamonds are the Snake s food. Whenever the Snake touches any of the Diamonds, the Diamond should disappear from the screen meaning that the Snake has eaten the food.

Task 5: Displaying score and rules on VGA display (Points: 25%) Extend Task 4 by displaying the Score and the game rules on VGA display. 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 Won! in the Green Color should be displayed on the screen.

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

Bonus Task 2: Adding Blinking Stars (Points 5%) In Task 6, when Snake eats all food, the circuit should display You Won! with yellow stars blinking for 5 seconds, as shown in the figure below.

*Note: You do not need to display any coordinate or axis names shown in the above figures. This information is provided just for your reference. Deliverables: 1. VHDL source codes for all modules required by the game. 2. UCF file. 3. A short report describing A. List of tasks fully implemented B. List of tasks attempted but not completed (please describe shortly what is missing) C. List of tasks not attempted D. List of any deviations from the original specification. E. Resource utilization a. Number of CLB slices b. Number of LUTs c. Number of flip-flops d. Number of DSP units

e. Number of BRAMs E. Timing properties a. Minimum clock period after synthesis [ns] b. Maximum clock frequency after synthesis [MHz] c. Minimum clock period after implementation [ns] d. Maximum clock frequency after implementation [MHz] F. Difficulties encountered and lessons learned. Important Dates Hands-on Sessions and Introductions to the Experiment Demonstration and Deliverables Due for Schedule A Demonstration and Deliverables Due for Schedule B (-8 point penalty for not attempting Lab 5 or Lab 6; no penalty for Lab 4) Monday Section 03/21/2015, 03/28/2015 Tuesday Section 03/22/2015, 03/29/2015 Wednesday Section 03/23/2015, 03/30/2015 04/04/2015 04/05/2015 04/06/2015 04/11/2015 04/12/2015 04/13/2015