This rule checks that all inout ports are connected. An unconnected port may point out a missing implementation.
With detectPartiallyUnconnected parameter set to false:
entity top is
port (
clk : in std_logic;
i1 : in std_logic;
inout1 : inout std_logic; -- Noncompliant: Not connected
inout2 : inout std_logic_vector(1 downto 0) -- Compliant: Partially connected (bit offset #0)
);
end entity;
architecture rtl of top is begin
process (clk) is
begin
if rising_edge(clk) then
inout(0) <= i1;
end if;
end process;
end architecture;
With detectPartiallyUnconnected parameter set to true:
entity top is
port (
clk : in std_logic;
i1 : in std_logic;
inout1 : inout std_logic; -- Noncompliant: Not connected
inout2 : inout std_logic_vector(1 downto 0) -- Noncompliant: Partially unconnected (bit offset #1)
);
end entity;
architecture rtl of top is begin
process (clk) is
begin
if rising_edge(clk) then
inout(0) <= i1;
end if;
end process;
end architecture;