Specifications

296 www.xilinx.com Embedded System Tools Guide (EDK 6.2i)
1-800-255-7778 UG111 (v1.4) January 30, 2004
Chapter 20: Microprocessor Library Definition (MLD)
R
For Warnings, drc procedures return a string value which can be printed on the console.
On Success, drc procedures just return without any value.
Library Generation (Generate) Section
proc mygenerate { handle } {
}
generate could be any Tcl code which reads the user parameters and generates
configuration files for the os/library. The configuration files can be C files, Header files,
Makefiles, etc. The generate procedures can access (read-only) thePlatform Specification
Format database (built by the libgen tool using the MHS and the MSS files) to read the
parameter values of the os/library set by the user. The "handle" is a handle to the current
os/library in the database. The generate procedure can get the os/library parameters from
this handle. It can also get any other parameter from the database, by first requesting for a
handle and using the handle to get the parameter