ECE 3829: Advanced Digital System Design with FPGAs A Term 2017

Similar documents
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

COMP 110 INTRODUCTION TO PROGRAMMING WWW

TUTORIAL I ECE 555 CADENCE SCHEMATIC SIMULATION USING SPECTRE

Guide for ESP32-Sense Development Kit

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

Lab 1 Load Cell Measurement System

1.12 Equipment Manager

PRINTING WORKPAPERS MODULE. Introduction. Objectives

Figure 1: A Battleship game by Pogo

Dry Contact Sensor. Communications cable - RJ-45 jack to sensor using UTP Cat 5 wire. Power source: powered by the unit. No additional power needed.

idcv Isolated Digital Voltmeter User Manual

High Level Design Circuit CitEE. Irere Kwihangana Lauren Mahle Jaclyn Nord

Lab 1 Load Cell Measurement System (Jan 09/10)

Desktop Teller Exception User Guide

Introduction to Life Cycle Risk Management Help Page

ELEC 7250 VLSI TESTING. Term Paper. Analog Test Bus Standard

Table of Contents. ilab Solutions: Core Facilities Core Usage Reporting

Experiment 7 Digital Logic Devices and the 555-Timer

Dry Contact Sensor DCS15 User Manual

GRFX 1801: Game Development for Platforms

TC 60 THERMOCOMPUTER TC 60. prog. start stop. Operating Instructions

Operating Instructions

ELECTRICAL CIRCUITS LABORATORY II EEE 209 EXPERIMENT-6. Operational Amplifiers II

What your Board Should look like!

Operating Instructions

Dry Contact Sensor

Experiment 7 Digital Logic Devices and the 555-Timer

Lab 1 Fun with Diodes

Lab 6 Spirometer System (Feb 20/21)

VIP-200. Point to Point Extension Configuration Quick Start Guide. Video over IP Extender and Matrix System

PAPER SPACE AND LAYOUTS

3: Community Gathering Space

Sibelius In The Classroom: Projects Session 3

CAR ASYST - Quick Start Guide MAIN MENU

Excel Step by Step Instructions Creating Lists and Charts. Microsoft

Maxon Motor & Motor Controller Manual

WiFi Lab C. Equipment Needs:

Renton School District

Experiment 4 Op-Amp Circuits

A4: Color. Light: You can usually any lighting that you wish.

A Quick & Dirty Guide to Revising your Novel

Art of Work Look & See: Who do you want to be? Utah Museum of Fine Arts Educator Resources and Lesson Plans Fall 2016

TROUBLESHOOTING GUIDE

1. Give an example of how one can exploit the associative property of convolution to more efficiently filter an image.

Puget Sound Company Overview. Purpose of the Project. Solution Overview

PhotoVu Digital Picture Frame Service & Repair Guide

Hospital Task Scheduling using Constraint Programming

You Be The Chemist Challenge Official Competition Format

Tee (Not a Coupler) Open Circuit Line. Z Z Z jz d

Creating HyperLynx DDRx Memory Controller Timing Model

Using the Laser Cutter

Spring 06 Assignment 3: Robot Motion, Game Theory

Photoshop Elements: Color and Tonal Correction Basics

SVT Tab and Service Visibility Tool Job Aid

Enabling the Bluetooth Low Energy Direct Test Mode (DTM) with BlueNRG-MS

National Curriculum Programme of Study:

Super ABC Plug-in kit for Pacman or Ms Pacman

Altis Flight Manager. PC application for AerobTec devices. AerobTec Altis v3 User Manual 1

Experiment 4 Op-Amp Circuits

BV4115. RF Packet Transmitter. Product specification. February ByVac 2007 ByVac Page 1 of 5

Art of Work Look & See: Who do you want to be? Utah Museum of Fine Arts Educator Resources and Lesson Plans Fall 2016

PreLab5 Temperature-Controlled Fan (Due Oct 16)

Grounding, Shielding, and Interference in Amptek Processors

Grade 7. National Core Visual Arts Standards. Lesson Assignment (Criteria for Success) Artist/Big Idea

From Beginner to Expert in 90 Minutes

The Mathematics of the Rubik s Cube

KIP Cost Center User Guide

EE 311: Electrical Engineering Junior Lab Phase Locked Loop

This app uses callas pdftoolbox server as the imposition engine and consequently you have to have that program installed on your Switch server.

