Name Last modified Size Description
Parent Directory -
checking/ 27-Apr-2005 06:17 -
experiment1-question..> 22-Feb-2006 10:02 62K
experiment1.pdf 20-Feb-2006 22:27 339K
experiment2-question..> 22-Feb-2006 13:39 85K
experiment2.pdf 20-Feb-2006 22:34 257K
experiment3-question..> 22-Feb-2006 12:55 87K
experiment3.pdf 21-Feb-2006 06:28 273K
experiment4-question..> 22-Feb-2006 12:59 83K
experiment4.pdf 22-Feb-2006 18:51 252K
experiment5-question..> 22-Feb-2006 12:45 74K
experiment5.pdf 22-Feb-2006 12:39 289K
experiments-cover.pdf 21-Feb-2006 14:56 63K
labs-src/ 14-Feb-2005 01:58 -
| Current Directory: | |
|---|---|
| Quick Links: |
The unsw/elec2041 directory contains information specifically for ELEC2041 Microprocessors and Interfacing. In particular, you can find the full text of the experiments you will be doing in the Digital Systems Laboratory; see the Laboratory Manual below to access these.
Please Note: This version of the Companion CD-ROM does not contain the lecture notes for ELEC2041 Microprocessors and Interfacing: you can obtain these notes and other course-specific information from the ELEC2041 Web site.
You should take the time to familiarise yourself with the contents of this CD-ROM. In particular, you will find the information in this unsw/elec2041 directory and in the unsw/common directory most useful. If at all possible, you should read through at least some of the example programs — these will definitely help you with your ARM assembly language programming. And all of the other directories on this CD-ROM are also worth investigating!
This Companion CD-ROM contains the complete Laboratory Manual for ELEC2041 Microprocessors and Interfacing. The actual laboratory experiments are in this directory; the appendices may be found in other directories on this CD-ROM. For your convenience, the complete Laboratory Manual is shown in tabular format. Please note that you will need Adobe Acrobat Reader (or another PDF viewer) installed on your computer to be able to read these documents:
Please note that you will need to refer to other documents and directories apart from those listed above! In particular, each experiment has its own source code directory that you will need to use; these directories are listed in the following table. In addition, all experiments come with a page(s) of typical questions: you should answer these questions as part of your Laboratory preparation, as you will almost certainly be asked one or more of them.
| Source Code Directory on Companion CD-ROM | Typical Questions | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
If you like, you may install the software on this CD-ROM onto your home computer. This will allow you to use the simulator to do parts of your experiments outside of the Laboratory. Simply follow the list of steps in the Getting Started section of the main README.html file.
Please note: You do not have to install the Xilinx FPGA Tools for this course; you only need the GNU Tools.
Please note that although the source code and precompiled binaries for linux to the Komodo debugger is available, it is not supported for use outside the Laboratory at the present time. In other words, although you can follow the instructions to install Komodo for binaries or the source code, on your system, “if it breaks, you get to keep both pieces”! This may change in the future; please make sure you check the Digital Systems Laboratory Web Server for any updates.
You can use the checking scripts in the
unsw/elec2041/checking directory to help
check whether your programs for Experiments 2 and 3 work correctly.
Remember, however, that even if your program passes the checking script,
it does not mean that it is correct and without bugs! (See the
challenge in Experiment 1 Task 3 for an example of this). Furthermore,
these scripts are not supported for use outside the
Laboratory.
In order to use these checking scripts successfully, you need to ensure that you have the Expect package installed on your system. How to do so is beyond the scope of this note; a good way to check if it is installed is to type “expect -v”: if the result is similar to “expect version 5.x.y” (for some x and y), then you have the necessary program. If not, consult expert help…
To actually use these checking scripts, simply mount the CD-ROM as usual and run the appropriate script. For example, to check if your program works for Experiment 3 Checkpoint 1, type the following at the Linux shell prompt:
Please note that there is a bug in the cygwin version of the Expect package and, therefore, the marking scripts do not run under the cygwin platform.
$ | /mnt/cdrom/unsw/elec2041/checking/checkit-exp3-1 |
Please note that the “$” indicates the Linux
shell prompt: you don’t type it in. This command also assumes that
you have already mounted this CD-ROM on your computer, and that the
mount point (where the CD-ROM can be found within the file
system) is /mnt/cdrom; see the instructions for mounting the
CD-ROM for more details.
This Companion CD-ROM may be updated at any time. Please make every effort to keep up-to-date by regularly checking the Companion CD-ROM Web site for any updates, changes, corrections and additions. In particular, you should always check that site before starting any particular laboratory experiment!
If you find any problems with this CD-ROM, please let your lecturer know. Alternatively, you might like to contact Saeid Nooshabadi (the maintainer of this CD-ROM) directly by sending e-mail to saeid@unsw.edu.au. You can send any comments, suggestions and corrections to either your lecturer, Dr. Saeid Nooshabadi, or to John Zaitseff.