ECE 525.442 VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.

Slides:



Advertisements
Similar presentations
Lecture 15 Finite State Machine Implementation
Advertisements

10/2/0810/2/2008ECE 561 -ECE Lecture 51 State Machine Implementation 10/2/20081ECE Lecture 5.
Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Counters. In class excercise How to implement a “counter”, which will count as 0,3,1,4,5,7,0,3,1,…… Q2Q1Q0D2D1D
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Counters 4017 decade counter (1-of-10). What is a Counter? In digital logic and computing, a counter is a device which stores (and sometimes displays)
Digital Camera Design. Agenda Digital video formats Image sensor technology Sensor interface with CoolRunner-II LCD CoolRunner-II system design.
ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.
FPGA Breakout Atari 2600 Video Game FPGA Reproduction
Stop Watch Sean Hicks Dongpu Jin ELEC 307 Project 2 Instructor: Alvaro Pinto April/12/2011.
Motion Tracking Recorder 360 (MTR-360) Group #1 Lee Estep Philip Robertson Andy Schiestl Robert Tate.
Presenting: Itai Avron Supervisor: Chen Koren Final Presentation Spring 2005 Implementation of Artificial Intelligence System on FPGA.
Team Monte Cristo Joseph Carrafa Sharon Clark Scott Hassett Alex Mason The Deep Fried Game Station.
Lecture 121 Lecture 12: VGA Video ECE 412: Microcomputer Laboratory.
THANGJAM105/MAPLD1 EFFICIENT FPGA IMPLEMENTATION OF PWM CORE.
Dr. Sanatan Chattopadhyay Dr. Sudipta Bandopahyaya
© 2011 Xilinx, Inc. All Rights Reserved This material exempt per Department of Commerce license exception TSU Xilinx Tool Flow.
Introduction to Counter in VHDL
1 Daniel Micheletti Darren Allen Daniel Mazo Jon Lamb Lyle Johnson Pixel Perfect WiCam: A Wireless Digital Camera Presented by : Kyle Swenson.
NTSC to VGA Converter Marco Moreno Adrian De La Rosa
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
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.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
Presented by : Maya Oren & Chen Feigin Supervisor : Moshe Porian Lab: High Speed Digital System One Semester project – Spring
Matrix Multiplication on FPGA Final presentation One semester – winter 2014/15 By : Dana Abergel and Alex Fonariov Supervisor : Mony Orbach High Speed.
Virginia Commonwealth University School of Engineering DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING Embedded Systems-EGRE 631 TECHNO* Toward an Interactive.
High-Level Interconnect Architectures for FPGAs An investigation into network-based interconnect systems for existing and future FPGA architectures Nick.
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.
L16 – Testbenches for state machines. VHDL Language Elements  More examples HDL coding of class examples Testbench for example  Testing of examples.
EE4OI4 Engineering Design UP1core Library Functions.
ECE 477 Design Review Team 2  Fall Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria.
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.
COMP541 Video Monitors Montek Singh Oct 2, 2015.
FPGA Design Flow Based on Using Seven-Segment Displays,
ECE FPGA Microprocessor Design Erik Lee, Edward Jones, Emily Kan.
Lecture #3 Page 1 ECE 4110–5110 Digital System Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.HW#2 assigned Due.
George Mason University ECE 449 – Computer Design Lab Welcome to the ECE 449 Computer Design Lab Spring 2005.
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
Introduction to Experiment 6 Internal FPGA Memories, Pseudo Random Number Generator, Advanced Testbenches ECE 448 Spring 2009.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
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.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
Lopamudra Kundu Reg. No. : of Roll No.:- 91/RPE/ Koushik Basak
ECE 448: Lab 5 VGA Display. Breaking-Bricks..
Figure 10.1 Color CRT and Phosphor Dots on Face of Display.
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.
ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones.
Teaching Digital Logic courses with Altera Technology
Introduction ELEC 418 Advanced Digital Systems Dr. Ron Hayne Images Courtesy of Thomson Engineering.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
ECE 448 Lab 3 FPGA Design Flow Based on Xilinx ISE and ISim. Using Seven-Segment Displays, Buttons, and Switches.
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.
TFT-LCD Display + Camera
1 COMP541 Video Monitors Montek Singh Mar 11, 2016.
Implementation of Pong over VGA on the Nexys 4 FPGA
Introduction to the FPGA and Labs
COMP541 Video Monitors Montek Singh Oct 7, 2016.
Maj Jeffrey Falkinburg Room 2E46E
Project 2: Ultra Traffic Light Controller
COMP541 Video Monitors Montek Singh Feb 20, 2015.
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
Alpha Blending and Smoothing
Real-time Image Processing System
ECE 448: Lab 4 VGA Display Mini-Pacman Game.
Finite State Machines Experiment 4 Introduction
Introduction to VGA Digital Circuit Lab TA: Po-Chen Wu.
Presentation transcript:

ECE VHDL Microprocessor Design Final Student Project August 14 th, 2012 Emily Kan Erik Lee Edward Jones

Outline  Introduction  Background  Design  Implementation/ Verification  Results & Analysis  Conclusion Troubleshooting Troubleshooting Future Outlook Future Outlook  References *Note: Not our version implemented in this project!

Introduction  Low-cost / scalable design influence increases with advances in modern technology  Design reusability becoming more prominent in marketplace  Digital Design w/FPGAs begins to grow Core IP VHDL files easily adaptable and reusable with existing FPGAs Core IP VHDL files easily adaptable and reusable with existing FPGAs Multiple VHDL core instantiations leads to improved design flow Multiple VHDL core instantiations leads to improved design flow

Introduction cont’d  Video game development becomes easier! Functionality of video games application is moved from circuit board ICs to FPGA Functionality of video games application is moved from circuit board ICs to FPGA ○ Alleviates some design challenges, leaving designers to create the implementation Keyboard use Keyboard use Port Control Port Control Display output Display output FPGA selection FPGA selection

Background  Flow of game design Initialize VGA Controller Create initial Background Display Generate Moving Objects Create Frog at Reset Position Detect Frog Motion Check Frog position against objects Output Score Start-Up Sequence Game Sequence

Design

Design VGA controller  Display 640 x 480  50MHz board clock  25MHz pixel clock Horizontal sync and Vertical sync pulses driven by 25MHz clock 8-bit color vector ○ 2-bit blue ○ 3-bit green ○ 3-bit red VGA Port Hsync Vsync Red Green Blue Game Module Horizontal sync Vertical sync Red Green Blue

Design PS/2 Keyboard Component Instantiation of ○ PS/2 driver core given ○ Basic connection and logic Output clock to keyboard Input keypress data from keyboard (11- bits) Map data to frog direction UpDownLeftRight Game Module Keyboard Data Clock PS/2 Module Data Clock

Design Overview  Block Diagram ○ Object generator ○ Frog generator ○ Background generator ○ Frog Location ○ Collision Detection – Implements Rules and Interactions

Design  Structure of Frogger Background ○ Road ○ Grass ○ River Objects ○ Cars ○ Logs ○ Frog

Game Layout  Erik  Structure of the game  Background  Objects  Images of early stages of the game  Images of final product of the game

Design Rules Implementation  Finite State Machine - Mealy  Define outputs Dead Reset On a log  Define inputs Object colors Background colors Frog position  Define states  Define transitions (interactions with objects and background)

Design Finite State Machine Diagram onGrass_stateonRoad_state dead_state win_state All Bgcolor=black / Dead=‘0’ All Bgcolor=green/ Dead=‘0’ Any Objcolor/=black / Dead=‘0’ Counter< 3secs / Dead=‘1’ Counter>=3secs/ Dead=‘0’ Reset=‘1’ All objcolor=black/ Dead=‘0’ All Bgcolor=blue / Dead=‘0’ Any objcolor=green and Row=0 / Dead=‘0’ Counter< 3secs / win=‘1’ onRiver_state Any objcolor=brown/ OnLog=‘1’ Any Bgcolor=black / Dead=‘0’ All Bgcolor=green/ Dead=‘0’ Counter>=3secs/ Reset=‘1’

Implementation & Verification  VGA drivers 2 Counters ( pixel count) 35 DFFs 2 Adders/Subtractors 8 Comparators  PS/2 Keyboard driver 1 Counter 20 DFFs 1 Xor  Background Generator 8 DFFs  Object Generator 2 Accumulators 8 DFFs 1 Adder/Subtractor 5 Comparators  Frog Generator 1 Counter 8 DFFs 5 Comparators  Frog Location 1 ROM (frog Row location) 42 DFFs 3 Adders/Subtractors 5 Comparators  1 Finite State Machine 5 states, 61 transitions, 22 inputs, 3 outputs 1 Counter 64 DFFs 8 Comparators

Results and Analysis

Results & Analysis  Device Utilization Summary as reported from Xilinx ISE

Demonstration

Conclusion

References  NEXYS2 Reference Manual  FPGA Resource Guide tests/designcontest.cfm?contestid=8 tests/designcontest.cfm?contestid=8 tests/designcontest.cfm?contestid=8  Keyboard Implementation & Application _keyboard_interface/theory_ps2.html _keyboard_interface/theory_ps2.html _keyboard_interface/theory_ps2.html