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

iverilog doesn't lint on .v file open #27

Closed
aviadb opened this issue Aug 1, 2018 · 9 comments
Closed

iverilog doesn't lint on .v file open #27

aviadb opened this issue Aug 1, 2018 · 9 comments

Comments

@aviadb
Copy link

aviadb commented Aug 1, 2018

opening a verilog file
does not enables the linting automatically

@Raamakrishnan
Copy link
Contributor

  1. Is iverilog available in the PATH variable?
  2. Is iverilog configured as the linter in verilog.linting.linter?
  3. Does the linting happen on saving the document?

@aviadb
Copy link
Author

aviadb commented Aug 2, 2018

1)C:\msys64\mingw64\bin
C:\msys64\home\aviadb\iverilog\iverilog_install\bin
are both in PATH variable

  1. Yes
  2. No

@Raamakrishnan
Copy link
Contributor

Which version of Windows and VS Code are you using?
Can you provide a minimal code that doesn't work with linting, along with your settings.json file?

@Raamakrishnan
Copy link
Contributor

I am sorry, you seem to be using msys2 to run iverilog. I haven't used msys2 myself. But I think you should be using the iverilog windows binary for it to work normally.

@mshr-h Proposing to close this issue due to inactivity

@gabrielebrajnikst
Copy link

@Raamakrishnan same issue here, I'm using the windows binaries.

  1. iverilog is available in the PATH variable
  2. iverilog is configured as the linter
  3. Linting doesn't happen on saving the document

Windows 10.0.17763.316
VSCode 1.31.1

@Raamakrishnan
Copy link
Contributor

@gabrielebrajnikst can you try running iverilog through command line (from your workspace root) and let me know what the output is? Also, is it possible to reproduce this scenario in a small workspace and attach it here?
Thanks.

@gabrielebrajnikst
Copy link

@Raamakrishnan After some debugging, it turns out that even if I used the "official" installer, I had to manually put the following dlls in the same folder of iverilog executable:

  • libgcc_s_seh-1.dll
  • libstdc++-6.dll
  • libwinpthread-1.dll
    Now linting works.

@Septyawan
Copy link

@Raamakrishnan sorry for asking dumb question, I just begin everything in Programming World. so how to check PATH variable in VsCode? I've exact same problem.

@Raamakrishnan
Copy link
Contributor

@Septyawan PATH variable is not something within VS Code. It is a OS level environment variable. The method to check it is different for different OS. Please google the method for you OS.

@mshr-h mshr-h closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants