VHDL212: Top-level entity port names should not contain any pin number
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| - | - | LOW | Consistency | Identifiable | 10min | synthesis, portability, cnes-custom, vscode, linter, cnes, cnes-custom-cne-00300 |
Description
Noncompliant code example
entity top is
port (
clock : in std_logic;
reset : in std_logic;
in2 : in std_logic; -- Noncompliant
out3 : out std_logic -- Noncompliant
);
end;
Compliant solution
entity top is
port (
clock : in std_logic;
reset : in std_logic;
in_fly : in std_logic;
out_dream : out std_logic
);
end;
Top-level entity port names should not contain any pin number.
This rule checks that top-level entity port names do not contain any digit.
Parameters
No parameters.