University of California, Santa Barbara
Department of Electrical and Computer Engineering


 

Digital Design Principles

 

ECE 152A - Fall 2008


Prof. Volkan Rodoplu


Lectures: Monday/Wednesday 3:30 - 4:45 pm at TD 2600.

(Note the Location !!!: Theater Dance 2600. This is next to the Humanities Building.)

Professor's Office hours:  5:00 - 6:00 PM, Mondays and Wednesdays,

in Room 4113, Harold Frank Hall; starting October 6, 2008. 


Syllabus

                                  Midterm Examin class, see course calendar in Syllabus


                                 
Final ExamDecember 13, 2008, Saturday, 12:00 PM - 3:00 PM, in class, TD 2600.



Announcements

12/07/08: Solutions to HW4 & HW5 are posted on the website.

We have deleted the following from your deliverables for Lab 5:
       Part 3:
       * Breadboard your programmable state machine   
       * Download and demonstrate your machine running the 1-digit BCD counter.
       * Download and demonstrate your machine running the Serial Adder.

In particular, you are responsible for Parts 1 & 2 in full; for C program in Part 3; and the lab report in Part 4.



HW # 4 Deadline: Has been extended to December 1, 2008, Monday, 2:00 PM. However, you are encouraged to hand in your homework by November 26,  Wednesday, 2:00 PM, if you can. Please note that there will not be any extensions on the HW # 5 deadline .



11/15/08: In Lab4, it's not necessary to use the C program to generate the dimclock, left, right turn, hazard, brake and run lights. Instead, you can use the function generator to generate the Dimclock and clock and hook the harzard, left turn, right turn, brake, run lights directly.



11/09/08: Midterm  Solutions are posted in the solution section. Please refer to #2 in Su08 Midterm for the solution to problem 3 in the Fall08 Midterm .



11/05/08: Wei's and Vivek's New TA Office hours changed. 

                Wei:    Wednesday 10:00am ~ 11:00am HFH1124.

                Vivek: Wendesday 2:15pm ~ 3:15pm HFH1124.

11/04/08: Make-Up Lab Sections During Thanksgiving Week. In thanksgiving week, two lab sections on Thursday are going to be canceled. But we are adding two make-up lab sections on Tuesday in that week (Nov. 24 to Nov 28).  

                Miao is going to hold a lab section from 2:00pm-4:50pm on Tuesday (Nov. 25). 

                Wei is going to hold a lab section from 6:00-8:50pm on Tuesday(Nov. 25).

11/04/08: New TA Office hours were added. Please check the TA Office Hour Section in this page. 

                Miao: Monday 1:00pm ~ 2:00pm HFH1124 

                Wei: Tuesday 9:00am ~ 10:00am HFH1124

                Vivek: Wendesday 2:30pm ~ 3:30pm HFH1124.

11/01/08: Did anybody leave his/her watch in the digital lab? If it is, please contact Wei.    

10/26/08: In lab2, we will need a tool called Quartus to do the pin assignment. Here is a simplifed tutorial quartus_tutorial

10/26/08: HW#2 solutions are available. Here is the link for Quartus. 

 

10/22/08: Prelab of lab2 is due next Monday, Oct. 27th,  at the beginning of the class.

 

10/22/08: The Midterm Review Session will be held in class on October 27 and be conducted by Miao, who will solve the Summer 2008 Midterm in class. If time permits, she will also solve problems from the Winter 2008 Midterm.

 

10/20/08: HW-1 solution is available. Homework is returned in the lab section, not in the class. Since we haven't graded all of the homework, for students whose lab sections are on Mondays, you need to pick them up on Thursday's lab sections or you can have your friends to pick up the homework for you. .

 

10/20/08: Prelab and demo due rules. Here we want to emphasize that Prelab and Demo are due in the  first hour of each lab.  Later turn-in will get zero. Talk to your TA ahead of time if you have some emergency.

 

10/08/08: HW-1 problem 8. Minimum SOP form is enough to get full points for that problem. The solution does not need to use only 11 or fewer gates as mentioned in the problem.

 

10/06/08:Position for a NoteTaker: We need a NoteTaker for ECE 152A, who will share his/her notes with 1 other student in the course. The position is for someone who is sensitive to the needs of students with disabilities. There is a compensation of $125 for the NoteTaker. Please contact Prof. Rodoplu by email or after class, or stop by the Disabled Students Office at 2120 Student Resources Building.

09/29/08: Please get the access card from the ECE shop which is the only you can get into the Digital Lab by yourself. Here is what you need to do to get the access card. First get a form from the ECE shop with the signature from the ECE people. Then take that form together with your Photo ID (passport or drive's license) to the Police office in Trailer 600 near the old gym. Finally go back to the ECE shop to have a safety test then enjoy your card.

 

09/29/08: Please read the UCSB/ECE FPGA Board web page: http://vader.ece.ucsb.edu/digilab-fpga/

09/29/08: For Lab # 1: Please note that NOT all TTL parts are available. See the hyperlink below on ECE Shop: List of Available Parts (under Lab Handouts). Only these chips are available in the lab, so plan your TTL implementation accordingly.

 

09/29/08: Please use TTL (7400 series) for your labs (not CMOS 4000 series parts!).

  

09/29/08: For the lab problem sets, you need to hand in only 1 solution per team (put both team members' names on your solutions.)

 

09/29/08: Check in the ECE Shop (Room: 1160, Harold Frank Hall; M-F: 8:00-12:00 and 1:00-4:00) to get the access cards for the Digital lab.

 

 

Course Reader

(Homework is assigned from the reader.)

CourseReader_Problems 10 to 14

CourseReader Problems 18

CourseReader Problems 19-20

CourseReader Problems 32-33

 

 


Homework  -  Solutions

The homework is due in the ECE 152A Homework Box on the 3rd floor of Harold Frank Hall.

(After you exit the elevator, go straight through the double doors across from you. The homework box is outside after you go through the double doors.)

HW # 1

(due October 17, 2008; 2:00 PM)

For HW # 1, PLEASE SKIP PROBLEM # 6.

DO THE REST OF THE PROBLEMS.

HW # 2

(due October 24, 2008; 2:00 PM)

For HW # 2: PLEASE SKIP PROBLEMS 3, AND 9. (These are B & V Problem 7.32, and Problem # 16 in Course Reader).

DO THE REST OF THE PROBLEMS.

HW # 3

(due November 21, 2008; 2:00 PM)

For HW # 3: PLEASE SKIP PROBLEMS 1-3 (the B&V textbook problems). Do the REST of the Problems, which are from the Course Reader.

(Start early!)

 

HW # 4

(due Decemeber 1st, 2008;  2:00 PM)

 

HW # 5

 (due December 5, 2008; Friday, 2:00 PM)

Grading Guidelines for Homeworks and Labs

 

 



Lab Handouts

Lab Schedule

Print out Data Sheets for each lab

ECE Shop: List of Available Parts

UCSB/ECE DigiLab FPGA Board Information

ALL PRE-LABS DUE ARE AT THE BEGINNING OF YOUR LAB.

THE CHECK-OUTS FOR DEMOS MUST BE DONE WITHIN FIRST 1 HR. OF THE LAB SECTION.

All the lab dates below are for "week of" the date indicated,

at the beginning of your lab section.

Lab #1

Nothing is due: October 6, 2008 (but highly encouraged to complete as much of Steps # 1 and # 2 as possible.)

Pre-lab due: (Steps # 1 and # 2 due) October 13, 2008.   [Demo of Steps # 3 and/or # 4 encouraged, but not required.]

Check-out (Steps # 3 and # 4): October 20, 2008

Lab #2

Pre-lab due: October 20, 2008   [This is a long pre-lab; start early!]

Check-out: October 27, 2008

Lab #3

Lab starts: October 27, 2008

Check-out: November 3, 2008

(Hint: Use teamwork to manage the wiring to get it done by the deadline.)

Lab # 4 Lab-4 help Sample C program cbw.h cbw32bc.lib lab4_verilog Sample-Testbench cbw32.dll

Lab starts: November 3, 2008

(There is no pre-lab for this lab.)

Part 1 due: November 10, 2008

Parts 2, 3 and 4 due: November 17, 2008

Lab #5 template.v

Lab starts: November 17, 2008

(There is no pre-lab for this lab.)

Parts 1 and 2 due: November 24, 2008

Parts 3 and 4 due: December 1, 2008

(Note: for those whose lab sections are on Thursday, Parts 1 and Parts are due on Wednesday in the class)

 

 


Lab Sections and TA Office Hours
Harold Frank Hall, Room 1124 (DigiLab)

You may  go to the office hours of any TA (not just the TA of your lab section)

Gengxin Miao

miao@umail.ucsb.edu

 

Lab Section:  Thursday 2:00pm ~ 4:50pm

   (Due to thanksgiving, No lab on Nov, 27th)

     Tuesday 2:00pm ~ 4:50pm (Only on Nov,25th)

 

Office hours:  Thursday 1:00pm ~ 2:00pm HFH1124

                        Monday 1:00pm ~ 2:00pm HFH1124

Vivek S Nandakumar

vsn@umail.ucsb.edu

 

Lab Section:  Monday 10:00am ~ 12:50pm

 

Office hours:  Monday 9:00am ~ 10:00am HFH1124

                   Wendesday 2:15pm ~ 3:15pm HFH1124

Wei Tang

w_tang@umail.ucsb.com

 

Lab SectionThursday 7:00pm ~ 9:50pm

 (Due to thanksgiving, No lab on Nov, 27th)

Tuesday 6:00pm ~ 8:50pm (Only on Nov,25th)

 

Office Hours: Thursday 6:00pm ~ 7:00pm HFH1124

                Wednesday 10:00am ~ 11:00am HFH1124

 

 

 

Acknowledgments: We would like to thank all the professors, TA's and lecturers, who have created, worked on, used, and revised the laboratories for this course. A partial list is as follows: Prof. Roger C. Wood, Christian Schmidt, Prof. Kaustav Banerjee, James Rosenthal, Brian Simolon, Dr. John M. Johnson, Prof. Volkan Rodoplu, Aida Todri, Nilesh Modi, Vishal Mehta, James Tandon. We would also like to thank Dr. John M. Johnson for preparing lecture note slides for this course, and for his continuing contributions during the summer quarters.


Practice Exams

ECE 152A Midterm Exam Fall 2004

ECE152A_Midterm Exam Winter 2005

ECE 152A Midterm Exam Fall 2005

ECE 152A Midterm Exam Fall 2007

ECE 152A Midterm Exam Summer 2008

ECE 152A Final Exam Fall 2004

ECE 152A Final Exam Winter 2005

Practice Problems for FSM Design: PS1 PS2 PS4


Lecture Notes (very rough)

(The following are handwritten lecture notes that I made while preparing for the lectures. These are very rough compared to the exposition in class, and were mostly notes to myself. However, I am providing them here in case you find them useful.)

Lecture 0

. Lecture 1

. Lecture 2

. Lecture 3

. Lecture 4

. Lectures 5-6

.         Lecture 5-6 Addendum

. Lecture 7

. Lecture 8-9

.         FSM Examples

.         Mealy/Moore Examples

.         Blocking vs. Non-blocking Assignments

. Lecture 11

.         Timing_Supplement1

.         Timing_Supplement2

. Lecture 13

.         CMOS Lecture Slides

. Lecture 14

.  Lecture 14.2 (Adders # 2)

. Final Exam Review Lecture

. (Enrichment (not required): Lecture 10)

 

Lecture Slides (prepared by Prof. Johnson)

Lecture 1

Lecture 2

Lecture 3

[Lecture 14]

Lecture 4

(Lecture 4 Supplement)

Lecture 5

Lecture 6

Lecture 7

Lecture 8

Lecture 9

Lecture 10

Lecture 11

Lecture 12

Lecture 13

Lecture 15