ECE4743 Digital Systems Design
From Ece
(→Project) |
(→Lecture Slides) |
||
| Line 111: | Line 111: | ||
#[http://www.ece.msstate.edu/courses/ece4743/fall2009/18_system_timing.pdf System Timing] | #[http://www.ece.msstate.edu/courses/ece4743/fall2009/18_system_timing.pdf System Timing] | ||
#[http://www.ece.msstate.edu/courses/ece4743/fall2009/test2_review_fall2009.pdf Exam 2 Review] | #[http://www.ece.msstate.edu/courses/ece4743/fall2009/test2_review_fall2009.pdf Exam 2 Review] | ||
| + | #[http://www.ece.msstate.edu/courses/ece4743/fall2009/19_pipelining.pdf Pipe Lines] | ||
== Project == | == Project == | ||
Revision as of 15:48, 4 November 2009
Syllabus
Class Time & Location
MWF 10:00-10:50am
Simrall 213
Instructor
Assistant Professor
Office hours: Monday 4-5pm., Friday 4-5pm.
Lab
Instructor: Clint Howell email: cdh92@ece.msstate.edu
| Section 1 | Tuesday | 4:00-6:50 p.m. | Simrall 132 |
| Section 2 | Wednesday | 3:30-6:20 p.m. | Simrall 132 |
| Section 3 | Thursday | 6:30-9:20 p.m. | Simrall 132 |
Textbook
HDL (2nd Edition), Samir Palnitkar, Prentice Hall, ISBN 0130449113
This book is recommended for students who plan to pursue digital design as a career or who desire more information on the Verilog HDL. This book is not required.
Class e-mail
ece4743@ece.msstate.edu
Grade Determination
| Exam 1 | 20% |
| Exam 2 | 20% |
| Labs | 20% |
| Project | 20% |
| Final | 20% |
Grading Scheme
| A | 100-90 |
| B | 89-80 |
| C | 79-70 |
| D | 69-60 |
| F | 59-0 |
Prerequisites
Digital Devices (ECE3714)
Lecture Slides
- Class Introduction
- Basic Logic Part 1
- Basic Logic Part 2
- Basic Logic Verilog Examples
- Verilog for Combinatorial Logic
- Sequential Logic
- Verilog for Sequential Logic
- Shift-Add-3 Algorithm
- Validation Tips
- FSM Review
- Verilog FSM: 2 Process vs. 3 Process
- Verilog FSM Template
- Verilog Tasks
- Verilog for Simulation
- Intro to Datapath Design
- Datapath Design Examples
- Memories
- System Timing
- Exam 2 Review
- Pipe Lines
Project
Homework
- Homework #1 Solutions
- Homework #2 Solutions
- Homework #3 Solutions
- Homework #4 Solutions
- Homework #5 Solutions
Tests
| Exam 1 | Wednesday | September 16, 2009 | 7:00-9:00 p.m. | Simrall 213 |
| Exam 2 | Wednesday | October 28, 2009 | 7:00-9:00 p.m. | Simrall 213 |
| Final | Thursday | December 3, 2009 | 8:00-11:00 a.m. | Simrall 213 |
Old Tests
- Fall 2008 Test #1
- Fall 2008 Test #1 Solutions
- Fall 2008 Test #2
- Fall 2008 Test #2 Solutions
- Fall 2008 Test #3
- Fall 2008 Test #3 Solutions
- Spr 2009 Test #1
- Spr 2009 Test #1 Solutions
- Spr 2009 Test #2
- Spr 2009 Test #2 Solutions
Old Homework
- Homework #1
- Homework #1 Solutions
- Homework #2
- Homework #2 Solutions
- Homework #3
- Homework #3 Solutions
- Homework #4
- Homework #4 Solutions
- Homework #5
- Homework #5 Solutions
- Homework #6
- Homework #6 Solutions
Software
We will be using a software package called Xilinx ISE WebPack for digital logic programming in this class. This is free software that can be downloaded from the Xilinx web page. For simulations, we will use the Modelsim software, which is also a free download from the Xilinx web page. We will discuss how to install and use the software in lab. The labs will be oriented around your laptops, so you will need to install the software yourself. You must have the software downloaded before coming to lab since it is a very large download (~850MB). Instructions for downloading it are included in lab 1. This software is also available on the workstations in the lab if you do not have a laptop. You can also use the Quick Start Tutorial to answer many questions about how to use the software, including HDL and schematic entry, simulation, constraints, implementing, and downloading.
Please be sure to download version 9.2i. You will need to register first then return to the above link to download the correct version.
Hardware
The labs this semester will require each student to purchase the Digilent, Inc. Basys development board. These cost $57 each and can be purchased directly from the Digilent, Inc. homepage (see below how to get the $57 price). Included with each kit is a power supply and download cable. We decided to do this so each student can have hands-on experience with FPGA hardware. Each board has 8 LEDs, 8 switches, 4 push buttons, and a 4 digit numerical display. There are also connections for a VGA monitor and a PS/2 port for keyboards/mice. We will be using all of these in the lab.
We strongly recommend doing the labs on your laptops. If your laptops do not have a parallel port, then you won't be able to use the download cable. If you don't have a suitable laptop, some computers will be available in lab for development and programming.
To order the Basys development board enter "MSU4743" in the "enter value code" box on the Digilent, Inc. homepage. This should pop up a page which says among other things "Mississippi State University". Next add to cart and check out.
Labs
Lab Tips
- Make sure you are using Device = "XC3S100E", Package = "TQ144".
- General:
- Be sure to include the constraints file in your project. If you're seeing strange things on the outputs, this may be the problem.
- If your code compiles, but doesn't do what you want it to: READ THE WARNINGS
- The warnings are there to tell you that you probably made a mistake, but it will compile your code anyway
- If it optimized something out, it will give you a warning - that's usually a mistake
- It will tell you when it finds an asynchronous loop
- It will tell you of unassigned I/O
- Verilog code:
- Make simple always blocks
- Only assign few related outputs
- More smaller process statements are better than one big one
- The compiler is not very smart
- Always be able to draw a block diagram of the circuit you are trying to describe
- Watch out for asynchronous loops in your code
- Make sure you can't trace a combinatorial path
- Temporary signals make this deceptive
- Make simple always blocks
- Schematic Entry:
- Use the wire naming tool - don't double click on a wire to name it
- If you rename a wire, it will rename all of the wires of the same name
Reference Material
- Verilog
- Other Universities using FPGAs
Academic support
In compliance with and in the spirit of the Americans with Disabilities Act (ADA), academic accommodations are made for any student with a documented disability. Students should register with the Office of Student Support Services in Montgomery Hall at (662) 325-3335 as soon as possible to better ensure such accommodations are implemented in a timely fashion and comply with their policies. Any student who believes they may need accommodations in this class are encouraged to contact Student Support Services If Student Support Services has a prescribed course of action for you with regard to this class, please visit me during office hours so we can make the proper arrangements.
Academic Integrity
Mississippi State University has an approved Honor Code that applies to all students. The code is as follows:
"As a Mississippi State University student I will conduct myself with honor and integrity at all times. I will not lie, cheat, or steal, nor will I accept the actions of those who do."
Upon accepting admission to Mississippi State University, a student immediately assumes a commitment to uphold the Honor Code, to accept responsibility for learning, and to follow the philosophy and rules of the Honor Code. Students will be required to state their commitment on examinations, research papers, and other academic work. Ignorance of the rules does not exclude any member of the MSU community from the requirements or the processes of the Honor Code. For additional information please visit: http://www.msstate.edu/dept/audit/1207A.html




