Visible to Intel only — GUID: mwh1409959851472
Ixiasoft
Visible to Intel only — GUID: mwh1409959851472
Ixiasoft
3.4.1.3. Synthesis Directives
The Quartus® Prime software supports synthesis directives, also commonly called compiler directives or pragmas. You can include synthesis directives in Verilog HDL or VHDL code as comments. These directives are not standard Verilog HDL or VHDL commands. Synthesis tools use directives to control the synthesis process. Directives do not apply to a specific design node, but change the behavior of the synthesis tool from the point in which they occur in the HDL source code. Other tools, such as simulators, ignore these directives and treat them as comments.
Language | Syntax Example |
---|---|
Verilog HDL4 | // synthesis <directive> [ <value> ] or /* synthesis <directive> [ <value> ] */ |
VHDL | -- synthesis <directive> [ <value> ] |
VHDL-2008 | /* synthesis <directive> [<value>] */ |
In addition to the synthesis keyword shown above, the software supports the pragma, synopsys, and exemplar keywords in Verilog HDL and VHDL for compatibility with other synthesis tools. The Quartus® Prime software also supports the keyword altera, which allows you to add synthesis directives that only Quartus® Prime Integrated Synthesis feature recognizes, and not by other tools that recognize the same synthesis directives.