DFF with WAIT statement
Note: There is no sensitivity list
wait until
Acts like the sensitivity list
LIBRARY ieee;
USE ieee.std_logic_1164.all;
ENTITY wait_dff IS
PORT ( d, clk : in std_logic;
q : out std_logic
);
END wait_dff;
ARCHITECTURE behavior OF wait_dff IS
BEGIN
PROCESS
BEGIN
wait until clk = '1';
q <= d;
END PROCESS;
END behavior;
ÀÌÀü ½½¶óÀ̵å
´ÙÀ½ ½½¶óÀ̵å
ù ½½¶óÀ̵å·Î À̵¿
±×·¡ÇÈ ¹öÀü º¸±â