F-2010 | ECE 330/330L

Instructor:   Arlen Planting
Office:   ET 227
Phone:   (208)426-4826
Office hours:   Mon/Wed/Fri, 2:30pm – 3:30pm or by appointment
Contact Info.: by email: clarenceplanting@boisestate.edu

COURSE INFORMATION:

Course Syllabus: pdf

Credit Hours: 3 (ECE 330), 1(ECE 330L)

Prerequisites: ECE 230

Description (from catalog):
Microprocessor architecture, software development tools, and hardware interfacing. Emphasis is placed on 16 and 32 bit microprocessor systems. Machine and assembly language programming, instructions set, addressing modes, programming techniques, memory systems, I/O interfacing, and interrupt handling are among the topics studied with practical applications in data acquisition, control, and interfacing.



Tutorial/Manual

Manuals
Altera DE2 Userguide (pdf)
Nios II Processor Reference Handbook (pdf)
Nios II Instruction Set Reference (pdf)
Nios II Software Developer’s Handbook (pdf)
Qartus II Version 7.1 Handbook, Vol 5: Embedded Peripherals (pdf)
Avalon Bus Specification (pdf)
GNU Assembler Documentation (link)

Reference Materials
Assembler Directives (link)
Chapter 4 Examples (zip)
Chapter 5 Examples (zip)
Chapter 6 Examples (zip)
Chapter 7 Examples (zip)
Register Conventions Reference (pdf)
Instruction Set Simulation Instructions (pdf)(zip)
C Language Pointer Examples (zip)
k&r Supplement Examples (zip)
More C Language Examples (zip)

Reference Errata
Page 3-14 (pdf)
  Page 3-21 (pdf)


Homework

  • Hwk 1 (Due: Beginning of Class 08/30/2010): (pdf)
  • Hwk 2 (Due: Beginning of Class 09/08/2010): (pdf)
  • Hwk 3 (Due: Beginning of Class 09/13/2010): (pdf)
  • Hwk 4 (Due: Beginning of Class 09/20/2010): (zip)
  • Hwk 5 (Due: Beginning of Class 09/27/2010): (pdf)
  • Hwk 6 (Due: Beginning of Class 10/04/2010): (pdf)
  • Hwk 7 (Due: Beginning of Class 10/11/2010): (pdf)
  • Hwk 8 (Due: Beginning of Class 10/18/2010): (zip)
  • Hwk 9 (Due: Beginning of Class 10/25/2010): (pdf)
  • Hwk 10 (Due: Beginning of Class 11/03/2010): (pdf)
  • Hwk 11 (Due: Beginning of Class 11/08/2010): (pdf)
  • Hwk 12 (Due: Beginning of Class 11/17/2010): (pdf)

Quiz

Quiz 1 (09/01/2010): Ch. 1 & 2


Lecture Notes

Reading: Week 1 – Chapters 1 & 2

Reading: Week 2 – Chapter  3

Reading: Week 4 – Sections 3.6-3.7


Lab

Lab Syllabus: pdf

Lab 0 (08/23/2010): Getting Started
Prelab: none
Lab: download
Laboratory Check-off Sheet: not required

Lab 1 (08/30/2010): Memory
Prelab: none
Lab: download
Laboratory Check-off Sheet: not required

Lab 2 (09/06/2010): PIO Devices
Prelab: Read Lab Reference C and complete system.inc
Lab: download
Laboratory Check-off Sheet: not required

Lab 3 (09/13/2010): Assembly Subroutines
Prelab: Read Lab Reference D (revised: 9/13/2010)
Lab: download
Laboratory Check-off Sheet: not required

Lab 4 (09/20/2010): C Language Introduction
Prelab: Lab Reference E – Nios II IDE Tutorial
Lab: download
Laboratory Check-off Sheet: not required

Lab 5 (09/27/2010): Count Down Timer
Prelab: Lab Reference G – Countdown Timer
Lab: download
Laboratory Check-off Sheet: not required

Lab 6 (10/04/2010): Cache Memory
Prelab: None
Lab: download
Laboratory Check-off Sheet: not required

Lab 7 (10/11/2010): LCD Display
Prelab: Reading-1, Reading-2, Reading-3
Lab: download
Laboratory Check-off Sheet: not required

Lab 8 (10/18/2010): Nios II Exceptions
Prelab: Altera Debug Client example code (zip)
Lab Part 1: download
Lab Part 2: download
Laboratory Check-off Sheet: not required

Lab 9 (11/01/2010): PWM – Tri-color LED
Prelab: None
Lab: download
Laboratory Check-off Sheet: not required

Lab 10 (11/08/2010): Analog to Digital Conversion
Report Format: http://www.ieee.org/documents/TRANS-JOUR.doc
Lab: download
Laboratory Check-off Sheet: not required

Final (12/14/2010): Digital Oscilloscope
Report Format: http://www.ieee.org/documents/TRANS-JOUR.doc
Lab: nios2_r3a, VGA register map, VGA datasheet
Laboratory Check-off Sheet: (Example, Template)
There will be no new features for this processor
nios2_r3a is the final processor for this lab (12/10/2010)

Report Submissions: ece330lreport@gmail.com