描述
I have created a new DRC rule via Tcl like the example below:
create_drc_check -name {CEL-1} -hiername {Cells} -desc {Simple Cell Check} -rule_body { puts "doing the cell check" } -msg $msg
In the "Report DRC" GUI I see the newly created DRC.
However, if I only check this option (or only user-defined DRCs) and uncheck others, the Vivado IDE generates an incorrect command.
The only command issued is
report_drc -name drc_1
As a result the design is checked against all DRC's.
解决方案
The below commands can be used from the Tcl console as a work-around.
create_drc_ruledeck ruledeck_1
add_drc_checks -ruledeck ruledeck_1 [get_drc_checks {user_drc_name}]
report_drc -name drc_1 -ruledeck ruledeck_1
This issue has been fixed in Vivado 2014.2.