- 220.127.116.11. Reducing Opening a Project, Creating Design Partitions, andPerforming an Initial Compilation
- 18.104.22.168. Specifying a Destination Library Name in the Intel® Quartus® Prime Settings File or with Tcl
22.214.171.124. Synthesis Attributes
The Intel® Quartus® Prime software supports synthesis attributes for Verilog HDL and VHDL, also commonly called pragmas. These attributes are not standard Verilog HDL or VHDL commands. Synthesis tools use attributes to control the synthesis process. The Intel® Quartus® Prime software applies the attributes in the HDL source code, and attributes always apply to a specific design element. Some synthesis attributes are also available as Intel® Quartus® Prime logic options via the Intel® Quartus® Prime software or scripting. Each attribute description indicates a corresponding setting or a logic option that you can set in the Intel® Quartus® Prime software. You can specify only some attributes with HDL synthesis attributes.
Attributes specified in your HDL code are not visible in the Assignment Editor or in the .qsf. Assignments or settings made with the Intel® Quartus® Prime software, the .qsf, or the Tcl interface take precedence over assignments or settings made with synthesis attributes in your HDL code. The Intel® Quartus® Prime software generates warning messages if the software finds invalid attributes, but does not generate an error or stop the compilation. This behavior is necessary because attributes are specific to various design tools, and attributes not recognized in the Intel® Quartus® Prime software might be for a different EDA tool. The Intel® Quartus® Prime software lists the attributes specified in your HDL code in the Source assignments table of the Analysis & Synthesis report.
The Verilog-2001, SystemVerilog, and VHDL language definitions provide specific syntax for specifying attributes, but in Verilog-1995, you must embed attribute assignments in comments. You can enter attributes in your code using the syntax in Specifying Synthesis Attributes in Verilog-1995 through Synthesis Attributes in VHDL, in which <attribute>, <attribute type>, <value>, <object>, and <object type> are variables, and the entry in brackets is optional. These examples demonstrate each syntax form.
In addition to the synthesis keyword shown above, the Intel® Quartus® Prime software supports the pragma, synopsys, and exemplar keywords for compatibility with other synthesis tools. The software also supports the altera keyword, which allows you to add synthesis attributes that the Intel® Quartus® Prime Integrated Synthesis feature recognizes and not by other tools that recognize the same synthesis attribute.
Synthesis Attributes in Verilog-1995
Synthesis Attributes in Verilog-2001
Synthesis Attributes in VHDL
Did you find the information on this page useful?