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:

Slides:



Advertisements
Similar presentations
Monitors and Sound Systems
Advertisements

1 COMP541 Video Monitors Montek Singh Oct 1, 2014.
Monitors and Sound Systems lesson 5 This lesson includes the following sections:  Monitors  PC Projectors  Sound Systems.
1 Graphic adapters and monitors – the summary. 2 Outline The summary of principles of displaying the information – adapters and monitors. Black and white.
Display Technology  Images stolen from various locations on the web...
Venom8y Video Game CSE 378 Final Project Bart Pietrasik Can Kulduk Kevin Van Sickle.
Screen Monitor Visual display unit (VDU)
Monitors and Sound Systems section 3A This lesson includes the following sections: · Monitors · PC Projectors · Sound Systems.
Introduction to VGA Wei Miao Yuxuan Zhou 1. 2 VGA VGA = Video Graphics Array Introduced by IBM in 1987, still using today All points addressable Transmitting.
Power Supplies. Basics Power Supply Unit aka PSU Converts 110/220VAC to 3.3, ±5, ±12 VDC There is a 5VDC standby in ATX PSU Rating is in Watts. More is.
Video Monitor Uses raster scanning to display images
LIS508 lecture 6: output devices Thomas Krichel
Basics of a Computer Graphics System Introduction to Computer Graphics CSE 470/598 Arizona State University Dianne Hansford.
Peripherals The term peripherals refers to all hardware devices that are attached to your computer and are controlled by your computer system Peripherals.
display screens and ergonomics
SDR NET "Clock50In" TNM_NET = "Clock50In"; TIMESPEC "TS_Clock50In" = PERIOD "Clock50In" 50 MHz HIGH 50 %; # Clock #
Owais Ibrahim Akram Mohsin Murad. ONE OF THE BASIC ATTARI GAMES. THE PONG GAME CONSISTS OF A BALL RANDOMLY BOUNCING ON THE SCREEN. A PADDLE AT THE BASE.
ECE291 Computer Engineering II Lecture 9 Josh Potts University of Illinois at Urbana- Champaign.
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
Video Monitor Uses raster scanning to display images –Beam of electrons illuminates phosphorus dots on the screen called pixels. Starting at the top of.
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2009.
EE4OI4 Engineering Design UP1core Library Functions.
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.
Lab 8 Bit-Mapped Graphics Moving from text-based graphics to bit- mapped graphics. Easy to draw graphic points and lines using INT 10h, Function 0Ch (write.
Video Monitor CRT: Cathode Ray Tube
COMP541 Video Monitors Montek Singh Oct 2, 2015.
FPGA Design Flow Based on Using Seven-Segment Displays,
Lecture # 4 Output Devices. Output Devices Devices that convert machine language into human understandable form. Output can be in display form, on paper.
Introduction to Graphical Hardware Display Technologies
ECE 448: Lab 5 DSP and FPGA Embedded Resources (Signal Filtering and Display)
2/1 A Look at Monitors Roll call Video: monitors Step-by-step lecture.
Graphics: Conceptual Model Real Object Human Eye Display Device Graphics System Synthetic Model Synthetic Camera Real Light Synthetic Light Source.
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.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Chess By Kezia Farley.
Nicole Juli Nicolás Uriarte 1o 1 St.Brendan´s 2011.
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Video Card CES Industries, Inc. Lesson 10.  Translates computer information of binary digital data into visual information that the monitor can understand.
ECE 448: Lab 5 VGA Display. Breaking-Bricks..
Figure 10.1 Color CRT and Phosphor Dots on Face of Display.
Computer Fundamentals MSCH 233 Lecture 5. The Monitor A Monitor is a video screen that looks like a TV. It displays both the input data and instructions,
Every chess master was once a beginner. Irving Chernev
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.
K.B.H.POLYTECHNIC,MALEGAON CAMP, MALEGAON. Computer Hardware & Maintenance. S.Y.C.M/I.F Guided By :- Mr.K.S.Pawar. Lecturer in Computer Department.
10/19 Monitors CRT monitors: Flat-panel displays Electron guns
BY: Ben & Nelson. You have a number of decisions to make when purchasing. These few things affect how well your display will perform for you, how much.
Week 9 Monitors and output to the screen. Monitors, also known as Visual display units (V.D.Us) Desktop computers contain a Cathode Ray Tube (C.R.T.)
ECE 448 Lab 3 FPGA Design Flow Based on Xilinx ISE and ISim. Using Seven-Segment Displays, Buttons, and Switches.
Name Enrolment no.: Dhruti Desai Khushboo Desai Sneha Gangwani Rajul Shah
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.
1.  The primary output device in a graphics system is a video monitor. These monitors are based on Cathode Ray Tube (CRT) design.  CRT is a vacuum tube/electron.
1 COMP541 Video Monitors Montek Singh Mar 11, 2016.
ECE 448 Lab 3 FPGA Design Flow Based on Xilinx ISE and Isim. Using Seven-Segment Displays, Buttons, and Switches.
Implementation of Pong over VGA on the Nexys 4 FPGA
DISPLAY DEVICES CIS 10, Group #1 April 01, 2006 C. X. A. L. K. H. A. V. ((( L. C.
COMP541 Video Monitors Montek Singh Oct 7, 2016.
COMP541 Video Monitors Montek Singh Sep 15, 2017.
Computer Graphics Lecture 3 Computer Graphics Hardware
COMP541 Video Monitors Montek Singh Feb 20, 2015.
CHESS PIECES.
Types of monitors CRT Cathode Ray Tube LCD Liquid Crystal Display.
EEL 3705 / 3705L Digital Logic Design
Figure 9.1 Color CRT and Phosphor Dots on Face of Display.
VGA INTERFACE Ly Le Department of Electrical Engineering
ECE 448: Lab 4 VGA Display Mini-Pacman Game.
Introduction to VGA Digital Circuit Lab TA: Po-Chen Wu.
COMP541 Video Monitors Montek Singh Feb 6, 2019.
Rules to play chess. Chess is a played with 16 pieces: 8 pawns, 2 towers, 2 knights, 2 bishops, 1 queen and 1 king. Movements: Pawns: They only can move.
Presentation transcript:

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: 25Hz, 30Hz, 60Hz (frames / second) RGB: Red, Green and Blue colors Monitor technology: Cathode Ray Tube (CRT)

VGA 15 Pin

Horizontal TraceHorizontal Flyback Vertical Flyback VGA Monitor

VGA Control Signal Timing Resolution 640x us us us 25.6 us 32 us us us 32 us us ms ms 16.8ms ms

VGA Control Signal Timing Resolution 640x us us us 640 clock cycles 32 us us 656 clock cycles 800 clock cycles 752 clock cycles 480 lines 490 lines 525 lines 492 lines Frequency 25Mhz

PINs on Board NET "HS" LOC = "J14" | DRIVE = 2 | PULLUP ; NET "VS" LOC = "K13" | DRIVE = 2 | PULLUP ; NET "OutRed " LOC = "F13" | DRIVE = 2 | PULLUP NET "OutRed " LOC = "D13" | DRIVE = 2 | PULLUP ; NET "OutRed " LOC = "C14" | DRIVE = 2 | PULLUP ; We do not use this pin. NET "OutGreen " LOC = "G14" | DRIVE = 2 | PULLUP; NET "OutGreen " LOC = "G13" | DRIVE = 2 | PULLUP ; NET "OutGreen " LOC = "F14" | DRIVE = 2 | PULLUP ; We do not use this pin. NET "OutBlue " LOC = "J13" | DRIVE = 2 | PULLUP ; NET "OutBlue " LOC = "H13" | DRIVE = 2 | PULLUP ;

Color Generator External Control y_pixel x_pixel RGB_color_code 6 2 bits for Red component 2 bits for Green component 2 bits for Blue component Color Generator Output can be generated on the fly, or read from a precomputed look-up table (stored in BRAM)

Task 1: Displaying chessboard (2pts single person, 1.5pts teams) 80 pixels 60 lines Button 0 : cycle through 16 colors for color 1 Button 1 : cycle through 16 colors for color 2 Color 2 Color 1

Task 2: Displaying piece on the chessboard (2pts single person, 1.5pts teams) 80 pixels 60 lines Button 0 : cycle through 16 colors for color 1 Button 1 : cycle through 16 colors for color 2 Button 2 : cycle through 16 colors for color 3 Color 2 Color 1 Piece Color 3 Circle represents a bishop Square represents a rook

Task 3: Moving piece (one-space) on the chessboard (rook selected) 80 pixels 60 lines Switch(7)=‘0’ Button 0 : cycle through 16 colors for color 1 Button 1 : cycle through 16 colors for color 2 Button 2 : cycle through 16 colors for color 3 Color 2 Color 1 Piece Color 3 Switch(7)=‘1’ Button 0 : Move piece one square up Button 1 : Move piece one square down Button 2 : Move piece one square left Button 3 : Move piece one square right

Task 3: Moving piece (one-space) on the chessboard (bishop selected) entire task 3: (2pts single person, 1.5pts teams) 80 pixels 60 lines Switch(7)=‘0’ Button 0 : cycle through 16 colors for color 1 Button 1 : cycle through 16 colors for color 2 Button 2 : cycle through 16 colors for color 3 Color 2 Color 1 Piece Color 3 Switch(7)=‘1’ Button 0 : Move piece diagonally to the upper left Button 1 : Move piece diagonally to the upper right Button 2 : Move piece diagonally to the lower left Button 3 : Move piece diagonally to the lower right

Task 4: Moving piece (multi-spaces) on the chessboard (rook selected) 80 pixels 60 lines Switch(7)=‘0’ Button 0 : cycle through 16 colors for color 1 Button 1 : cycle through 16 colors for color 2 Button 2 : cycle through 16 colors for color 3 Color 2 Color 1 Piece Color 3 Switch(7)=‘1’ Button 0 : Move piece one square up Button 1 : Move piece one square down Button 2 : Move piece one square left Button 3 : Move piece one square right

Task 4: Moving piece (multi-spaces) on the chessboard (bishop selected) entire task 4: (2pts bonus single person, 1.5pts required for teams) 80 pixels 60 lines Switch(7)=‘0’ Button 0 : cycle through 16 colors for color 1 Button 1 : cycle through 16 colors for color 2 Button 2 : cycle through 16 colors for color 3 Color 2 Color 1 Piece Color 3 Switch(7)=‘1’ Button 0 : Move piece diagonally to the upper left Button 1 : Move piece diagonally to the upper right Button 2 : Move piece diagonally to the lower left Button 3 : Move piece diagonally to the lower right

Task 5 (2pts bonus single person, 1.5pts bonus for teams) Add a Knight to the possible pieces if switch (3) =‘1’ Use the buttons however you see fit to allow the knight to move in the 8 legal ways.

Rules If a movement cannot be done (e.g. the move would cause the piece to go off the board) LED 7 should light up and the piece should not move from its previous location. Other than LED 7 all led and Seven Segment displays can be used to print out any information on the state of the execution.

Switch functions Switches 0-1 determine current task “00” task 1 “01” task 2 “10” task 3 “11” task 4 or 5 Switches 2 and 3 determine the type of piece selected. Sw(3) ‘0’sw(2) selects between bishop (0) and rook (1) ‘1’ piece is a Knight (task 5)

Switch functions (continued) Switches 4-6 determine movement amount in tasks 4 and 5 Switch 7 selects between change color mode and move piece mode. If sw(7) = ‘0’ then up down buttons change only the color. If sw(7)=‘1’ then the buttons give the direction of the movement.

Button Functions Button 0 – up or upper left Button 1 – down or upper right Button 2 – left or lower left Button 3 – right or lower right