mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-07-03 23:31:10 +00:00
Initial commit
This commit is contained in:
13
Libs/Sequential/hdl/DFF_pre_sim.vhd
Normal file
13
Libs/Sequential/hdl/DFF_pre_sim.vhd
Normal file
@ -0,0 +1,13 @@
|
||||
ARCHITECTURE sim OF DFF_pre IS
|
||||
BEGIN
|
||||
|
||||
process(clk, pre)
|
||||
begin
|
||||
if pre = '1' then
|
||||
q <= '1' after delay;
|
||||
elsif rising_edge(clk) then
|
||||
q <= d after delay;
|
||||
end if;
|
||||
end process;
|
||||
|
||||
END sim;
|
Reference in New Issue
Block a user