delete_qor_ruledeck - 2025.1 English - UG835

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
UG835
Release Date
2025-06-16
Version
2025.1 English

Description

Removes one or more QoR rule decks from the Vivado. This command is only operated on user-created rule decks. Factory rule decks can not be deleted.

Arguments

<patterns> - Specifies the pattern expression that are used to match the names of the rule decks for deletion. Default value is *

-filter - Allows user to specify a rule deck filter to limit the QoR rule decks based on properties. To get list of available properties, execute the following command:
report_property [lindex [get_qor_ruledecks] 0]

Examples

The following example registers a new suggestion called RQS_NETLIST_AMD-1. It takes proc called unroll_srl_to_input which is inside file unroll_srl_to_input.tcl. It sets the applicable for value to opt_design, adds description, summary, and suggestion to the Netlist category. It is then added to a new rule deck AMD_Netlist_OptDesign.

source unroll_srl_to_input.tcl
set af [list opt_design]
set cat Netlist
set desc "Unroll SRL inputs when driving by a LUT"
create_qor_check -name RQS_NETLIST_AMD-1 -rule_body unroll_srl_to_input -property_values [list APPLICABLE_FOR $af CATEGORY $cat DESCRIPTION $desc]
create_qor_ruledeck AMD_Netlist_OptDesign
add_qor_checks -ruledeck AMD_Netlist_OptDesign [list RQS_NETLIST_AMD-1]

The following example deletes the ruledeck after it is created:

delete_qor_ruledecks AMD_Netlist_OptDesign

The following example creates two rule decks, checks for their existence, deletes them (and any other user rule decks), and rechecks that they no longer exist:

create_qor_ruledeck [list AMD_Netlist_OptDesign1 AMD_Netlist_OptDesign2]
get_qor_ruledecks AMD*
delete_qor_ruledecks
get_qor_ruledecks AMD*

The following example deletes any non factory ruledecks:

delete_qor_ruledecks -filter {IS_FACTORY_RULE_DECK==0}