-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.verible-verilog-format.yaml
129 lines (97 loc) · 5.4 KB
/
.verible-verilog-format.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Yaml configuration file for verible-verilog-format.
# Generated from `verible-verilog-format --helpfull` output and
# then formatted into a yaml file for convenience.
# assignment_statement_alignment - Format various assignments: {align,flush-left,preserve,infer};
# default: infer;
assignment_statement_alignment: align
# case_items_alignment - Format case items: {align,flush-left,preserve,infer}; default: infer;
case_items_alignment: align
# class_member_variables_alignment - Format class member variables:
# {align,flush-left,preserve,infer}; default: infer;
class_member_variable_alignment: align
# column_limit (Target line length limit to stay under when formatting.); default: 100;
column_limit: 100
# compact_indexing_and_selections - Use compact binary expressions inside indexing / bit selection
# operators; default: true;
compact_indexing_and_selections: true
# distribution_items_alignment Align distribution items: {align,flush-left,preserve,infer});
# default: infer;
distribution_items_alignment: align
# enum_assignment_statement_alignment (Format assignments with enums: {align,flush-left,preserve,infer});
# default: infer;
enum_assignment_statement_alignment: align
# expand_coverpoints (If true, always expand coverpoints.); default: false;
expand_coverpoints: false
# failsafe_success - If true, always exit with 0 status, even if there were input errors or
# internal errors. In all error conditions, the original text is always preserved. This is
# useful in deploying services where fail-safe behaviors should be considered a success.;
# default: true;
failsafe_success: true
# formal_parameters_alignment - Format formal parameters: {align,flush-left,preserve,infer};
# default: infer;
formal_parameters_alignment: align
# formal_parameters_indentation - Indent formal parameters: {indent,wrap}; default: wrap;
formal_parameters_indentation: wrap
# indentation_spaces (Each indentation level adds this many spaces.); default: 2;
indentation_spaces: 4
# line_break_penalty (Penalty added to solution for each introduced line break.); default: 2;
line_break_penalty: 2
# max_search_states - Limits the number of search states explored during line wrap
# optimization.; default: 100000;
max_search_states: 100000
# module_net_variable_alignment (Format net/variable declarations: {align,flush-left,preserve,infer});
# default: infer;
module_net_variable_alignment: align
# named_parameter_alignment - Format named actual parameters: {align,flush-left,preserve,infer};
# default: infer;
named_parameter_alignment: align
# named_parameter_indentation - Indent named parameter assignments: {indent,wrap};
# default: wrap;
named_parameter_indentation: wrap
# named_port_alignment - Format named port connections: {align,flush-left,preserve,infer};
# default: infer;
named_port_alignment: align
# named_port_indentation - Indent named port connections: {indent,wrap}; default: wrap;
named_port_indentation: wrap
# over_column_limit_penalty (For penalty minimization, this represents the baseline penalty value
# of exceeding the column limit. Additional penalty of 1 is incurred for each character over this
# limit); default: 100;
over_column_limit_penalty: 100
# port_declarations_alignment - Format port declarations: {align,flush-left,preserve,infer};
# default: infer;
port_declarations_alignment: align
# port_declarations_indentation - Indent port declarations: {indent,wrap}; default: wrap;
port_declarations_indentation: wrap
# port_declarations_right_align_packed_dimensions (If true, packed dimensions in contexts
# with enabled alignment are aligned to the right.); default: false;
port_declarations_right_align_packed_dimensions: false
# port_declarations_right_align_unpacked_dimensions (If true, unpacked dimensions in contexts
# with enabled alignment are aligned to the right.); default: false;
port_declarations_right_align_unpacked_dimensions: false
# show_equally_optimal_wrappings - If true, print when multiple optimal solutions are found
# (stderr), but continue to operate normally.; default: false;
show_equally_optimal_wrappings: false
# show_inter_token_info - If true, along with show_token_partition_tree, include inter-token
# information such as spacing and break penalties.; default: false;
show_inter_token_info: false
# show_largest_token_partitions - If > 0, print token partitioning and then exit without
# formatting output.; default: 0;
show_largest_token_partitions: 0
# show_token_partition_tree - If true, print diagnostics after token partitioning and then
# exit without formatting output.; default: false;
show_token_partition_tree: false
# struct_union_members_alignment (Format struct/union members: {align,flush-left,preserve,infer});
# default: infer;
struct_union_members_alignment: align
# try_wrap_long_lines - If true, let the formatter attempt to optimize line wrapping decisions
# where wrapping is needed, else leave them unformatted. This is a short-term measure to reduce
# risk-of-harm.; default: false;
try_wrap_long_lines: false
# verify_convergence - If true, and not incrementally formatting with --lines, verify that
# re-formatting the formatted output yields no further changes, i.e. formatting is convergent.;
# default: true;
verify_convergence: true
# wrap_spaces (Each wrap level adds this many spaces. This applies when the first element after
# an open-group section is wrapped. Otherwise, the indentation level is set to the column position
# of the open-group operator.); default: 4;
wrap_spaces: 4