Start for free Book a free session

Sensitivity list errors

A process either suspends through its sensitivity list or through wait statements. A process with a sensitivity list runs to its last statement and then waits for an event on one of the signals it is sensitive to, as if it ended with a wait on statement for those signals (LRM 11.3). Sigasi analyzes the sensitivity list and wait statements of processes and reports troublesome combinations such as a sensitivity list without any signal, or a process that mixes a sensitivity list with wait statements. Such code does not compile.

A process with a sensitivity list cannot contain any wait statements

A process with a sensitivity list cannot contain a wait statement (rule 39) (LRM 11.3).

VHDL
stimulus : process(clk) is
begin
  rst <= '1';
  wait for 100 ns;         -- wait statement in a process with a sensitivity list
  rst <= '0';
  wait;
end process stimulus;

monitor : process(all) is  -- all is a sensitivity list as well
begin
  if rst = '0' then
    wait until done = '1'; -- a nested wait statement is reported too
  end if;
end process monitor;

Either remove the sensitivity list when the process describes a sequence in time, as testbench stimuli do, or remove the wait statements when the process has to run on each event on the listed signals, as the processes in synthesizable code do.

VHDL
stimulus : process is -- no sensitivity list, the process suspends at the wait statements
begin
  rst <= '1';
  wait for 100 ns;
  rst <= '0';
  wait;
end process stimulus;

Empty sensitivity list

The parentheses following process have to contain at least one signal name (LRM 10.2), or all in VHDL-2008 and later (LRM 11.3). Empty parentheses are a syntax error (rule 197).

VHDL
process() is -- no signal between the parentheses
begin
  c <= a and b;
end process;

Add the signals that the process reads, which a quick fix can do for you.

VHDL
process(a, b) is -- every signal that the process reads
begin
  c <= a and b;
end process;

process is       -- no parentheses when the process suspends through wait statements
begin
  c <= a and b;
  wait on a, b;
end process;