Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 295
UG111 (v1.4) January 30, 2004 1-800-255-7778
Design Rule Check (DRC) Section
R
int - integer
string - string value within " "
enum - list of possible values, that this parameter can take
library - specify other library that is needed for building the library/driver.
peripheral_instance - specify other hardware drivers that is needed for building the library.
default:
Specifies the default value for the entity in which it was defined.
permit:
Specifies the permissions for modification of values. The following permissions exist:
NONE - no modification
TOOL- may be modified by the tool
USER - may be modified by the user (default)
If permit = none, then the category is always active.
Array
BEGIN ARRAY <array name>
PROPERTY desc = <array description> ;
PROPERTY size = <size of the array>;
PROPERTY default = <List of Values for each element based on the size
of the array>
# array field description as parameters
PARAM name = <name of parameter>, desc = "description of param", type
= <type of param>, default = <default value>
.....
END ARRAY
Array can have any number of PARAM’s and only PARAM’s. It cannot have CATEGORY
as one of the field of an array element. Size of the array can be defined as one of the
PROPERTY of the Array. An array with with default values specified in default property,
leads to its size property being initialized to the number of values. If there is no size
property defined, a size property is created before initializing it with the default number of
elements. Each parameter in the array can have a default value. In case where size is
defined with an integer value, an array of size elements would be created wherein the
value of each element being the default value of each of the parameter.
Design Rule Check (DRC) Section
proc mydrc { handle } {
}
DRC function could be any Tcl code which checks the user parameters for correctness. The
drc procedures can access (read-only) the Platform Specification Format database (built by
the libgen tool using the MHS and the MSS files) to read the parameter values set by the
user. The "handle" is a handle to the current library in the database. The drc procedure can
get the os/library parameters from this handle. It can also get any other parameter from
the database, by first requesting for a handle and using the handle to get the parameters.
For Errors, drc procedures would call the Tcl error command ’error "error msg"’, which will
be displayed to the user in an error Dialog box.










