install.fairie/dotfiles/.vim/plugged/ale/test/linter/test_verilator.vader

15 lines
545 B
Text
Raw Normal View History

Before:
call ale#assert#SetUpLinterTest('verilog', 'verilator')
After:
call ale#assert#TearDownLinterTest()
Execute(The default verilator command should be correct):
AssertLinter 'verilator', 'verilator --lint-only -Wall -Wno-DECLFILENAME -I%s:h %t'
Execute(verilator options should be configurable):
" Additional args for the linter
let g:ale_verilog_verilator_options = '-sv --default-language "1800-2012"'
AssertLinter 'verilator', 'verilator --lint-only -Wall -Wno-DECLFILENAME -I%s:h -sv --default-language "1800-2012" %t'