mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-12-15 08:13:07 +00:00
Initial commit
This commit is contained in:
13
Libs/Sequential/hdl/DFF_sim.vhd
Normal file
13
Libs/Sequential/hdl/DFF_sim.vhd
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user