2017-06-29 08:15:52 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Verilog/SystemVerilog Integration *ale-verilog-options*
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-06-29 08:15:52 +00:00
|
|
|
ALE can use two different linters for Verilog HDL:
|
|
|
|
|
|
|
|
iverilog:
|
|
|
|
Using `iverilog -t null -Wall`
|
|
|
|
|
|
|
|
verilator
|
|
|
|
Using `verilator --lint-only -Wall`
|
|
|
|
|
|
|
|
By default, both 'verilog' and 'systemverilog' filetypes are checked.
|
|
|
|
|
|
|
|
You can limit 'systemverilog' files to be checked using only 'verilator' by
|
|
|
|
defining 'g:ale_linters' variable:
|
|
|
|
>
|
|
|
|
au FileType systemverilog
|
|
|
|
\ let g:ale_linters = {'systemverilog' : ['verilator'],}
|
|
|
|
<
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-06-29 08:15:52 +00:00
|
|
|
iverilog *ale-verilog-iverilog*
|
|
|
|
|
|
|
|
No additional options
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-06-29 08:15:52 +00:00
|
|
|
verilator *ale-verilog-verilator*
|
|
|
|
|
|
|
|
g:ale_verilog_verilator_options *g:ale_verilog_verilator_options*
|
|
|
|
*b:ale_verilog_verilator_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify 'verilator' command arguments
|
|
|
|
|
|
|
|
For example `'-sv --default-language "1800-2012"'` if you want to enable
|
|
|
|
SystemVerilog parsing and select the 2012 version of the language.
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-06-29 08:15:52 +00:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|