# HDL1011: Ports should not be directly connected ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 30min | synthesis, bug-finder, linty-ultra |
entity top is
port(
clk : in std_logic;
i1 : in std_logic;
i2 : in std_logic;
o1 : out std_logic; -- Compliant
o2 : out std_logic -- Noncompliant: Directly connected to i1
);
end;
architecture rtl of top is
begin
process(clk) is
begin
if rising_edge(clk) then
o1 <= i1 and i2;
o2 <= i1
end if;
end process;
end;
Ports that are directly connected might be a functional issue.
``` ## Parameters No parameters. ```{raw} html ```