DFF with asynchronous clear
- This is how to implement asynchronous
control signals for the register
- Note: This IF-THEN statement
is outside the IF-THEN statement
that checks the condition rising_edge
- Therefore, clr=¡®1¡¯ does not depend
USE ieee.std_logic_1164.all;
USE ieee.std_logic_unsigned.all;
ARCHITECTURE behavior OF dff_clr IS
ELSIF rising_edge(clk) THEN