MDD Design Rule Check (DRC) Section - 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
proc mydrc { handle }

The DRC function can be any Tcl code that checks your parameters for correctness. The DRC procedures can access (read-only) the Platform Specification Format database (built by the tool using the hardware (XSA) and software (MSS) database files) to read the parameter values you set. The "handle" is a handle to the current driver in the database. The DRC procedure can get the driver parameters from this handle. It can also get any other parameter from the database by first requesting a handle and then using the handle to get the parameters.

  • For errors, DRC procedures call the Tcl error command error "error msg" that displays in an error page.
  • For warnings, DRC procedures return a string value that can be printed on the console.
  • On success, DRC procedures just return without any value.