Configuring Consecutive Blank Line Rules
There are rules which will check for excessive number of consecutive blank lines.
There is one option to these rules:
Option |
Values |
Default |
Description |
---|---|---|---|
|
integer >= 1 |
1 |
The maximum number of consecutive blank lines allowed. |
This is an example of how to configure the option.
rule :
whitespace_200:
blank_lines_allowed: 1
All examples use the following code snippet:
signal wr_en : std_logic; -- Two blank lines below
signal rd_en : std_logic; -- Three blank lines below
signal overflow : std_logic;
Example: blank_lines_allowed
set to 1
signal wr_en : std_logic; -- Two blank lines below
signal rd_en : std_logic; -- Three blank lines below
signal overflow : std_logic;
Example: blank_lines_allowed
set to 2
signal wr_en : std_logic; -- Two blank lines below
signal rd_en : std_logic; -- Three blank lines below
signal overflow : std_logic;