UNIVERSITY OF CALIFORNIA, RIVERSIDE
Department of Computer Science and Engineering
Department of Electrical Engineering
CS/EE120B - Introduction to Embedded Systems
Summer 2 2002

Schedule: Lecture: 7/29/02 - 8/31/02, MTWR 9:40 - 11:10AM, 2355 Sproul Hall.
Laboratory:

  • Lab 1: MTWR, 2:00 - 6:00PM, 173 University Lecture Hall. TA: Pranav Patel, Arun Kumar Saha

    Textbook:

  • Digital Design Principles & Practices, J. Wakerly, Prentice Hall, 2001, 3rd Ed.
  • A VHDL Primer, J. Bhasker, Prentice Hall, 1999, 3rd Ed.
  • Embedded System Design: A Unified Hardware/Software Approach, Frank Vahid and Tony Givargis, Wiley & Sons, 2001, Draft copy available from UCR Printing and Repographics.
  • The 8051 Microcontroller, Stewart and Miao, Prentice Hall, 2nd Ed.

    Instructor: Dr. Enoch Hwang. Office: BRNHL A259. e-mail: ehwang@cs.ucr.edu. Office hours: Immediately after the class. 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 focusing on sequential logic circuits and emphasizing the use of 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. Numbers in curly brackets are Stewart sections.)

    1. Sequential Logic.
    2. Introduction to sequential circuits (7.1)
    3. Latches. (7.2)
    4. Flip-Flops. (7.2)
    5. Finite-State Machine (FSM).
    6. Moore and Mealy models. (7.3).
    7. Analysis of sequential circuits: Excitation equations. Next-state equations & tables. State diagrams. (7.3).
    8. Synthesis of sequential circuits: State minimization. State encoding. Choice of memory elements. (7.4 - 7.7)[2.3.3].
    9. Sequential logic components.
    10. Registers (8.2), counters (8.4), RAMs (10.3)

    11. FSM + Datapath [2.4].
    12. Register-transfer design [2.5].
    13. FSM with datapath (FSMD).
    14. Synthesis of FSMDs.
    15. Optimization: Register sharing. Functional-unit sharing. Bus sharing. [2.6].

    16. Interfacing microcontrollers [4, 6].
    17. 8051 {2.1 - 2.9}, Z80, EZ80
    18. Addressing: Memories [5.4] {2.12}, I/O ports [6.3], Interrupts [6.4] {2.9}.
    19. LEDs {3.5}, LCD [4.5], Keypad [4.6] {3.2.4}.
    20. Real-time clocks [4.9] {3.11.2}, UART [4.3], A/D, D/A converters [4.8] {3.12}.
    21. Protocols [6] USB.

    Tests: Two midterms: Wed Aug 7 and Tue Aug 20. Final: Friday August 30, 2002, 10:00AM - 12:00PM.

    Academic dishonesty: It is your responsibility to be familiar with UCR's and the department's policies on academic dishonesty. See policy. Cheating will be punished severely.

    Grading: Homeworks 10%, Labs 30%, 2 Midterms @ 15% each, Final 30%. You must get at least 50% or the class average on the test (whichever is smaller) on two of the three tests to pass the course.

    Grades:

    Homeworks:

    Solutions:

    Labs:

    Lab Guidelines: