1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2024-11-30 12:43:28 +00:00
Cursor/Libs/Sequential/hdl/DFF_sim.vhd

14 lines
207 B
VHDL
Raw Normal View History

2021-11-24 09:50:51 +00:00
ARCHITECTURE sim OF DFF IS
BEGIN
process(clk, clr)
begin
if clr = '1' then
q <= '0' after delay;
elsif rising_edge(clk) then
q <= d after delay;
end if;
end process;
END sim;