Btech Portion
Btech Portion
Course Outline
ELEG 3230B
Course Instruction
ELEG 3230B IERG 3810 Instructor Microprocessors and Computer Systems Microprocessor System Design Laboratory Prof. CHEN Lian Kuan Room: Rm. 816 HSH Eng Bldg. Phone: 2609-8389 [email protected] Office hours: Wed 2:30-3:30pm (or by appointment)
Course Description
The course is to provide both theoretical background and practical skills in microcomputer (x86) system design. Both hardware and software development (assembly language) and debugging tools are included in the laboratory experiments.
2
Course Staffs
Technical Staff
Mr. Siu Wai Hin, Alex, [email protected] Lab Supervisor, Mr. Warren Yick, [email protected]
Tutors
Course (ELEG3230B): HUANG Liang, LIU Ke, YANG Qing, ZHU Zhe Lab (Lab1-6 and IERG3810): LIU Zhongchang, LUK Hon Tung, SHAM Ting Kwong, SHEN Siduo, SUN Deyi, ZHAN Lei, ZHANG Shaoquan, ZHU Xiangchen
3
Regular Schedule
Lectures
Tuesday 10:30am 12:15pm TYW LT Wed 12:30am 1:15pm LSK LT2
Lab Tutorial
Wed 1:30pm-2:15pm LSK LT2 (8 sessions)
Laboratory
MON-THU 2:30 6:15 pm William M W Mong Eng Bldg 1103
Course Assessment
ELEG 3230B Assessment 25% Laboratory work * 5% Quiz 25% Mid-term exam 45% Final exam
*: If you are not taking IEG3810 this year, remember that you still need to ask TA to add your name in the moodle of IEG3810 student list to arrange the lab session !!
100% Mini-project
Note: Academic Honesty is crucial and cannot be compromised. Any plagiarism of the lab report/mini-project report has serious consequence that may lead to F grade for the course. (please read the web page carefully http://www.cuhk.edu.hk/policy/academichonesty)
Assignments
No homework assignment other than the laboratory assignments and mini-project. Students are required to attend the laboratory session. Lab. & mini-project to be performed in IE Teaching Lab II. Tutorial will be provided for some sessions. Questions can be raised during laboratory hours (Mon-Thu, 2:30 6:15 pm).
Course Schedule
Week
1
Date
6/9 7/9 7/9 (6:309:30pm
Lecture (ELE3230)
(01) uP Overview and Review of Digital System (02) Operation of Stored Program Computer Make-up class (We will discuss the time in the first class) (03) 8088 System Architecture Functional Description of 8088 (04) Programming Models
Lab Tutorial
Lab (IEG3810)
Introduction
13/9 14/9
(Holiday) (05) Data Addressing Modes (06) Assembly Language & Instruction Set Schematic Drawing (Lab 1)
Expt. 1
20/9 21/9
Expt. 1 (06) Assembly Language & Instruction Set (07) Pin Assignment of 8088 and other supporting chips such as 8284, 8288 (08-1) Minimum-Mode System Clock Generator (08-2) Address/Data Demultiplexing, Bus Cycle and Timing Diagrams (Holiday) 6 State Analysis ( Lab 3) Logical Analyzer for Timing Analysis Address Decoding (Lab 2) Expt. 2
27/9 28/9
4/10 5/10
Expt. 3
Course Schedule
6 11/10 12/10 (09) Input/Output Subsystem (09) Input/Output Subsystem (continued) (09) Input/Output Subsystem (8255 PPI Programming and Keyboard) (09) Input/Output Subsystem (8254 Programmable Timer/Counter) Mid-term exam (09) Input/Output Subsystem (continued) (10) Interrupt 8259 Interrupt Controller Expt.5 (10) Interrupt 8259 Interrupt Controller (continued) (11) Microcontroller 8051and Its Applications Expt.6 (11) Microcontroller 8051and Its Applications (continued) Mini-project Mini-project Mini-project Deadline for mini-project demonstration * 7 Mini-project briefing Q&A 8259 and LCD Display Interface and Programming (6) 8255 and 8254 Interface and Programming (Lab 5) Expt. 5 Adding RAM to Basic System and Use of Assembler & Debugger (Lab 4) Expt. 3
18/10 19/10
Expt. 4
25/10 26/10
1/11 2/11
10
8/11 9/11
11 12 13 ******
Syllabus
What you'll learn:
design of a simple but complete 8088-based microcomputer system form scratch (ROM/RAM, PAL/GAL, 8255 PPI, 8254 Timer, 8259 Interrupt Controller, LCD) development of system software in Assembly language (and C) use of 8088 emulator for program debugging use of logical analyzer and other tools for hardware system debugging PAL/GAL programming for address decoder design 8051 Micro-controller family methodologies to break down and to deal with complexities building your favorite microprocessor toy
8
References
Reference books
1. 2. B.B. Brey, The Intel Microprocessors 8086/8088, 80186, 80286, 80386 and 80486, 7th Edition, Prentice Hall. A. Singh and W.A.Triebel, The 8088 and 8086 Microprocessor Programming, Interfacing, Software, Hardware, and Application, Prentice Hall. Douglas V. Hall, Microprocessors and Interfacing: Programming and Hardware, Second Edition, McGraw Hill, 1992. (out of print!)
3.
Web sites
Moodle: http://moodle.cuhk.edu.hk/ web : http://course.ie.cuhk.edu.hk/~eleg3230b/ http://course.ie.cuhk.edu.hk/~ierg3810/
Useful information
To get yourself familiar with Assembly language, check the IBM PC debug program in Ch3.4 and onward of Triebels book or in many IBM PC books. 8086 Emulator will be used
http://www.emu8086.com/ Tutorial: ttp://www.emu8086.com/assembler_tutorial/ Instruction set: http://www.emu8086.com/assembler_tutorial/8086_instruction_set.html
10
11