# HDL1011: Ports should not be directly connected ## Summary ```{raw} html

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
MEDIUM--Intentionality | Logical30minsynthesis, bug-finder, linty-ultra
``` ## Description ```{raw} html

Noncompliant code example

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 ```