X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/pwm.git/blobdiff_plain/899c4aaf8411af38d4077fd70ef8872e5093b6f0..e91adf9cda5fcc9e81e9468583363e96dfe32f80:/irc_dump.vhd diff --git a/irc_dump.vhd b/irc_dump.vhd index ee8b1b2..c48ce4e 100644 --- a/irc_dump.vhd +++ b/irc_dump.vhd @@ -50,11 +50,12 @@ begin process (CLK_I, RST_I) is begin - if RST_I = '1' then - INNER_ACK <= '0'; - - elsif rising_edge(CLK_I) then - INNER_ACK <= STB_I; + if rising_edge(CLK_I) then + if RST_I = '1' then + INNER_ACK <= '0'; + else + INNER_ACK <= STB_I; + end if; end if; end process;