## Course Overview

• Midterm exam and solution.
• Project group registration due Fri Mar 14 8:23am
• Project dataflow diagram due Fri Mar 14 8:24am
• Project
• Project due Sun Mar 30 11:59pm
• Project extended deadline Thu Apr 3 11:59pm
• Project demos Fr Apr 4
• Project files
• more...

# This Week's Schedule

Mon 8:30 Fri 8:30 Fri 12:30
wk-09 Mar 9-15 Advanced design Lec-24: Optimizations (CN5.4, 5.5) Lec-25: Performance (CN:6.1--4) Lec-26: Verification intro (CN:7.1-6.5)
 Asn-07: Pipelining (P5.1, P5.2)
Proj dataflow diagram
 Proj group and dataflow due Fri Mar 14 8:24am
Skip CN6.7
more...

# People

Instructor Lab Instructor Mark Aagaard DC-2539 maagaard@uwaterloo.ca Tue 11:30-12:30 Eric Praetzel E2-2357 praetzel@uwaterloo.ca by request Raisa Pesel EIT-4108 rg3pesel@uwaterloo.ca Mon 5-6pm Gangqiang Yang E2-3353 g37yang@uwaterloo.ca

# Times and Places

Mon Tue Wed Thur Fri
 Lec RCH-103 8:30 - 9:50 Aagaard
 Lab 4 E2 2363 8:30 - 9:50
 Lab 5 E2 2363 8:30 - 9:50
 Lab 6 E2 2363 8:30 - 9:50
 Lec RCH-103 8:30 - 9:50 Aagaard

 Lec RCH-103 12:30 - 1:20 Aagaard

 Lab 1 E2 3353 1:30 - 3:00
 Lab 2 E2 3353 1:30 - 3:00
 Lab 3 E2 3353 1:30 - 3:00

 Tutorial RCH-103 4:30 - 5:20 Pesel

# Marking

The standard division of marks is:

Lab-1 1% 2% 3% 24% 20% 50%

There are two factors that cause the weights of the marks to be adjusted:

1. If the final-exam mark is better than the midterm mark, then the weight of the final exam is increased and the weight of the midterm is decreased. The final exam weight can increase from 50% up to a maximum of 60%. The midterm weight can decrease from 20% down to a minimum of 10%. Thus, the combined weight of the midterm and final exam is always 70%. The measure of whether the final exam mark is "better" than the midterm mark is with respect to the average difference between the marks on the final and midterm.
2. If the weighted average of the midterm mark and final exam mark is less than 60, then the combined weight of the exams increases linearily from 70% up to 100% for a combined exam mark of 50 or less.

The principles behind the rules for adjusting the weighting are:

1. The marking scheme should be stable, in that a small change to the inputs (raw marks) should cause only a small change to the output (grade in the course).
2. The grade in the course should reflect overall knowledge of the course material.
3. If a student does poorly on the midterm and does well on the final exam, the final exam is more reflective of the student's overall knowledge of the course. This is the justification of adjusting the weight between the midterm and final. The minimum weight of the midterm is 10%, because the final exam is unable to cover all of the material in the course.
4. The exams reflect the individual work of a student. If a student's exam mark indicates a failing mastery of the course material, then the student should fail the course. Thus a combined average of less than 50 for the midterm and final results in a course grade of less than 50.

# Calendar Description

Design and modelling of digital systems using hardware description languages. Digital system design process. Impact of various implementation technologies. Design for testability. Fault tolerant systems. High performance systems. Project
Prereq: ECE 222, 223 and (3B Comp. Eng. or higher than 3B Elect. Eng.)

# Notes, Textbook, etc

Course notes and lecture slides
The course notes and lecture slides will be the primary source of reading material for the course. They will be available on the web under Course Material.
Piazza Q&A Forum
The Piazza ece327 discussion forum is the primary forum for announcements, questions and answers. You are encouraged to read it regularly, and to respond to other students' questions if you have some helpful information.

# Tutorials

The tutorials will cover problems from the Problems and Solutions document. Part I of the document contains problem statemens and Part II contains solutions. The problems come from previous midterm and final exams, and so are a good indication of the material that will be tested on the exam. The specific problems that will be covered each week are listed on the schedule.

# Computer and Lab Facilities

The course will use synthesis software from Mentor Graphics (Precision RTL) and Altera (Quartus) and simulation software from Mentor Graphics (ModelSim).

• The software is installed on the ECE Linux and Nexus computers. For room numbers and door combinations, login to ecelinux and type: `cat /usr/share/welcome`
• The Altera FPGA boards are in E2-2363, the door combination for this room will be given out in lecture when the room is ready for use. The room is available 7 days a week, 24 hours a day, except when reserved for other courses.

# Labs

There are three labs to introduce you to VHDL, the simulation software, the synthesis software, and the FPGAs that we will be using. The third lab is a design challenge/opportunity, and so is more difficult than than the first two labs.

Lab 1 Adders and flip-flops State machines and datapaths Preview of the project

You may work individually or in groups of two for the labs.

# Project

The project will be the design of a variation of a Kirsch edge-detector circuit in VHDL. The project shall be done in groups four. Marking will be based on area/performance, correct functionality, a demo, and a brief report.

# Midterm

• Almost all of the questions at the end of the chapters come from prior exams, so all of the questions are good examples to study from.
• Midterm exams usually have a set of short questions that cover as many topics as possible, and then a few longer questions that require more detailed work. The topics for the in-depth questions are chosen randomly from lectures and course notes, with the provision that at the end of the course, the percentage of the mark that comes from each topic will be roughly proportional to the amount of material on that topic in the lectures and course notes.
• The midterm will be closed book, closed notes. Calculators will be allowed.
• The proctors and instructors will not answer questions, except in cases where an error on the exam is suspected. If you are confused about a question, write down your assumptions or interpretation. This procedure ensures that all students receive the same information and that all exams are marked consistently.

# Final Exam

• The final exam will cover all of the material in the course, with the provision that at the end of the course, the percentage of the mark that comes from each topic will be roughly proportional to the amount of material on that topic in the lectures and course notes.
• Almost all of the questions at the end of the chapters come from prior exams, so all of the questions are good examples to study from.
• The final will be closed book, closed notes. Calculators will be allowed.
• The proctors and instructors will not answer questions, except in cases where an error on the exam is suspected. If you are confused about a question, write down your assumptions or interpretation. This procedure ensures that all students receive the same information and that all exams are marked consistently.