Contents:
first_paren_new_line
yes
no
last_paren_new_line
open_paren_new_line
close_paren_new_line
new_line_after_comma
assign_on_single_line
style
require_blank_line
no_blank_line
require_blank_line_unless_pragma
align_left
align_paren
align_when_keywords
wrap_at_when
align_else_keywords
blank_lines_allowed
1
2
compact_alignment
blank_line_ends_group
comment_line_ends_group
indent_style
spaces
smart_tabs
separate_generic_port_alignment
if_control_statements_ends_group
case_control_statements_ends_group
break_on_case_or_end_case
generate_statements_ends_group
loop_control_generic_port_alignment
include_type_is_keyword
aggregate_parens_ends_group
ignore_single_line_aggregates
align_to
current_indent
keyword
action
new_line
move_left
alignment
record_constraint_open_paren
remove_new_line
record_constraint_close_paren
record_constraint_element
array_constraint
one_line_per_dimension
add
remove
after_port_clause
add_new_line
after_instantiated_unit
after_generic_map_aspect
no_code
allow_comment
require_comment
no_blank_line_unless_different_library
first_open_paren
last_close_paren
association_element
new_line_after_assign
interface_element
method
component
entity
case
lower
upper
upper_or_lower
prefix_exceptions
c_
suffix_exceptions
_c
case_exceptions
addr_WIDTH_c
regex
[A-Z][A-Za-zd]*
token_if_no_matching_library_clause
current
'+1'
token_after_library_clause
standard
1987
1993
2008
This rule checks for at least a single space before inline comments.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
wr_en <= '1';--Write data rd_en <= '1'; -- Read data
Fix
wr_en <= '1'; --Write data rd_en <= '1'; -- Read data
This rule checks the indent lines starting with comments.
-- Libraries library ieee; -- Define architecture architecture rtl of fifo is -- Define signals signal wr_en : std_logic; signal rd_en : std_Logic; begin
This rule checks for in-line comments and moves them to the line above. The indent of the comment will be set to the indent of the current line.
Note
This rule is disabled by default.
a <= b; -- Assign signal
-- Assign signal a <= b;
This rule checks for user defined keywords in comments.
Refer to Configuring Comment Keywords for information on how to change the search comment keywords.
-- TODO: Refactor the section below -- FIXME: Update
This is a reporting only rule.
This rule checks for a single space after the –.
Refer to Configuring Whitespace After Comment Rules for information on creating exceptions to this rule.
--Comment 1 --|Comment 2 ---Comment ---------------------------
-- Comment 1 --|Comment 2 ---Comment ---------------------------
Comment Rules
comment_004
This rule checks for at least a single space before inline comments.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
Fix
comment_010
This rule checks the indent lines starting with comments.
Violation
Fix
comment_011
This rule checks for in-line comments and moves them to the line above. The indent of the comment will be set to the indent of the current line.
Note
This rule is disabled by default.
Violation
Fix
comment_012
This rule checks for user defined keywords in comments.
Note
This rule is disabled by default.
Refer to Configuring Comment Keywords for information on how to change the search comment keywords.
Violation
Fix
This is a reporting only rule.
comment_100
This rule checks for a single space after the –.
Refer to Configuring Whitespace After Comment Rules for information on creating exceptions to this rule.
Violation
Fix