File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright lowRISC contributors.
2
+ # Licensed under the Apache License, Version 2.0, see LICENSE for details.
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # Rules for svlint, a SystemVerilog linter commonly used in editors.
6
+ # The configuration matches the lowRISC SystemVerilog style guide at
7
+ # https://github.com/lowRISC/style-guides/blob/master/VerilogCodingStyle.md.
8
+ # See https://github.com/dalance/svlint/blob/master/RULES.md for a list of rules.
9
+
10
+ [option ]
11
+ exclude_paths = [" build.*" , " sw/.*" , " .sv.tpl$" , " vendor/.*" ]
12
+
13
+ [rules ]
14
+ case_default = true
15
+ enum_with_type = true
16
+ for_with_begin = true
17
+ function_same_as_system_function = true
18
+ function_with_automatic = true
19
+ generate_for_with_label = true
20
+ generate_if_with_label = true
21
+ generate_keyword_forbidden = true
22
+ generate_keyword_required = false
23
+ genvar_declaration_in_loop = true
24
+ genvar_declaration_out_loop = false
25
+ if_with_begin = true
26
+ inout_with_tri = false
27
+ input_with_var = false
28
+ interface_port_with_modport = false
29
+ legacy_always = false
30
+ level_sensitive_always = true
31
+ loop_variable_declaration = true
32
+ non_ansi_module = true
33
+ output_with_var = false
34
+ parameter_in_package = false
35
+ priority_keyword = true
36
+ tab_character = true
37
+ unique0_keyword = false
38
+ unique_keyword = false
39
+ wire_reg = true
40
+ generate_keyword = false
41
+ tab_charactor = false
42
+ genvar_declaration = false
You can’t perform that action at this time.
0 commit comments