Specifications

302 www.xilinx.com Embedded System Tools Guide (EDK 6.2i)
1-800-255-7778 UG111 (v1.4) January 30, 2004
Chapter 21: Microprocessor Driver Definition (MDD)
R
[BEGIN INTERFACE <interface name>
.......
END INTERFACE]
END DRIVER
Keywords
The keywords that are used in an MLD/MDD file are as follows:
begin
The begin keyword begins one of the following - library, drive, block, category, interface,
array.
end
The end keyword signifies the end of a definition block.
psf_version:
Specifies the psf version of the library.
drc:
Specifies the DRC function name. This is the global drc function, which is called by the GUI
configuration tool or the command line libgen tool. This DRC function will be called once
all the parameters have been entered by the user and MLD/MDD writers can verify that a
valid library/driver can be generated with the given parameters.
option:
Specifies the name following the keyword option is an option to the tool libgen.
copyfiles:
Specifies the files to be copied for the driver/library. If ALL is used, then all of the
library/driver files are copied by Libgen.
depends:
Specifies the list of directories that needs to be compiled before library is built.
requires_interface:
Specifies the interfaces that must be provided by other libraries/drivers in the system.
help:
Specifies the help file that describes the library/driver.
dep:
Specifies the condition that needs to be satisfied before processing an entity. For example to
enter into a block, the dep condition should be satisfied. Conditions of the form (operand1
OP operand2) is only supported for now. In future any expression can be given as
condition.
block:
Specifies the block is to be entered into when the dep condition is satisfied. Note that
nested blocks are not supported currently.
interface:
Specifies the interfaces implemented by this library/driver. It describes the interface
functions and header files used by the library/driver.