Why is this an issue?

The sensitivity list of a process should be minimal to not slow down simulation:

To check for incomplete sensitivity list, activate The sensitivity list of a process should be complete

How to fix it

Code examples

Noncompliant code example

-- Clocked process with asynchronous reset
process (clk) is -- Noncompliant: Missing 'rst'
begin
  if rst = '1' then
    q <= '0';
  elsif rising_edge(clk) then
    q <= d;
  end if;
end process;

-- Clocked process with synchronous reset
process (rst) is -- Noncompliant: Should be 'clk' instead of 'rst'
begin
  if rising_edge(clk) then
    if rst = '1' then
      q <= '0';
    else
      q <= d;
    end if;
  end if;
end process;

process (y, z, y) is -- Noncompliant: 'y' should be removed
begin
   q <= y or z;
end process;

Compliant solution

-- Clocked process with asynchronous reset
process(clk, rst) is
begin
  if rst = '1' then
    q <= '0';
  elsif rising_edge(clk) then
    q <= d;
  end if;
end process;

-- Clocked process with synchronous reset
process(clk) is
begin
  if rising_edge(clk) then
    if rst = '1' then
      q <= '0';
    else
      q <= d;
    end if;
  end if;
end process;

process (y, z) is
begin
   q <= y or z;
end process;