HDL1010: Output signals should not be constant

Summary

Count: 1

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

Description

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
  );
end;

architecture rtl of top is
begin
  process(clk) is
  begin
    if rising_edge(clk) then
      o1 <= i1 and i2;
      o2 <= '0'
    end if;
  end process;
end;

Output signal that is a constant might be due to an erroneous or incomplete implementation.

Parameters

Count: 1

ParameterValueDescription
topPartiallyConstanttrueSet to 'true' to check partially constant output at top level, set to 'false' otherwise