Specifications
300 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
function of “stdin” interface has a value “XUartLite_RecvByte”.This function is defined in 
the header file “xuartlite_l.h”.
 BEGIN INTERFACE stdout
 PROPERTY header = xuartlite_l.h;
 FUNCTION name = outbyte, value = XUartLite_SendByte;
 END INTERFACE
 BEGIN INTERFACE stdio
 PROPERTY header = xuartlite_l.h;
 FUNCTION name = inbyte, value = XUartLite_RecvByte;
 FUNCTION name = outbyte, value = XUartLite_SendByte;
 END INTERFACE
 BEGIN ARRAY interrupt_handler
 PROPERTY desc = "Interrupt Handler Information";
 PROPERTY size = 1, permit = none;
 PARAM name = int_handler, default = XIntc_DefaultHandler, desc = 
"Name of Interrupt Handler", type = string;
 PARAM name = int_port, default = Interrupt, desc = "Interrupt pin 
associated with the interrupt handler", permit = none;
 END ARRAY
ARRAY construct is used to define an array of parameters. Here “interrupt_handler” is the 
name of the array. The description (DESC) of the array and the size (SIZE) are defined as 
properties of the array “interrupt_handler”. The construct PERMIT is a directive to the tool 
that the size of the array cannot be changed by the user. The array defines “int_handler” 
and “int_port” as parameters of an element of the array.
 END BLOCK
 BEGIN BLOCK, dep = (level = 1)
 OPTION depends = (common_v1_00_a uartlite_vxworks5_4_v1_00_a);
 OPTION copyfiles = all;
 BEGIN ARRAY interrupt_handler
 PROPERTY desc = "Interrupt Handler Information";
 PROPERTY size = 1, permit = none;
 PARAM name = int_handler, default = XUartLite_InterruptHandler, 
desc = "Name of Interrupt Handler", type = string;
 PARAM name = int_port, default = Interrupt, desc = "Interrupt pin 
associated with the interrupt handler", permit = none;
 END ARRAY
 PARAM name = connect_to, desc = "Connect to operationg system", type 
= enum, values = {"VxWorks5_4" = VxWorks5_4, "None" = none}, default = 
none;
 END BLOCK
END DRIVER
END is used with the construct name that was used in the BEGIN statement. Here END is 
used with BLOCK and DRIVER constructs to indicate the end of each of BLOCK and 
DRIVER constructs.
Example Tcl File
The following is the uartlite_v2_1_0.tcl file corresponding the uartlite_v2_1_0.mdd file 
described in the previous section. The “uartlite_drc” procedure would be invoked by 










