VHDL161: Statements should be on separate lines
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| - | - | LOW | Consistency | Formatted | 5min | synthesis, do254, vscode, linter, simulation, cnes, do254-dr5, cnes-std-01200 |
Description
This rule checks if there are multiple statements on one line.
Noncompliant code example
if rising_edge(clk) then dream <= fly; ride <= run; -- Noncompliant: Two statements on the same line end if;
Compliant solution
if rising_edge(clk) then dream <= fly; ride <= run; end if;
Parameters
No parameters.