Skip to content

[BUG] iverilog includePath not working #482

Open
@jiang131072

Description

@jiang131072

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions