delete_qor_ruledeck - delete_qor_ruledeck - 2026.1 English - UG835

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
UG835
Release Date
2026-06-23
Version
2026.1 English

Description

Removes one or more QoR rule decks from the Vivado. This command only operates on user-created rule decks. It does not delete factory rule decks.

Arguments

<IDs> - Name of the ruledeck to be deleted.

Note: Although you can assign the same name to both assessment and suggestion rule decks, it is recommended to use unique names to maintain clarity.

-type - (Optional) Specifies the type of ruledeck to delete. Valid values are "suggestion" or "assessment". The default value is "suggestion" and by default, the command only deletes suggestion type ruledecks. To delete any assessment type ruledecks, use the -type assessment switch.

Examples

The following example registers a new RQS_NETLIST_AMD-1 suggestion. It takes unroll_srl_to_input proc which is available in unroll_srl_to_input.tcl file. It sets the applicable 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 confirms the deletion:

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