MDD Driver Definition Files - 2021.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 English

Driver Definition involves defining a Data Definition file (MDD) and a Data Generation file (Tcl file).

Data Definition File
The MDD file (<driver_name>.mdd) contains the configurable parameters. A detailed description of the parameters and the MDD format is described in MDD Parameter Description.
Data Generation File
The second file (<driver_name>.tcl), with the filename being the same as the MDD filename) uses the parameters configured in the MSS file for the driver to generate data. Data generated includes but is not limited to generation of header files, C files, running DRCs for the driver, and generating executables. The Tcl file includes procedures that are called by the tool at various stages of its execution.

Various procedures in a Tcl file includes: the DRC (name of the DRC given in the MDD file), generate (tool defined procedure) called after driver files are copied, post_generate (tool defined procedure) called after generate has been called on all drivers and libraries, and execs_generate called after the libraries and drivers have been generated.

Note: A driver does not require the data generation file (Tcl file).