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

is available below

Schedule: Lecture: 7/28/03 - 8/30/03, MTWR 9:40 - 11:10AM, 2365 Sproul Hall.
Laboratory:

  • Section 1: MTWR, 11:30AM - 3:30PM, 173 Surge. TA: Fang Chen
  • Section 2: MTWR, 3:30PM - 7:30PM, 173 Surge. TA: Lan Ye

    Textbook:

  • Logic and Computer Design Fundamentals, M. Mano and C. Kime, Prentice Hall, 2001, 2nd Ed.
  • A VHDL Primer, J. Bhasker, Prentice Hall, 2000, 3rd Ed.
  • Embedded System Design: A Unified Hardware/Software Approach, Frank Vahid and Tony Givargis, Wiley & Sons, 2001.
  • 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: Right after 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 Mano sections. Numbers in square brackets are Vahid sections. Numbers in curly brackets are Stewart sections.)

    1. Sequential Logic. (4)
    2. Latches. (4-2)
    3. Flip-Flops. (4-3)
    4. Finite-State Machine (FSM).
    5. Analysis of sequential circuits: Excitation equations. Next-state equations & tables. State diagrams. (4-4).
    6. Synthesis of sequential circuits: State minimization. State encoding. Choice of memory elements. (4-4 - 4-7)[2.3].
    7. Sequential logic components. (5) [2.3]
    8. Registers (5-2, 5-3), counters (5-4, 5-5), memory (6-2, 6-3, 6-4) [5.3, 5.5] , PAL (6-8), CPLD (6-9).
    9. Register-transfer design (7) [2.4, 2.5]
    10. FSM + Datapath.
    11. FSM with datapath (FSMD).
    12. Synthesis of FSMDs.
    13. Optimization: Register sharing. Functional-unit sharing. Bus sharing. [2.6].

    14. Peripherals [4].
    15. LEDs {3.5}.
    16. Switches and Keypad {3.2.4} [4.6].
    17. LCDs: L1682 (pinouts) [4.5].
    18. Timers and counters [4.2].
    19. Real-time clocks: MM58167 and 58321 [4.9]{3.11.2}.
    20. UART [4.3].
    21. Pulse width modulators [4.4]{3.12.2}.
    22. A/D, D/A converters [4.8]{3.12}.
    23. Interfacing microcontrollers [6].
    24. 8051 {2.1 - 2.9}, Z80, EZ80
    25. Addressing: Memories [5.4] {2.4}, I/O ports [6.3]{2.6}, Interrupts [6.4] {2.9}.
    26. LEDs {3.5}, LCD [4.5], Keypad [4.6] {3.2.4}.
    27. Real-time clocks [4.9] {3.11.2}, UART [4.3], A/D, D/A converters [4.8] {3.12}.
    28. Protocols [6] USB.

    Tests: Two midterms: Wed Aug 6 and Tue Aug 19. Final: Friday August 29, 2003, 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: