UNIVERSITY OF CALIFORNIA, RIVERSIDE
Department of Computer Science
Department of Electrical Engineering
CS/EE120B - Introduction to Embedded Systems
Winter 2001
Schedule: Lecture: 1/4/01 - 3/24/01, TR 9:40 - 11:00AM, OLMH 1208.
Laboratory:
Section 021: WF, 6:10 - 10:00PM, BRNHL B252
Section 022: MW, 2:10 - 6:00PM, BRNHL B252
Section 023: TR, 6:10 - 10:00PM, BRNHL B252
Textbook:
Digital Design Principles & Practices,
J. Wakerly, Prentice Hall, 2001, 3rd Ed.
Embedded System Design: A Unified Hardware/Software Approach,
Frank Vahid and Tony Givargis, UCR Printing and Repographics, 2001.
Optional:
The 8051 Microcontroller, Stewart and Miao, Prentice Hall, 2nd Ed.
A VHDL Primer, J. Bhasker, Prentice Hall, 1999.
Instructor: Dr. Enoch Hwang.
Office: BRNHL A303.
e-mail: ehwang@cs.ucr.edu
or ehwang@ee.ucr.edu.
Office hours: MW 11:10 - 12:30.
More detail and updated information on the web at
www.cs.ucr.edu/~ehwang.
Prerequisites: EE/CS120A.
Objective: To learn to design digital systems at the register and processor levels, emphasizing modern CAD tools.
To learn about embedded systems and how to interface with them.
Topics:
(Numbers in parenthesis are Wakerly sections. Numbers in
square brackets are Vahid sections.)
- Sequential Logic.
- Introduction to sequential circuits 104K (7.1)
- Latches. (7.2)
- Flip-Flops. (7.2)
- Finite-State Machine (FSM).
- Moore and Mealy models. (7.3).
- Analysis of sequential circuits:
Excitation equations. Next-state equations & tables. State diagrams. (7.3)
- Synthesis of sequential circuits:
State minimization. State encoding. Choice of memory elements. (7.4 - 7.7)
- Storage components.
- Registers (8.2), counters (8.4), RAMs (10.3)
-
Datapath [2.4].
- Register-transfer design [2.5].
- FSM with datapath (FSMD).
- FSMD synthesis
- Optimization:
Register sharing. Functional-unit sharing. Bus sharing. [2.6]
- Interfacing microcontrollers [4, 6].
- 8051
- Z80
Tests: Two midterms: Tue Jan 30 and Tue Feb 20. Final: Tuesday March 20, 2001, 8:00AM - 11:00AM.
Grading: Homeworks 10%, Labs 30%, 2 Midterms @ 15% each, Final 30%. Must get at least 50% on two of the three tests to pass course.
Grades:
Grades.
If you do not want your grades to be posted on-line, please email me to let
me know. Otherwise, I will take your inaction to mean that you have given
me the approval to post your grades on-line.
Homeworks:
Solutions:
Labs:
Lab report form
Lab due date schedule
XS40 breadboard schematic
Draft versions of upcoming labs are found below
Lab 1a: Design using schematic capture
(do not have to do this but you should read it so you know what to do for 1b and 1c).
Lab 1b: Design using VHDL at the structural level
Lab 1c: Design using VHDL at the behavioral level
Lab 2: Behavioral VHDL design of an ALU
Lab 3: Finite state machine design of a 4-bit counter
Lab 4: FSM plus datapath design of a greatest common divisor
Lab 5: Microprocessor design
Lab 6: Introduction to the 8051
Lab 7: Interfacing the 8051 to an LCD
Lab Guidelines:
- You should plan to stay for the duration of your 4-hour scheduled
lab time. Labs are all posted on the web, so if you finish before
a due date, you should proceed to work on the next lab.
If it appears that students are leaving early, then measures may
be taken.
- Each lab assignment's grade will typically consist of your lab demo
(simulation and board), and your lab report (writeup, source code
and results).
- No late lab submissions will be accepted.
- Lab reports are due before the end of your scheduled lab time on
the date you are checked off for your demo. Use the report form
above. We will be using electronic turnin (see below).
- The TA's will not be available for help 15 minutes before the end
of each lab. This time is reserved for checking out completed labs.
- The students are required to work in groups of two. Students are
welcome to choose their own lab partners.
- The TA's will check out the Xilinx boards to each group when
required. Boards are only available during scheduled lab.
Student must check the boards back in when done, and must be
sure to sign the check in sheet. Students should also be sure
the TA records your score your lab demo.
- The Xilinx boards are pre wired. Please do not change any wiring
unless specifically instructed by the TA.
- You are required to go to the lab section you are registered in. If
you wish to change your lab section, this must be pre-approved by
the LECTURE TA.
- The TA's and Lab Assistants will be there to assist you in any problems
that you might face for the full four hours (except during the check
off time). Please feel free to approach any of them with
any problems or questions that you might have.
If you have any problems or questions please email cs120b-t@cs.ucr.edu.
One of the TA's will answer your question as soon as possible.
- Any suggestions to help us improve the lab will be welcomed.
Holidays:1/15/01 and 2/19/01