Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all reset signal names match a provided regular expression.
With default regular expression for asynchronous active-high reset: ^arst[a-z\d_]*$
process (clk, MyReset) is
begin
if MyReset = '1' then -- Noncompliant
sig <= '1';
elsif rising_edge(clk) then
sig <= '0';
end if;
end process;
With default regular expression for asynchronous active-high reset: ^arst[a-z\d_]*$
process (clk, arst) is
begin
if arst = '1' then
sig <= '1';
elsif rising_edge(clk) then
sig <= '0';
end if;
end process;