Specifications
CHAPTER 16: SOFTWARE DEVELOPMENT
GENERATING SOFTWARE OUTPUT FILES
244 ■ INTRODUCTION TO QUARTUS II ALTERA CORPORATION
Generating Memory Initialization Data
Files
Binary Files (.bin), HEX Files, and Library Files (.a) contain the memory
initialization data for the Excalibur embedded processor stripe. The
following steps describe the basic flow for creating BIN Files, HEX Files, and
Library Files with the Software Builder:
1. Create the software source files and add them to the project.
2. Specify the software toolset directory and software build settings. Use
the Software Build Settings page of the Settings dialog box
(Assignments menu) to specify the output file type and file name. If you
selected a HEX File in the Output file format list, and you do not want
to generate a flash programming file or generate passive programming
files, select None under Programming file generation.
3. Start the software build.
Figure 3 shows the flow for using the Software Builder to generate memory
initialization data files.
Figure 3. Memory Initialization Data Files Flow
To generate the memory initialization files, the Software Builder performs
the following steps:
1. An assembler and C/C++ compiler generates intermediate object files
from the design’s software source files.
Quartus II
Software Builder
quartus_swb
Memory initialization
data files include
Binary Files (.bin), Hexadecimal
(Intel-Format) Output Files (.hex) &
Library Files (.a)
to Quartus II
Programmer
Software source files
include Assembly Files (.s, .asm),
C/C++ Include Files (.h),
C Source Files (.c),
C++ Source Files (.cpp) &
Library Files (.a)










