File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ Rules Enforcing Structure Rule Group
173173* `signal_007 <../signal_rules.html#signal-007 >`_
174174* `signal_015 <../signal_rules.html#signal-015 >`_
175175* `signal_017 <../signal_rules.html#signal-017 >`_
176+ * `signal_018 <../signal_rules.html#signal-018 >`_
176177* `source_file_001 <../source_file_rules.html#source-file-001 >`_
177178* `subprogram_instantiation_001 <../subprogram_instantiation_rules.html#subprogram-instantiation-001 >`_
178179* `subprogram_instantiation_002 <../subprogram_instantiation_rules.html#subprogram-instantiation-002 >`_
Original file line number Diff line number Diff line change @@ -334,6 +334,31 @@ This rule checks the structure of signal constraints.
334334 element2(3 downto 0)
335335 );
336336
337+ signal_018
338+ ##########
339+
340+ |phase_1 | |error | |structure |
341+
342+ This rule checks the **:= ** is on the same line at the **signal ** keyword.
343+
344+ **Violation **
345+
346+ .. code-block :: vhdl
347+
348+ signal size : integer
349+ := 1;
350+ signal width : integer
351+ := 32;
352+
353+ **Fix **
354+
355+ .. code-block :: vhdl
356+
357+ signal size : integer :=
358+ 1;
359+ signal width : integer :=
360+ 32
361+
337362 signal_100
338363##########
339364
You can’t perform that action at this time.
0 commit comments