Specifications

294 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
Specifies the interfaces implemented by this os/library/driver. It describes the interface
functions and header files used by the library/driver.
BEGIN INTERFACE <interface name>
OPTION DEP=<list of dependencies>;
PROPERTY HEADER=<name of header file where the function is declared>;
FUNCTION NAME=<name of interface function>, VALUE=<function name of
library/driver implementation> ;
END INTERFACE
header:
Specifies the header file in which the interface functions would be defined.
function:
Specifies the function implemented by the interface. This is a name-value pair where name
is the interface function name and value is the name of the function implemented by the
os/library/driver.
category:
The category block defines an unconditional block. This block gets included based on the
default value of the category or if included in the MSS file.
BEGIN CATEGORY <category name>
PARAM name = <category name>, DESC=<param description>,
TYPE=<category type>, DEFAULT=<default>, PERMIT=<value>, DEP =
<condition>
OPTION DEPENDS=<list of dependencies>, DRC=<drc name>, HELP=<help
file>;
< parameters or categories description>
END CATEGORY
Currently nested categories are not supporetd though the syntax specifies it. Its an
enhancement for future. A category is selected in a MSS file by specifying the category
name as a parameter with a boolean value TRUE. A category must have a PARAM with
category name.
param
The MLD file has a simple name = value format for most statements. The param keyword
is required before every such NAME, VALUE pairs. The format for assigning a value to a
parameter is param name = <name>, default= value. The param keyword specifies that the
parameter can be overwritten in the MSS file.
property:
Specifies the variour properties of the entity defined with a begin statement
name:
Specifies the name of the entity in which it was defined(example: param, property).
desc:
Describes the entity in which it was defined(example: param, property).
type:
Specifies the type for the entity in which it was defined(example: param). The following
are the types that are supported:
bool - boolean (true or false)