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