This linter plugin for SublimeLinter provides an interface to vcom
/vlog
- VHDL/Verilog/SystemVerilog compilers provided with ModelSim and QuestaSim which provide a linting mode. vcom
will be used with "VHDL" files , vlog
with "Verilog" and "SystemVerilog" files.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, you must ensure that vcom
/vlog
are installed on your system.
In order for vcom
/vlog
to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html
- Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html
Arguments can be passed in a linter settings file or set in a project settings file:
- Using linter settings file:
{ "linters": { "vcom": { "args": ["-check_synthesis", "-2002"], "working_dir": "$project_path/../sim", }, }
- Alternately, project specific arguments can be set in a project file:
"settings": { // SublimeLinter-contrib-vcom "SublimeLinter.linters.vcom.args": ["-check_synthesis", "-2002"], "SublimeLinter.linters.vcom.working_dir": "$project_path/../sim", },
vcom
for vhdl file:
vlog
for verilog file: