Specifications

30
3.6.1 Compiling and loading the program:
After successfully creating a project, the program can be compiled and downloaded onto the
DE2 board. There are three different commands that can be used to compile and/or load a
program:
• Actions > Compile menu item or toolbar button:
Compiles the source files into an ELF and SREC file. The generated ELF and SREC files are
placed in the project’s directory.
• Actions > Load menu item or toolbar button:
Loads the compiled SREC file onto the board and begins a debugging session in the Monitor
Program.
Loading progress messages are displayed in the Info & Errors window.
• Actions > Compile & Load menu item or toolbar button:
Performs the operations of both compilation and loading.
3.6.2 Running the program:
As mentioned at the end of the previous section, the program is paused at its first instruction
after it has been loaded. To run the program, click the Actions > Continue menu item or click the
toolbar button. The Continue command runs the program until something halts the processor’s
execution, such as a breakpoint or a forced user halt.