mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-12-22 22:25:50 +00:00
Add svlint linting rules
This commit is contained in:
parent
f296ed53d4
commit
c8955842d5
59
.svlint.toml
Normal file
59
.svlint.toml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
[option]
|
||||||
|
indent = 2
|
||||||
|
|
||||||
|
[rules]
|
||||||
|
action_block_with_side_effect = true
|
||||||
|
blocking_assignment_in_always_ff = true
|
||||||
|
case_default = true
|
||||||
|
default_nettype_none = true
|
||||||
|
enum_with_type = true
|
||||||
|
explicit_case_default = true
|
||||||
|
# explicit_if_else = true
|
||||||
|
function_same_as_system_function = true
|
||||||
|
function_with_automatic = true
|
||||||
|
generate_case_with_label = true
|
||||||
|
generate_for_with_label = true
|
||||||
|
generate_if_with_label = true
|
||||||
|
genvar_declaration_in_loop = true
|
||||||
|
genvar_declaration_out_loop = false
|
||||||
|
inout_with_tri = true
|
||||||
|
input_with_var = true
|
||||||
|
interface_port_with_modport = true
|
||||||
|
keyword_forbidden_always = true
|
||||||
|
keyword_forbidden_generate = true
|
||||||
|
keyword_forbidden_priority = true
|
||||||
|
keyword_forbidden_unique = true
|
||||||
|
keyword_forbidden_unique0 = true
|
||||||
|
keyword_forbidden_wire_reg = true
|
||||||
|
keyword_required_generate = false
|
||||||
|
level_sensitive_always = true # Redundant with keyword_forbidden_always.
|
||||||
|
localparam_explicit_type = true
|
||||||
|
localparam_type_twostate = true
|
||||||
|
multiline_for_begin = true
|
||||||
|
multiline_if_begin = true
|
||||||
|
non_ansi_module = true
|
||||||
|
non_blocking_assignment_in_always_comb = true
|
||||||
|
output_with_var = true
|
||||||
|
parameter_default_value = true
|
||||||
|
parameter_explicit_type = true
|
||||||
|
parameter_in_generate = true
|
||||||
|
parameter_in_package = true
|
||||||
|
parameter_type_twostate = true
|
||||||
|
sequential_block_in_always_comb = true
|
||||||
|
sequential_block_in_always_ff = true
|
||||||
|
sequential_block_in_always_latch = true
|
||||||
|
style_commaleading = true
|
||||||
|
style_indent = true
|
||||||
|
style_keyword_0or1space = true
|
||||||
|
style_keyword_0space = true
|
||||||
|
style_keyword_1or2space = true
|
||||||
|
style_keyword_datatype = false # Overly restrictive.
|
||||||
|
style_keyword_end = true
|
||||||
|
style_keyword_maybelabel = true
|
||||||
|
style_keyword_newline = true
|
||||||
|
style_operator_arithmetic = true
|
||||||
|
style_operator_boolean = true
|
||||||
|
style_operator_integer = true
|
||||||
|
style_operator_unary = true
|
||||||
|
style_trailingwhitespace = true
|
||||||
|
tab_character = true
|
Loading…
Reference in a new issue