OBJECT OF THE GAME COMPONENTS

c2b: slip two stitches onto cable needle and hold behind work. Knit the following two stitches, then knit the two stitches from the cable needle.

AccuBuild Version 9.3 Release 05/11/2015. Document Management Speed Performance Improvements

Hands-Free Music Tablet

BTEC EXTENDED DIPLOMA IN CREATIVE MEDIA PRODUCTION (GAMING)

Lab2 Digital Weighing Scale (Sep 18)

GANTOM iq AND iqx USER GUIDE

Design and fabricate a lamp using the given electrical component.

For as long as there have been people trying to find their way, there have been stars to guide them. Stars dance in the heavens weather we see them

Creating Gift Card Batches

Microsoft PowerPoint 2007

RiverSurveyor S5/M9 & HydroSurveyor Second Generation Power & Communications Module (PCM) Jan 23, 2014

Lite-On offers a broad range of discrete infrared components for application such as remote control, IR wireless data

Security Exercise 12

Dialectical Journals. o o. Sample Dialectical Journal entry: The Things They Carried, by Tim O Brien Passages from the text Pg#s Comments & Questions

How are humans responsible for the environment?

VM1AT-R1 INDUSTRIAL MICROCONTROLLER

CESSDA-Questionnaire on PIDs

Processors with Sub-Microsecond Response Times Control a Variety of I/O. *Adapted from PID Control with ADwin, by Doug Rathburn, Keithley Instruments

OV5640 Camera Board (B) USER MANUAL

Flash Image Rotator Web Part

Configure and Use Bar Tabs

CiDA CiDA: Unit 3 Unit 3

Spectracom GSG ecall Test Suite

1 Logistics. Chengkai Li. Department of Computer Science and Engineering University of Texas at Arlington Fall 2017

Application for Drive Technology

Kindergarten SUPPLY LIST

COMMERCIAL BUILDING PLAN REVIEW CHECKLIST CITY OF NOVI Community Development Department (248)

Fig 1 System architecture. As shown in Figure 1, AUV system could be separated in 3 main blocks:

Dorsey s Search. Name Address Home Telephone Work. Address. Property Owner s Signature

CUSTOMER PORTAL. Floorplan Management

Transcription:

ECE 3829: Advanced Digital System Design with FPGAs A Term 2017 Lab 2- VGA display and Light Sensr interface Reprt due at start f class Friday September 15 th Use the prvided Ambient Light Sensr mdule and a VGA Mnitr t create a light sensr mnitr n the Basys3 bard. This prject invlves the design f a number f interfaces t peripheral devices. It drives the VGA display using a cntrller, and reads the light sensr using an SPI interface. The lab invlves the use f multiple sequential circuits (cunters, shift registers, etc. but it is nt necessary t use state machines fr this lab), the Xilinx Cre Generatr (fr the MMCM), and use f existing IP (the Digilent VGA cntrller). There are multiple parts t this prject. T be successful will require a gd design and debugging apprach. Make simpler prjects that yu can test and debug separately and then cmbine them tgether. This lab (and reprt) can be cmpleted individually r with a lab partner (recmmended) it will be wrth 35% f yur curse lab grade. Lab Signff Deadline: during a lab sectin (during the week f September 11 th ) use the signff sheet that describes what yu have wrking AND bring alng yur Verilg listings fr the TAs t check (they will return these t yu t hand in with the reprt). The lab reprt is due in class n Friday September 15 th. Descriptin Preliminary: Mdify the simple seven segment display frm lab 1 t create a seven_seg mdule that can display a value frm "0000" t "FFFF" n the fur seven segment displays. The input t the mdule shuld be a 16-bit wide bus, with fur bits used t indicate the value t be displayed n each f the seven segments. Yu will als need a clck t cycle thrugh the fur digits. Make this a separate mdule yu will use this mdule in this and later prjects. Test this ut by using the slide-switches t enter varius numbers. Part 1: VGA display Use a MMCM t create a 25MHz clck required fr the VGA pixel clck. (see the MMCM tutrial fr hw t add this IP t yur design). Nte: nly cnnect the 100MHz FPGA clck t the MMCM (nthing else) Add a perid cnstraint t yur XDC t match the Basys3 bard 100MHz clck frequency. Use this 25MHz clck signal fr all the sequential lgic in this lab 1

Create a VGA display using the VGA cntrller prvided by Digilent (just the 640 by 480 versin) see infrmatin at end f this dc. Use the slide-switches t select and display the fllwing patterns Cmplete yellw display Hrizntal bars f alternating red and green clrs with each hrizntal bar 16 pixels high A black screen with a large white blck 64 pixels wide by 64 pixels high in the center f the screen A black screen with a large blck 64 pixels wide by 64 pixels high in the center f the screen with the clr determined by the value frm the light sensr (These shuld be relatively easy nce yu start wrking with the VGA cntrller prvided by Digilent dn t frget t include the blank signal) Part 2: Light Sensr Interface Create an SPI interface t be able t read the 8-bits f light sensr infrmatin frm the PmdALS mdule prvided. Use the 25MHz clck with a cunter and clck enable signal t generate the ADC SCLK at 1MHz Use a cunter r shift register t create the ADC CS signal. Verify the SCLK and CS signals are crrect with an scillscpe. Capture a new light sensr value every 100ms (10Hz) Use a shift register t read in the 8-bits f ADC data Display the light sensr value in hexadecimal n tw f the seven-segment displays (00 t apprx. FF). Display the same value n the ther tw seven-segment displays Capture an SPI ADC 16-bit transfer using an scillscpe (shw the CS, SCLK, and SDO signals n the scpe capture) and include this in yur reprt alng with a descriptin Nte: Fr all scpe pictures, preferably take a screen capture with a USB flash drive rather than a camera picture. Yu shuld be able t clearly see all the signals and the timebase. Extra credit Up t 10% lab bnus pints fr any gd imprvements r enhancements t yur design (must dem n bard and describe in yur reprt). Fr example make a system that can cunt bjects passing thrugh a light beam, r print ECE3829 n the VGA mnitr! 2

Reference Material Read the Seven Segment and VGA Prt sectin in the Nexys3 Reference Manual. Read the Digilent PmdALS Reference Manual and the Texas Instruments ADC081S021 ADC data sheet. PmdALS schematic and mdule frm Digilent CS, SDO, SCK example SPI transfer (with CSK at 1MHz) - bright sensr value (0xFB) 3

Ntes: Yur final design shuld cmbine parts 1, and 2. Print the sign-ff sheet and dem yur system during ne f yur lab sessins befre the deadline. Have yur printed Verilg surce files ready s they can be checked during the dem (dn t frget t includes names, descriptin, and cmments). Write a reprt including: an intrductin, a descriptin f yur design including gd blck diagrams shwing hw yu implemented the design, a sectin describing hw many flip-flps yur design used and why. Include part f the synthesis file that displays warnings explain these. Include a cnclusin describing any prblems r issues yu had and any lessns learned. Include yur signff sheet and yur surce files in an appendix. 4

Grading Guidelines [50 pts] Implementatin [50 pts] Design wrks n bard and meets requirements [20 pts] Surce Cde Verilg in Appendix Cde style and cmments (well-cmmented and tab-indented cde!) Use f case vs. if, spaghetti cde vs. structured, etc. Recgnizable implementatin f "standard" elements (state machines, cunters, shift registers, clck dividers, decders) Gd mdular design N latches r ther synthesis prblems [30 pts] Lab Reprt [5 pts] Brief Intrductin / Prblem Statement [15 pts] General verview f apprach t slutin and descriptin (include gd diagrams with descriptins) and scillscpe pictures with explanatins [5 pts] FPGA resurce usage (# flip-flps with explanatin) and listing and explanatin f warning messages (dn t cpy all the Xilinx reprts just the relevant sectins) [5 pts] Cnclusins Prblems faced in implementatin Slutins used t slve prblems Lessns learned frm the prject Suggestins fr further imprvements and extensins [10 pts] Extra pints Pssible extra pints fr gd additinal features r capabilities (need t dem n bard and include descriptin in reprt) 5

ECE 3829: Lab 2 sign-ff sheet Name: ECE Bx #: Name: ECE Bx #: Preliminary (nt required t be shwn) The seven segments display wrks (0000 t FFFF) Part 1 (VGA) Display shws a yellw screen Display shws hrizntal bars Display shws a white blck Display shws a clred blck (clr determined by light sensr value) Part 2 (Light Sensr) The light sensr displays the crrect value n the seven segment displays (00 t FF, dark t light) Value is displayed twice All cmbined All parts are cmbined int ne prject Extra Credit (describe) Example: cunt bjects 6