I would like to change the message severity of a particular message. For example, there is a certain Critical Warning that I would like upgraded to an Error, or a Warning message that I would like downgraded to an Info message.
How do I change message severity?
To change the severity of a particular message, use the Tcl command "set_msg_severity".
Type "set_msg_severity -help" in the Tcl console or in a Vivado Tcl shell to get the complete command description and syntax.
The possible severities for a message and their general definitions are:
Note: Since this is a two word value, it must be enclosed in {} or "".
Every message delivered by the tool has a unique global message ID that consists of an application sub-system code and a message identifier. This results in a message ID that looks like the following:
"Common 17-54"
"Netlist 29-28"
"Synth 8-3295"
Use this command to customize the message severity returned by the tool to specific levels appropriate to your usage.
Note: You can restore the message severity of a specific message ID to its original setting with the reset_msg_severity command.
Examples:
The following example reduces or downgrades the significance of message ID "Common 17-54" from a CRITICAL WARNING to a WARNING so that it causes less concern when encountered:
set_msg_severity "Common 17-54" WARNING
The following example elevates or upgrades a common INFO message to a Critical Warning:
set_msg_severity "Common 17-81" "CRITICAL WARNING"
The severity of a DRC check can be set using the set_property command.
Example: Run the below command in Tcl console of Vivado to set the severity of "NSTD-1" to Warning
set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
Answer Number | 问答标题 | 问题版本 | 已解决问题的版本 |
---|---|---|---|
59277 | 2014.2 Vivado - Grouped messages in the "Message" console only show the process-message ID | N/A | N/A |
AR# 53981 | |
---|---|
日期 | 09/07/2017 |
状态 | Active |
Type | 综合文章 |
Tools |