mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-27 13:22:17 +08:00
Slang linter for Verilog. (#4713)
This commit is contained in:
@@ -677,6 +677,7 @@ Notes:
|
||||
* Verilog
|
||||
* `hdl-checker`
|
||||
* `iverilog`
|
||||
* slang
|
||||
* `verilator`
|
||||
* `vlog`
|
||||
* `xvlog`
|
||||
|
||||
@@ -3,7 +3,7 @@ ALE Verilog/SystemVerilog Integration *ale-verilog-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
ALE can use six different linters for Verilog HDL:
|
||||
ALE can use seven different linters for Verilog HDL:
|
||||
|
||||
HDL Checker
|
||||
Using `hdl_checker --lsp`
|
||||
@@ -11,6 +11,9 @@ ALE can use six different linters for Verilog HDL:
|
||||
iverilog:
|
||||
Using `iverilog -t null -Wall`
|
||||
|
||||
slang:
|
||||
Using `slang -Weverything`
|
||||
|
||||
verilator
|
||||
Using `verilator --lint-only -Wall`
|
||||
|
||||
@@ -21,7 +24,7 @@ ALE can use six different linters for Verilog HDL:
|
||||
Using `xvlog`
|
||||
|
||||
Yosys
|
||||
Using `ysoys -Q -T -p 'read_verilog'`
|
||||
Using `yosys -Q -T -p 'read_verilog'`
|
||||
|
||||
By default, both 'verilog' and 'systemverilog' filetypes are checked.
|
||||
|
||||
@@ -64,6 +67,15 @@ iverilog *ale-verilog-iverilog*
|
||||
|
||||
No additional options
|
||||
|
||||
===============================================================================
|
||||
slang *ale-verilog-slang*
|
||||
|
||||
g:ale_verilog_slang_option *g:ale_verilog_slang_options*
|
||||
*b:ale_verilog_slang_options*
|
||||
Type: String
|
||||
Default: ''
|
||||
|
||||
This variable can be changed to modify 'slang' command arguments.
|
||||
|
||||
===============================================================================
|
||||
verilator *ale-verilog-verilator*
|
||||
@@ -73,7 +85,7 @@ g:ale_verilog_verilator_options *g:ale_verilog_verilator_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be changed to modify 'verilator' command arguments
|
||||
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.
|
||||
|
||||
@@ -3461,6 +3461,7 @@ documented in additional help files.
|
||||
verilog/systemverilog...................|ale-verilog-options|
|
||||
hdl-checker...........................|ale-verilog-hdl-checker|
|
||||
iverilog..............................|ale-verilog-iverilog|
|
||||
slang.................................|ale-verilog-slang|
|
||||
verilator.............................|ale-verilog-verilator|
|
||||
vlog..................................|ale-verilog-vlog|
|
||||
xvlog.................................|ale-verilog-xvlog|
|
||||
|
||||
Reference in New Issue
Block a user