DFF - clk¡¯event and clk=¡®1¡¯
clk¡¯event and clk=¡®1¡¯
- clk is the signal name (any name)
- ¡®event is a VHDL attribute,
specifying that there needs
to be a change in signal value
- clk=¡®1¡¯ means positive-edge
triggered
USE ieee.std_logic_1164.all;
ARCHITECTURE behavior OFdff_a IS
IF clk'event and clk = '1' THEN