Visible to Intel only — GUID: mwh1409959923176
Ixiasoft
Visible to Intel only — GUID: mwh1409959923176
Ixiasoft
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.
HDL | Code |
---|---|
Verilog HDL | |
VHDL | |
VHDL 2008 | |
Did you find the information on this page useful?
Feedback Message
Characters remaining: