Creating a DRC Rule Deck - 2020.2 English

Vivado Design Suite User Guide: Using Tcl Scripting (UG894)

Document ID
UG894
Release Date
2021-03-30
Version
2020.2 English

You can optionally group multiple related DRC checks that can be run together into a DRC rule deck. To do this, you must first create the DRC rule deck by using the create_drc_ruledeck command. Once the DRC rule deck is created, DRCs can be added and removed from the DRC rule deck by using the add_drc_checks and remove_drc_checks commands. Mixing user-defined checks and predefined checks into a single DRC rule deck is allowed in the Vivado Design Suite. Below is an example of creating a DRC rule deck called myrules along with the addition and removal of DRCs from the DRC rule deck.

create_drc_ruledeck myrules
add_drc_checks -ruledeck myrules {RAMW-1 RAMW-2 RAMW-3}
remove_drc_checks {RAMW-2} -ruledeck myrules
Note: If the is_enabled property of the DRC is set to FALSE, then the DRC will not be run as part of the DRC rule deck when running report_drc. In some cases, it might be more desirable to disable the DRC than to remove it from the DRC rule deck.