Step 6: Add Software Files to Project

The Quartus II software uses software source files to create a HEX File that contains the memory initialization data. The Quartus II software then uses the HEX File and the PSOF created during compilation to generate passive programming files, including a SOF.

To add the Altera-provided software source files to the project, follow these steps:

  1. Choose Add/Remove Files in Project (Project menu). The Add/Remove page of the Settingsdialog box appears.

  2. Click Browse (...). The Select File dialog box appears.

  3. In the Files of type list, select Software Files.

  4. In the \qdesigns\excalibur\arm_c\ subdirectory, select the arm_tutorial.c file.

  5. Click Open. The file arm_tutorial.c appears in the File name list.

  6. Repeat steps 5 and 6 above to add the following software source files to the project:

  7. File name
    Description
    init.s Assembly File (.s) that contains initialization data for arm_tutorial.c.
    vector.s Assembly File that contains initialization data for arm_tutorial.c

    Show Me

  8. Click OK. You have now added all the necessary software source files required to run the software build.


To continue the tutorial, proceed to Step 7: Perform a Software Build.