manucorporat / linter-verilog

Atom linter for Verilog, using icarus verilog.
https://atom.io/packages/linter-verilog
MIT License
9 stars 6 forks source link

linter not using the system iverilog #11

Closed x8-999-github closed 6 years ago

x8-999-github commented 6 years ago

Hello,

I am following https://tinyfpga.com/bx/guide.html and I am getting [Linter] Error running Verilog.

Developer console shows

 /home/why/.atom/pack…ter-registry.js:159 [Linter] Error running Verilog Error: spawn /home/why/.apio/packages/toolchain-iverilog/bin/iverilog ENOENT
    at _errnoException (util.js:1024:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

e.g. /home/why/.apio/packages/toolchain-iverilog/bin/iverilog does not exist I do have iverilog installed under ubuntu

selection_114

x8-999-github commented 6 years ago

It turns out a solution to the error is displayed when pressing the "verify" button

Error: iverilog toolchain is not installed Please run: apio install iverilog why@login:~$ apio install iverilog Installing iverilog package: Download toolchain-iverilog-linux_x86_64-1.2.0.tar.gz Downloading [####################################] 100%
Unpacking [####################################] 100% Package 'iverilog' has been successfully installed!