Spring 2000
ENSC 151-2
DIGITAL AND COMPUTER DESIGN LABORATORY
(0-0-4)
Spring 2000: this page is continuously under construction!
TOPICS
TEXTBOOKS
SCHEDULE
EXAMS
ASSIGNMENTS
STAFF
LABS
LAB TUTORIALS
WEEK IN REVIEW
INFO
Course Description: The practical concepts of assembly language
such as programming, digital device interfacing, and hardware/software
interfacing will be introduced through a group project. Topics will include:
assembler concepts; micro-controllers; the hardware/software interface.
Laboratory techniques will also be introduced as needed. This is a project
course with a few lectures and with laboratory tutorials.
Pre-requisites: ENSC 150-3 or CMP 150-3.
Recommended to be taken concurrently with CMP 250.
TOPICS:
-
Introduction and organization
-
Motorola Evaluation Board (EVB): layout and architecture
-
Motorola HC12 microprocessor
-
Assembler concepts: registers, ports, memory, interrupts
-
IASM12: The Integrated Assembler for HC12.
-
ALTERA 7000 PLD family
-
ALTERA MUX+PLUS II programming tools
-
Elements of VHDL programming
-
Hardware/software interface
-
Analog to digital conversion
-
Micro-controllers.
TEXTBOOKS:
Only recommended for the course:
James O. Hamblen and Michael D. Furman,
Rapid
Prototyping of Digital Systems,
Kluwer
Academic Publishers, Boston, MA, 1999. (1 day)
Frederic M. Cady,
Software
and Hardware Engineering: Motorola M68HC11,
Oxford
University Press, Cambridge, MA, 1997. (3 days)
Gene H. Miller,
Microcomputer
Engineering,
Prentice Hall,
Englewood, Cliffs, NJ, 1999. (3 days)
Zoran Salcic and Asim Smailagic,
Digital
Systems Design and Prototyping Using Field Programmable Logic,
Kluwer
Academic Publishers, Boston, MA, 1997. (3 days)
Copies of manuals available at the SFU bookstore:
M68EVB912B32 Evaluation Board User's Manual,
Motorola.
MC68HC912B32 Technical Summary, 16-Bit Microcontroller,
Motorola.
Free manuals:
68HC12, CPU12, Reference Manual,
Motorola.
Reading material:
Frederic M. Cady,
Microcontrollers
and Microcomputers: Principles of software and hardware engineering,
Oxford
University Press, Cambridge, MA, 1997. (3 days)
Charles H. Roth, Jr,
Digital Systems Design
Using VHDL,
PWS Publishing Co.,
Boston, MA 1998. (3 days)
Text used in the ENSC 150 that might be of help:
Albert Paul Malvino and Jerald A. Brown,
Digital
Computer Electronics, Third Edition,
McGraw
Hill, New York, NY, 1993 (imprint 1997). (3 days)
Check the status of the books on reserve for
ENSC
151 by typing "ENSC 151" (with the space) in the search window.
SCHEDULE:
Lectures:
T 12:30 - 14:20 and Th 12:30 - 13:20 in AQ 3003.
Laboratory Tutorials:
ACS MCF PC Lab: AQ 3148.2 reserved:
T 16:30 - 18:30, W 16:30 - 18:30, R 16:30 - 18:30
and
ACS CIC PC Lab: AQ 3145.2 reserved:
T 16:30 - 18:30, W 16:30 - 18:30, R 17:30 - 19:30
ENSC 9800 Laboratories (TA's office hours)
GRADING:
Assignments 30%, Final Project 70%.
Click here to see your grade
and the total scores distribution chart.
EXAMS
No midterm and final exams
FINAL PROJECT REPORTS:
Due Friday, March 31, 2000 (midnight).
Demos scheduled during the week of April 3, 2000.
Sign-up sheet for the final presentations
Sign-up sheet for the final demos
The final project grading policy
ASSIGNMENTS:
Three assignment projects.
Assignment #1:
Due Monday, January 31, 2000, by 16:00 in the ENSC departmental office.
Assignment #2:
Due Monday, February 14, 2000, by 16:00 in the ENSC departmental office.
Extended deadline: Wednesday, February 16, midnight.
Assignment #3
Due Monday, February 28, 2000, by 16:00 in the ENSC departmental office.
Extended deadline: Friday, March 3, midnight.
PROFESSOR:
TEACHING ASSISTANTS:
-
Robert Trost
rtrost@sfu.ca
Lab tutorial: TR: 16:30 - 18:30 (ACS MCF PC Lab)
Office hours: M 11:30 - 13:30 (ASB 9800 Lab)
-
Damian Nesbitt
dnesbitt@sfu.ca
Lab tutorial: TW: 16:30 - 18:30 (ACS CIC PC Lab)
Office hours: M: 13:30 - 15:30 (ASB 9800 Lab)
-
Veljko Jovanovic
vjovanov@sfu.ca
Lab tutorial: W 16:30 - 18:30 (ACS MCF PC Lab) and R 17:30 - 19:30 (ACS CIC PC Lab)
Office hours: W 14:15 - 15:15 and F 11:30 - 12:30 (ASB 9800 Lab)
LABORATORY INSTRUCTOR:
-
Laksman One
ASB 9860
Tel.: (604) 291-3817
lucky@sfu.ca
Lab hours: T 15:30 - 16:30, W 13:30 - 15:30, and R 13:30 - 15:30.
LABORATORY ENGINEERS:
-
Bill Woods
ASB 8832
Tel.: (604) 291-4954
williaw@sfu.ca
Lab hours: W 12:30-14:30, R 10:30-11:30, and F 13:30-15:30.
-
Gary Houghton
ASB 8843
Tel.: (604) 291-4527
houghton@sfu.ca
LABORATORY TECHNOLOGIST:
-
Fred Heep
ASB 9856
Tel.: (604) 291-4629
heep@sfu.ca
General hours: M-F: 9:00- 10:00, 11:00 - 13:00, 14:00 - 16:00.
Closed: 13:00 - 14:00.
ACS TEACHING LAB ADMINISTRATOR:
LABORATORIES:
Weekly schedule
Writing Laboratory Reports & Journals
Sample cover page (Rob's design)
Instructions for writing ENSC 151 assignments
Instructions for in class presentations
of your ENSC 151 final projects
Instructions for writing ENSC 151 final project reports
EVB photo courtesy of Arash Haidari-Khabbaz:
Schematics:
EVB version 1
EVB version 2
LAB TUTORIALS:
D03.03 T 16:30 - 18:30
ACS
MCF PC Lab: AQ 3148.2:
Rob Trost rtrost@sfu.ca
D03.02
T 16:30 - 18:30
ACS
CIC PC Lab: AQ 3145.2:
Damian Nesbitt dnesbitt@sfu.ca
D03.04 W 16:30 - 18:30
ACS
MCF PC Lab: AQ 3148.2:
Veljko Jovanovic vjovanov@sfu.ca
D03.06
W 16:30 - 18:30
ACS
CIC PC Lab: AQ 3145.2:
Damian Nesbitt dnesbitt@sfu.ca
D03.05 R 16:30 - 18:30
ACS
MCF PC Lab: AQ 3148.2:
Rob Trost rtrost@sfu.ca
D03.07
R 17:30 - 19:30
ACS
CIC PC Lab: AQ 3145.2:
Veljko Jovanovic vjovanov@sfu.ca
ASSIGNMENT 1:
IASM12.DOC
How to control HD44780-based
Character-LCD
HD44780-Based LCD Modules
LCD characters map
LCD.NEW.ASM
LCD.ASM
FPGA_LCD.VHD
FPGA_LCD.ACF
Altera7128:
smaller floor plan
and
larger floor plan
HC12diagram:
smaller floor plan
and
larger floor plan
ASSIGNMENT 2:
How to download MAX+PLUS II
Easy version of Assignment #2
IRQ.ASM
E151.VHD
E151.ACF
FPGA_IRQ.VHD
FPGA_IRQ.ACF
ASSIGNMENT 3:
FPGA_TONE.VHD (10 kHz clock)
FPGA_TONE.ACF (10 kHz clock)
FPGA_TONE.VHD (8 MHz clock)
FPGA_TONE.ACF (8 MHz clock)
Frequency content of a square wave
MAX+PLUS II Getting Started version 8.1 (5.4 MB)
MAX 7000 Programmable Logic Device Family Data Sheet, ver. 5.03
AHDL Counter
Atlas Examples
VHDL Cookbook
VHDL Quick Reference Card
TUTORIAL EXAMPLES
TIMER.ASM
Interfacing EVB to a water pump (courtesy of HomeGrown, Spring '99)
ATD.ASM (sample A/D code)
RANDOM.ASM (sample code for a random number generator)
ENSC 151 LAB TEAMS
ENSC 151 Spring '00 projects.
PROJECT IDEAS
ENSC 151 Spring '99 projects.
ENSC 151 Spring '98
project (abstracts only).
FREQUENTLY ASKED QUESTIONS (FAQ)
FAQ: messages with hints and answers to some
frequently asked questions.
WEB SITES OF INTEREST:
ENSC 151 Spring '99: William J. De Vries pages with useful code.
ENSC 150 Fall '99: Lucky's course pages.
ENSC 351:
Patrick's presentations on MC68HC11 (power point documents)
ENSC 363: Useful VHDL Tutorial Articles
Motorola: University Support
Motorola Embedded Controllers
Motorola: 1998 University Design
Contest Winners
Altera University Program
Downloading MAX+PLUS II version 7.21 Student Edition update
Video and VHDL Demo Files for Altera UP 1 Education Board
Land Mine
Detection and Removal Technology Research Competition
MicroMouse Competition
UC
Berkeley EE 40 projects
50th Aniversary of the Transistor
UC Berkeley EECS20:
Structure and Interpretation of Signals and Systems
WEEK IN REVIEW:
1. January 3
2. January 10
3. January 17
4. January 24
5. January 31
6. February 7
7. February 14
8. February 21
9. February 28
10. March 6
11. March 13
12. March 20
13. March 27
14. April 3
INFO:
TOPICS
TEXTBOOKS
SCHEDULE
EXAMS
ASSIGNMENTS
STAFF
LABS
LAB TUTORIALS
WEEK IN REVIEW
INFO
Created by
Ljiljana Trajkovic
ljilja@cs.sfu.ca
Last modified: Monday April 17 18:33:15 PDT 2000.