Quartus® Prime Standard Edition User Guide: Design Compilation

ID 683283
Date 10/22/2021
Public
Document Table of Contents

3.7.2.2. Enabling or Disabling Specific HDL Messages by Module/Entity

Message ID is in parentheses at the beginning of the message. Use the Message ID to enable or disable a specific HDL info or warning message. Enabling or disabling a specific message overrides its HDL Message Level. This method is different from the message suppression in the Messages window because you can disable messages for a specific module or a specific entity. This method applies only to the HDL messages, and if you disable a message with this method, the Quartus® Prime software lists the message as a suppressed message.

To disable specific HDL messages in the Quartus® Prime software, follow these steps:

  1. Click Assignments > Settings > Compiler Settings > Advanced Settings (Synthesis).
  2. In the Advanced Message Settings dialog box, add the Message IDs you want to enable or disable.

    To enable or disable specific HDL messages in your HDL, use the message_on and message_off synthesis directives. These directives require a space-separated list of Message IDs. You can enable or disable messages with these synthesis directives immediately before Verilog HDL modules, VHDL entities, or VHDL architectures. You cannot enable or disable a message during an HDL construct.

    A message enabled or disabled via a message_on or message_off synthesis directive overrides its HDL Message Level or any message_level synthesis directive. The message remains disabled until the end of the source file or until you use another message_on or message_off directive to change the status of the message.

    Table 69.   HDL message_off Directive for Message with ID 10000
    HDL Code
     Verilog HDL
    // altera message_off 10000
    or
    /* altera message_off 10000 */
     VHDL
    -- altera message_off 10000