Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Syntax highlight error when using interface in System Verilog port declaration #508

Open
RasmusGOlsen opened this issue Nov 25, 2024 · 0 comments
Labels

Comments

@RasmusGOlsen
Copy link

Describe the bug
The interface is highlighted as an error in the following code snippet.

module a (
    input  logic                  clk,
    interface                     intf,
    input logic [intf.WIDTH-1:0]  din
);

endmodule: a

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • VS Code version 1.95.3
  • Extension version 1.15.5
  • color theme Dark Modern

Steps to reproduce
Steps to reproduce the behavior:

  1. Copy and Paste code snippet into VSCode
  2. Select System Verilog as language mode

Expected behavior
The syntax is valid System Verilog and should not highlight an error.

Actual behavior
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant