We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug cant run verilator under WSL
Environment (please complete the following information):
Steps to reproduce Steps to reproduce the behavior:
Log Attach the log generated while following the above steps 2023-05-30 11:56:14.235 [info] mshr-h.veriloghdl is now active. 2023-05-30 11:56:14.235 [info] [Ctags] ctags manager configure 2023-05-30 11:56:14.235 [info] [lint-manager] Using linter: verilator 2023-05-30 11:56:14.235 [info] Rewrote docUri to /mnt/d/verilog/test.sv for WSL 2023-05-30 11:56:14.235 [info] Rewrote docFolder to /mnt/d/verilog for WSL 2023-05-30 11:56:14.235 [info] [verilator] Execute 2023-05-30 11:56:14.235 [info] [verilator] command: wsl verilator -sv --lint-only -I"/mnt/d/verilog" "/mnt/d/verilog/test.sv" 2023-05-30 11:56:14.235 [info] [verilator] cwd : /mnt/d/verilog 2023-05-30 11:56:14.235 [info] mshr-h.veriloghdl activation finished. 2023-05-30 11:56:14.235 [info] [verilator] 0 errors/warnings returned
Expected behavior some warning detect (ver 1.8.1 can detect warning)
problem point ver 1.9.0
docFolder = this.convertToWslPath(docFolder); this.logger.info(`Rewrote docFolder to ${docFolder} for WSL`);
docFolder is wls path . but child.exec( { cwd : cwd }) need windows path
solve way add step cwd select (isWindows)
let cwd: string = this.runAtFileLocation ? isWindows ? cwdWin : docFolder : vscode.workspace.workspaceFolders[0].uri.fsPath;
cwdWin is
let cwdWin: string = path.dirname(docUri);
I checked solving problem but not check side effect
The text was updated successfully, but these errors were encountered:
Ok. Looks good to me. Can you make the PR if possible?
Sorry, something went wrong.
thanks your attention I'll try it fix SlagLinter.ts same time
6648225
Revert "fix #418 slang and verilator cant run under WSL (#419)"
18df60d
This reverts commit 6648225.
fix #418 again
c35b441
No branches or pull requests
Describe the bug
cant run verilator under WSL
Environment (please complete the following information):
Steps to reproduce
Steps to reproduce the behavior:
Log
Attach the log generated while following the above steps
2023-05-30 11:56:14.235 [info] mshr-h.veriloghdl is now active.
2023-05-30 11:56:14.235 [info] [Ctags] ctags manager configure
2023-05-30 11:56:14.235 [info] [lint-manager] Using linter: verilator
2023-05-30 11:56:14.235 [info] Rewrote docUri to /mnt/d/verilog/test.sv for WSL
2023-05-30 11:56:14.235 [info] Rewrote docFolder to /mnt/d/verilog for WSL
2023-05-30 11:56:14.235 [info] [verilator] Execute
2023-05-30 11:56:14.235 [info] [verilator] command: wsl verilator -sv --lint-only -I"/mnt/d/verilog" "/mnt/d/verilog/test.sv"
2023-05-30 11:56:14.235 [info] [verilator] cwd : /mnt/d/verilog
2023-05-30 11:56:14.235 [info] mshr-h.veriloghdl activation finished.
2023-05-30 11:56:14.235 [info] [verilator] 0 errors/warnings returned
Expected behavior
some warning detect
(ver 1.8.1 can detect warning)
problem point
ver 1.9.0
docFolder is wls path .
but child.exec( { cwd : cwd }) need windows path
solve way
add step cwd select (isWindows)
cwdWin is
I checked solving problem but not check side effect
The text was updated successfully, but these errors were encountered: