ECE354 - Computer Systems Lab II Course Administration 2016 Professor Csaba Andras Moritz Electrical & Computer Engineering Course Administration: People Instructor: Csaba Andras Moritz andras@ecs.umass.edu http://www.ecs.umass.edu/ece/andras UG/Grad TAs: See online at http://www.ecs.umass.edu/ece354/ Lab Manager: Keith Shimeld Electrical & Computer Engineering 2 Course Administration: Communication Web page: Lab hours for TAs etc • Refer to home page Mailing list • Make sure email address in spire is current http://www.ecs.umass.edu/ece354/ Electrical & Computer Engineering 3 Course Info Prerequisites: ECE353 - Computer Systems Lab I Recommended Text: Wayne Wolf: " Computers as Components" Morgan Kauffman Publishers, 2005. The course is taught using the Altera DE2 FPGA boards • NIOS 2, a 32 bit microcontroller from Altera Electrical & Computer Engineering 4 Instructor Info Office: KEB 207 Website: http://www.ecs.umass.edu/ece/andras Teaching: Embedded Systems II (ECE354) and Advanced Computer Architecture (ECE668) • Research on CMOS and Nanoscale Computer Architecture and Beyond-CMOS Nanofabrics Started several companies/brands in embedded or related space • CDC RD AB – enterprise and manufacturing information flow • BlueRISC – develops security microprocessors and FPGA-based secure platforms, as well as system assurance tools for software vulnerabilities and self-healing runtime systems • WindowsSCOPE – cyber security and forensics tools • eprivo – on privacy (stealth) – will be launched 2016 Electrical & Computer Engineering 5 Lab Equipment You are given all the equipment (DE 2 board, Camera, USB blaster cable, Software CDs, Network Cables etc.) that are necessary for the lab projects. It is expected that you return all the equipment at the end of the semester or pay for replacements if lost. You can store the equipment in a lockable drawer in your lab bench. Please note that you are ultimately responsible for the equipment that you have signed out. Smaller components (resistors, wires, etc.) are available in the lab. Please use only what you need and return the components when you are done. If you have any problems with the equipment, please contact Keith Shimeld (shimeld@ecs.umass.edu). Electrical & Computer Engineering 6 Lab Rules All equipment must be returned by the specified due date or final grades will be withheld. All equipment must be returned free of all labels, chips, wires, and writing. Do not power the DE2 Altera Development Circuit Board on the anti-static bag. It is electrically conductive and will destroy the circuit board. Do not leave any part of your Lab assignment projects on the computer. Do not move or remove any equipment in the lab, this includes any computer cabling. Please report any defective, damaged, or missing lab equipment immediately to your TA or Professor. You are responsible for leaving the lab bench in a clean and orderly manner. Food, beverages, radios and bicycles are not allowed in the lab at any time. Lab laser printers are for ECE 354 related assignments ONLY & not for any other classes. Electrical & Computer Engineering 7 Computer Use Computers are available on each lab bench. Please make sure you create an account for your group that is password protected. The lab computers are not backed up. Please save your work on a dongle or upload to your ECS account. Please note that it is considered academic dishonesty if you open any file in a computer that belongs to another group! There is a printer available in the lab. Please DO NOT PRINT ALTERA MANUALS. These manuals contain hundreds of pages, most of which you will not need. If you need a hardcopy, please print only the few pages that are necessary for a particular lab. Electrical & Computer Engineering 8 Security Notice Security Cameras in Operation Information obtained with the use of the video cameras will be used exclusively for safety and law enforcement purposes. Information obtained through the use of video cameras will be handled according to the University of Massachusetts Police Department's rules governing the handling of evidence. Recorded images will be stored for a period not to exceed 180 days and will be erased unless retained as part of a criminal investigation, court procedure, or other bona fide use. Electrical & Computer Engineering 9 Lab schedule 5 labs in all Schedule posted in the web page Reports submitted per schedule in moodle Lab demos • • Videos recorded in presence of a TA • Submitted to that TA and instructor (ideally a link) • Anytime before deadline Face-to-face demo with instructor • Sign-up on schedule page activated days before Electrical & Computer Engineering 10 Lab 0 In this lab you will learn about the features of DE 2 board, its ports and memory structure. You will erase and program the board memory and learn how to use the DE2 control panel. This lab will not be graded. Electrical & Computer Engineering 11 Lab 1 In this lab you will program a soft core 32 bit microcontroller from Altera called Nios 2 into the FPGA and write a simple code to echo hello world on your screen. Your code will be executed by the processor designed by you into the Cyclone FPGA on DE 2 board. Electrical & Computer Engineering 12 Lab 2 In this lab, you will implement your own webcam by interfacing a camera to the DE 2 board. You will have to capture a frame and then store it in your on board memory. To see the image on PC, you will integrate it with one of the example projects distributed with DE 2 board. Electrical & Computer Engineering 13 Lab 3 This lab will use the ethernet port of the DE 2 board to send and receive packets over a CAT 5 cable. You will select your ally (another group) and ask them to connect their board with yours and verify that your packets (think of them as messengers !) are indeed being received by them. Next, you will be at the receiving end to the messages they send you over the network. Electrical & Computer Engineering 14 Lab 4 In this lab you will use two DE 2 boards (Master and Slave) connected by ethernet. The master will send commands to the slave by using a handshaking protocol so that the slave performs certain actions. You will also transfer the image from a DE 2 board to the other board. Electrical & Computer Engineering 15 Lab 5 Data stream compression using run-length encoding Electrical & Computer Engineering 16