Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

VHDL block comment

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

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • YBenj's avatar
    YBenj
    Icon for New Contributor rankNew Contributor

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

  • mfro's avatar
    mfro
    Icon for Occasional Contributor rankOccasional Contributor

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

    Finally. After eleven years of impatient wait 😀