Development Tools User’s Manual
41
IXP2400/IXP2800 Network Processors
Developer Workbench
•
Saving files, see
•
•
Editing files, see
•
Closing a file, see
•
Searching for text in a source file, see
•
Fonts and syntax colors in a source file, see
For details, refer to the
Intel
IXP2400/IXP2800 Network Processor Programmer’s Reference
Manual.
2.6.1
Root Files and Dependencies
The executable image for a Microengine is generated by a single invocation of the Assembler that
produces an output ‘.list’ file. You can place all the code for a Microengine into a single source file,
or you can modularize it into multiple source files. However, the Assembler allows you to specify
only a single filename. Therefore, to use multiple source files, you must designate a primary, or
root, file as the one that gets specified to the Assembler. You include the other files from within the
root file or from within already included files, by nesting or chaining them. The included files are
considered to be descendants of the root file. In the
FileView
tab of the
Project Workspace
, root
files are distinguished by having an
to the left of it.
You can designate the same output file to be loaded into more than one Microengine. You can also
include the same source file under more than one root file, making the file a descendant of multiple
root files.
In order for the Workbench to build list and image files, you must assign a .list file to at least one
Microengine. You set root files as part of setting Assembler options. On the
Project
menu, click
Update Dependencies
to have the Workbench update the dependencies for all source files in the
project. If a file is included by a source file but is not itself a source file in the project, the
Workbench automatically inserts that source file into the project. The Workbench automatically
performs a dependency update when a project is opened. When you insert a microcode file into a
project, the Workbench checks that file for dependencies.
2.6.2
Selecting Assembler Build Settings
To make or change Assembler settings:
1. On the
Build
menu, click
Settings
.
The
Build Settings
dialog box appears.
2. Click the
General
tab to specify additional include directories and the processor revision
(stepping) range (see
3. Click the
Assembler
tab to specify parameters for creating .list files and other Assembler
options.
Note:
Compiler settings on the
General
tab are covered in