VHDL1047: Multi-signal enables should not be used

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
MEDIUM--Intentionality | Logical30minsynthesis, bug-finder, enable, linty-ultra

Description

Noncompliant code example

process (clk, rst) is
begin
  if rst = '1' then
    o1 <= '0';
  elsif rising_edge(clk) then
    if enable1 = '1' and enable2 = '1' then -- Noncompliant: Two-signal enable (enable1 and enable2)
      o1 <= i1;
    end if;
  end if;
end process;

Multi-signal enables should not be used.

Parameters

No parameters.