hc99's picture
Add files using upload-large-folder tool
cb65407 verified
raw
history blame
397 Bytes
-- This file is public domain, it can be freely copied without restrictions.
-- SPDX-License-Identifier: CC0-1.0
library ieee;
use ieee.std_logic_1164.all;
entity dff is
port(
clk: in std_logic;
d: in std_logic;
q: out std_logic);
end dff;
architecture behavioral of dff is
begin
process (clk) begin
if rising_edge(clk) then
q <= d;
end if;
end process;
end behavioral;