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