mirror of https://github.com/dense-analysis/ale
15 lines
545 B
Plaintext
15 lines
545 B
Plaintext
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'
|