Specifications

292 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
}
"ppc405" {
foreach entry [glob -nocomplain [file join $ppcsrcdir *]] {
file copy -force $entry "./src/"
}
}
"default" {puts "unknown processor type\n"}
}
# Remove microblaze and ppc405 directories...
file delete -force $mbsrcdir
file delete -force $ppcsrcdir
# Handle stdin and stdout
xhandle_stdin $os_handle
xhandle_stdout $os_handle
# Create config file for microblaze interrupt handling
if {[string compare -nocase $need_config_file "true"] == 0} {
xhandle_mb_interrupts
}
# Generate xil_malloc.h if required
set xil_malloc [xget_value $os_handle "PARAMETER" "need_xil_malloc"]
if {[string compare -nocase $xil_malloc "true"] == 0} {
xcreate_xil_malloc_config_file
}
}
MLD Parameter Description Section
This section gives a detailed description of the constructs used in the MLD file.
Conventions
[] - denote optional values.
<> - Value substituted by the MLD writer.
Comments
Comments can be specified anywhere in the file. A ’#’ character denotes the beginning of a
comment and all characters after the ’#’ till the end of the line are ignored. All white spaces
are also ignored and semi colon with carriage returns act as a sentence delimiter.
OS/Library Definition
The OS/library section include OS/library’s name, options, dependencies and other
global parameters.
Syntax:
OPTION psf_version = <psf version number>
BEGIN LIBRARY/OS <library/os name>
[OPTION drc = <global drc name>]
[OPTION depends = <list of directories>]