delete_qor_ruledeck - 2025.2 English - UG835

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
UG835
Release Date
2025-11-20
Version
2025.2 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

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 rechecks that they no longer exist:

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*