Forum Discussion

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

Quartus 10.0 SystemVerilog syntax highlighting

Is there an option to enable syntax highlighting for SystemVerilog in the Quartus 10.0 text editor. I currently only get Verilog highlighting so words like logic or class are not highlighted.

SystemVerilog keywords were highlighted in Quartus 9.1 so I don't know why they would not be in 10.0.

Thanks for your help, David

4 Replies

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

    the GUI had significant changes from 9.1 to 10.0, something could have gotten lost in the shuffle. you might want to file an SR for a bug report.

    if you post a code example here i can confirm (i don't use SV)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

     
    module syntax;
        logic var_1;  // SystemVerilog : logic should be highlighted
        reg var_2;  // Verilog : reg is highlighted
    endmodule
    

    If the above code is in a SystemVerilog (*.sv) file the reg keyword will be highlighted but the logic keyword will not. Quartus 10.0 doesn't have a problem compiling SystemVerilog. So it looks like they just forgot add in SV keywords to their keyword list.

    Over all the 10.0 GUI does seem better than 9.1 but syntax highlighting is important for an IDE.

    Thanks for your help. I will file a bug report if I can't figure this out in a day or two.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Altera support has confirmed this issue. They said that it will be fixed in the next release.