Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

VHDL block comment

Altera_Forum
榮譽貢獻者 II
26,172 檢視

Hi, 

as far as I know the only way to mark a line as a comment 

in VHDL is to start the line with the characters "--" and it is  

not possible to make a block comment like it is usual in  

C/C++ (/* .... */). Anyway, is there a way in Quartus to add  

or remove automatically the comment characters to a couple  

of lines? 

 

Thanks
0 積分
5 回應
Altera_Forum
榮譽貢獻者 II
19,571 檢視

If using the Quartus text editor you can highlight the text you want, and along the left are two icons to comment or uncomment selected text. Very useful for this. (I'm still amazed block comments haven't been added to VHDL, but most people don't need them with these types of editors)

Altera_Forum
榮譽貢獻者 II
19,571 檢視

Hi Rysc, thanks for the information. Unfortunately I can  

not find this Icons. I assume either the feature is not  

available in my Quartus Version (6.1 full) or it is hidden  

in a special task bar.
Altera_Forum
榮譽貢獻者 II
19,571 檢視

I think the feature was added in version 7.1. I see it in that version but not in 6.1.

YBenj
初學者
19,571 檢視

In quartus you can find comment/uncomment selection in Edit->Comment Selection/Uncomment Selection.

mfro
新貢獻者 I
19,571 檢視

I'm sure this guy will be exuberantly happy now.

 

Finally. After eleven years of impatient wait 😀

回覆