There are rules which will check for excessive number of consecutive blank lines.
There is one option to these rules:
Option | Values | Default | Description |
---|---|---|---|
blank_lines_allowed |
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;
signal wr_en : std_logic; -- Two blank lines below
signal rd_en : std_logic; -- Three blank lines below
signal overflow : std_logic;
signal wr_en : std_logic; -- Two blank lines below
signal rd_en : std_logic; -- Three blank lines below
signal overflow : std_logic;