The MAD format specification involves the MAD file format specification and the Tcl file format specification.
MAD File Format Specification
The MAD file format specification describes the parameters using a sample MAD file and its corresponding Tcl file.
The following example shows a MAD file for a sample application called my_application.
option psf_version = 2.1;
option is a keyword identified by the tool. The option name following the option keyword is a directive to the tool to do a specific action.
BEGIN APPLICATION my_application
option NAME = myapplication
option DESCRIPTION = "My custom application"
Tcl File Format Specification
- DRC Section: This section contains Tcl routines that validate your hardware and software instances and their configuration needed for the application.
- Generation Section: This section contains Tcl routines that generate the application header and C files based on the hardware and software configuration.