

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A lab guide for ece 332l microprocessors course, focusing on memory concepts and a bubble sort program. Students are required to read specific chapters from n2prh and q2h documents, complete pre-lab tasks, and write a program to sort a sequence of numbers in memory. Deliverables include a bubble sort routine and a text file with sorted values.
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!


C:\arlen\ee332\labs_2008\Lab1\docs\Lab1_cover.doc
Objective: The purpose of this lab is to introduce you to memory. Memory is the most important device in any computer system. Since our programs and data must reside in memory, a good understanding of how memory is connected to the microprocessor should come before learning to write code. Unfortunately this requires covering a lot of material quickly. Below is a list of reading materials that you need to review before you actually start the laboratory material. You are provided pre-lab material to assist you in this process. You should start by locating and quickly reviewing the reading materials listed so that you know where more information can be found on a given topic. Then proceed to the pre-lab material and refer back to listed documents when questions arise.
Pre-Lab: Complete the following reading and attached pre-lab before coming to lab next week
Reading from N2PRH - n2cpu_nii5v1.pdf Chapter 1. Introduction Chapter 2. Processor Architecture All sections excluding “Exception and Interrupt Controller” Chapter 3. Programming Model Introduction General-Purpose Registers Memory and Peripheral Access Processor Reset State Instruction Set Categories Chapter 8. Instruction Set Reference
Reading from Q2H - n2cpu_nii5v3.pdf Chapter 1. SDRAM Controller Core
qts_qii54006.pdf On-chip RAM and ROM
Using as The GNU Assembler http://www.gnu.org/software/binutils/manual/gas-2.9.1/html_chapter/as_toc.html
Assembler Directives http://www.gnu.org/software/binutils/manual/gas-2.9.1/html_chapter/as_7.html
Lab1_prelab tutorial (attached)
Resources:
1ab1.sof, lab1.ptf Altera DE2 Development Board Altera Debug Client (Quartus II Programmer)
C:\arlen\ee332\labs_2008\Lab1\docs\Lab1_cover.doc