Specifications

Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 117
UG111 (v1.4) January 30, 2004 1-800-255-7778
R
Chapter 7
Library Generator
This chapter describes the Library Generator (LibGen) utility needed for the generation of
libraries and drivers for embedded soft processors. It also describes how the user can
customize peripherals and associated drivers. The chapter contains the following sections:
x “Overview”
x “Tool Usage”
x “Tool Options”
x “Load Path
x “Output Files”
x “Libraries and Drivers Generation”
x “MSS Parameters”
x “Drivers”
x “Libraries”
x “OS”
x “Interrupts and Interrupt Controller”
x “XMDSTUB Peripherals (MicroBlaze Specific)
x “STDIN and STDOUT Peripherals”
Overview
LibGen is generally the first tool run to configure libraries and device drivers. LibGen takes
an MSS (Microprocessor Software Specification) file created by the user as input. The MSS
file defines the drivers associated with peripherals, standard input/output devices,
interrupt handler routines, and other related software features. LibGen configures libraries
and drivers with this information. For further description of the MSS file format, refer to
Chapter 19, “Microprocessor Software Specification (MSS)”.
Note: The EDK offers a RevUp tool to convert any older MSS file format to a new MSS format. See
Chapter 9, “Format Revision Tool” for more information.
Tool Usage
LibGen is run as follows:
libgen [options] filename.mss