Forum Discussion
Altera_Forum
Honored Contributor
13 years agoregister them, and then look for a rising or falling edge on inside the clocked process:
if rising_edge(clk) then
if input = '1' and input_reg = '0' then --rising edge
--reset
end if;
input_reg <= input;
end if;