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] iverilog includePath not working #482

Open
jiang131072 opened this issue Apr 14, 2024 · 0 comments
Open

[BUG] iverilog includePath not working #482

jiang131072 opened this issue Apr 14, 2024 · 0 comments
Labels

Comments

@jiang131072
Copy link

Describe the bug
iverilog includePath not working. Not even in IcarusLinter's Execute log.

Environment (please complete the following information):

  • OS: Windows1 11 22H2 22621.3447
  • VS Code version 1.88.1
  • Extension version 1.13.5
  • using ctags companion, copilot and the extension

Steps to reproduce
settings.json:

	{
    "verilog.linting.linter": "iverilog",
    "verilog.linting.iverilog.runAtFileLocation": true  // This is not a must for reproduce the bug
    "verilog.linting.iverilog.includePath": [
        "../../sources_1/new",
    ],

then open a .v file.

Log

2024-04-14 05:29:07.781 [info] [LintManager] [IcarusLinter] Executing IcarusLinter.lint()
2024-04-14 05:29:07.781 [info] [LintManager] [IcarusLinter] iverilog binary path: iverilog
2024-04-14 05:29:07.781 [info] [LintManager] [IcarusLinter] Execute
2024-04-14 05:29:07.781 [info] [LintManager] [IcarusLinter]   command: "iverilog -t null -g2005 -I \"e:\\sources_1\\new\"  \"e:\\proj\\dsd1-1\\dsd1-1.srcs\\sim_1\\new\\tb_adder_4bit_lookahead.v\""
2024-04-14 05:29:07.781 [info] [LintManager] [IcarusLinter]   cwd    : "e:\\proj\\dsd1-1\\dsd1-1.srcs\\sim_1\\new"
2024-04-14 05:29:07.788 [info] [VerilogDocumentSymbolProvider] [VerilogSymbol] Symbols Requested: file:///e%3A/proj/dsd1-1/dsd1-1.srcs/sim_1/new/tb_adder_4bit_lookahead.v
2024-04-14 05:29:07.788 [info] indexing "e:\\proj\\dsd1-1\\dsd1-1.srcs\\sim_1\\new\\tb_adder_4bit_lookahead.v"
2024-04-14 05:29:07.788 [info] executing ctags
2024-04-14 05:29:07.789 [info] building symbols
2024-04-14 05:29:07.789 [error] No output from ctags
2024-04-14 05:29:07.789 [info] [VerilogDocumentSymbolProvider] 0 top-level symbols returned
2024-04-14 05:29:07.857 [info] [LintManager] [IcarusLinter] 1 errors/warnings returned

no output from ctags is another bug.

Expected behavior
Include the path correctly

Actual behavior
Nothing happened

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