2017-11-19 18:06:12 -05:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('verilog', 'iverilog')
|
2017-11-19 18:06:12 -05:00
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2017-11-19 18:06:12 -05:00
|
|
|
|
|
|
|
Execute(The default iverilog command should be correct):
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'iverilog', 'iverilog -t null -Wall %t'
|
2017-11-19 18:06:12 -05:00
|
|
|
|
|
|
|
Execute(iverilog options should be configurable):
|
|
|
|
" Additional args for the linter
|
|
|
|
let g:ale_verilog_iverilog_options = '-y.'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'iverilog', 'iverilog -t null -Wall -y. %t'
|