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