File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed
Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -283,3 +283,5 @@ Rules Enforcing Whitespace
283283* `variable_assignment_002 <variable_assignment_rules.html#variable-assignment-002 >`_
284284* `variable_assignment_003 <variable_assignment_rules.html#variable-assignment-003 >`_
285285* `whitespace_007 <whitespace_rules.html#whitespace-007 >`_
286+ * `whitespace_102 <whitespace_rules.html#whitespace-102 >`_
287+ * `whitespace_103 <whitespace_rules.html#whitespace-103 >`_
Original file line number Diff line number Diff line change @@ -192,3 +192,5 @@ Rules Enforcing Whitespace Rule Group
192192* `whitespace_013 <../whitespace_rules.html#whitespace-013 >`_
193193* `whitespace_100 <../whitespace_rules.html#whitespace-100 >`_
194194* `whitespace_101 <../whitespace_rules.html#whitespace-101 >`_
195+ * `whitespace_102 <../whitespace_rules.html#whitespace-102 >`_
196+ * `whitespace_103 <../whitespace_rules.html#whitespace-103 >`_
Original file line number Diff line number Diff line change @@ -290,6 +290,52 @@ This rule checks for at least a single space before and after logical operators.
290290 if (a = '1') sll (b = '0')
291291 if (a = '0') rol (b = '1')
292292
293+ whitespace_102
294+ ##############
295+
296+ |phase_2 | |error | |whitespace |
297+
298+ This rule checks for a single space before direction keywords.
299+
300+ |configuring_whitespace_rules_link |
301+
302+ **Violation **
303+
304+ .. code-block :: vhdl
305+
306+ x <= y(7 downto 0);
307+ x <= y(0 to 7);
308+
309+ **Fix **
310+
311+ .. code-block :: vhdl
312+
313+ x <= y(7 downto 0);
314+ x <= y(0 to 7);
315+
316+ whitespace_103
317+ ##############
318+
319+ |phase_2 | |error | |whitespace |
320+
321+ This rule checks for a single space after direction keywords.
322+
323+ |configuring_whitespace_rules_link |
324+
325+ **Violation **
326+
327+ .. code-block :: vhdl
328+
329+ x <= y(7 downto 0);
330+ x <= y(0 to 7);
331+
332+ **Fix **
333+
334+ .. code-block :: vhdl
335+
336+ x <= y(7 downto 0);
337+ x <= y(0 to 7);
338+
293339 whitespace_200
294340##############
295341
You can’t perform that action at this time.
0 commit comments