I am trying to implement a simple build system for Verilog in Sublime Text, but I am getting the following error when I build:
[Errno 2] No such file or directory: 'iverilog'
[cmd: ['iverilog', '-o', 'iverilog/compiled', '/Users/ryanbeltran/Documents/Programming/Verilog/testing/test.v']]
[dir: /Users/ryanbeltran/Documents/Programming/Verilog/testing]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]
My build system is supposed to be using the Icarus Verilog Compiler, the command for which is:
iverilog -o outputfile inputfile.v
When I run that command from shell I have no problems, and it works exactly how I intend it.
My Verilog.sublime-build
build system uses the following JSON:
{
"cmd": ["iverilog", "-o", "iverilog/compiled", "$file"],
"selector": "source.v"
}
If someone could offer me any insight into what I may doing wrong here I would appreciate it enormously. If it makes any difference, I am running from OS X, and using Sublime Text 3.