Address Map
Manual Reset : Press all 4 blue keys down simultaneously
Reset Vector: 0x01000000
Exception Vector: 0x01000020 (all interrupts jump to this address)
Download
WARNING: the Makefile interface has changed, you now use "make run SRCS=myprog.s" to run myprog.s. See the make help for details.
The Software Development Package above includes the hardware configuration for the Nios II system (NOTE: this hardware system may change so keep your code flexible), as well as a Makefile and several sample programs. The hardware system source code is in its respective Hardware Development package.
Instructions
- Download the above package
- Open Nios II Command Shell (Start->Programs->Altera->Nios II EDS->Nios II Command Shell)
- From the shell, unpack the package: tar xzf msl_sdkX.X.X.tar.gz
- Go inside the directory with the unpacked contents: cd msl_sdk
- Plug in the DE2 board (both power and USB blaster - as well as PS/2 for kvm)
- In the shell, configure the hardware: make configure ; this command loads the Nios II processor system onto the DE2 board.
- Run the test program: make run ; observe the flashing lights
- Type make help for instructions on running/debugging your own programs.
NOTE ABOUT DEBUGGING: When you run make debug the debugger will load but
(for some odd reason) the UI is sometimes disabled. To fix this, click in the
white area of the debugger (where your code is) and hit 's' which is the
keyboard shortcut to step forward one instruction. Then the UI will be
activated. Hopefully another fix exists.
Peripherals
THIS SECTION HAS MOVED TO: http://www-ug.eecg.toronto.edu/msl
Labs
Lab | Personnel | Working | Documented |
Lab 1 | Martin | | 100% |
Memory | Felix | 100% | 100% |
Lab 2 | Peter | 100% | 100% |
Lab 3 | Supakorn | 100% | 100% |
Lab 4 | Felix | 100% | 100% |
Lab 5 | Nick | 100% | 100% |
Lab 6 | Nick | 100% | 100% |
Lab 7 | Supakorn,Felix,Nick | 80% | 100% |
Other
- Update "Explanation handouts" - 0%
CAD Tools & Software Required
- Quartus II, MegaCore IP Library, Nios II EDS (all three, in that order)
- Altera Debug Client - Simple GUI for software development
- Altera UP Library - SOPC hardware components specific to DE1/2
- DE2 System CD - includes demos, datasheets, documentation, etc.
- DE1 System CD - includes demos, datasheets, documentation, etc.
Links