- 22.214.171.124. Reducing Opening a Project, Creating Design Partitions, andPerforming an Initial Compilation
- 126.96.36.199. Specifying a Destination Library Name in the Intel® Quartus® Prime Settings File or with Tcl
3.5.15. Read Comments as HDL
The read_comments_as_HDL synthesis directive indicates that the Intel® Quartus® Prime software should compile a portion of HDL code that you commented out. This directive allows you to comment out portions of HDL source code that are not relevant for simulation, while instructing the Intel® Quartus® Prime software to read and synthesize that same source code. Setting the read_comments_as_HDL directive to on indicates the beginning of commented code that the synthesis tool should read; setting the read_comments_as_HDL directive to off indicates the end of the code.
Formal verification tools do not support the read_comments_as_HDL directive because the tools do not recognize the directive.
In these examples, the Compiler synthesizes the commented code enclosed by read_comments_as_HDL because the directive is visible to the Intel® Quartus® Prime Compiler. VHDL 2008 allows block comments, which comments are also supported for synthesis directives.
Did you find the information on this page useful?