Specifications
232 www.xilinx.com Embedded System Tools Guide (EDK 6.2i)
1-800-255-7778 UG111 (v1.4) January 30, 2004
Chapter 16: Microprocessor Peripheral Description (MPD)
R
Comments
You can insert comments in the MPD file without disrupting processing. The following are
guidelines for inserting comments:
x Precede comments with the pound sign (#)
x Comments continue to the end of the line
x Comments can be anywhere on the line
Format
Use the following format at the beginning of a component definition:
BEGIN peripheral_name
The BEGIN keyword signifies the beginning of a new peripheral.
Use the following format for assignment commands:
command name
= value
Use the following format to end a peripheral definition:
END
Assignment Commands
There are five assignment commands:
x bus_interface
x io_interface
x option
x parameter
x port
Signal Direction
Signals have three modes. Signal mode indicates its driver direction, and if the port can be
read from within the peripheral.
The three modes and their accepted values are as follows:
x input - [input, in, i]
x output - [output, out, o]
x inout - [inout, io]
MPD Example
The following is an example MPD file:
BEGIN opb_gpio
## Peripheral Options
OPTION IPTYPE = PERIPHERAL
OPTION IMP_NETLIST = TRUE
OPTION SIM_MODELS = BEHAVIORAL:STRUCTURAL
## Bus Interfaces










