mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-07-16 13:21:11 +00:00
Initial commit
This commit is contained in:
18
Libs/Memory/hdl/sdramControllerSR_RTL.vhd
Normal file
18
Libs/Memory/hdl/sdramControllerSR_RTL.vhd
Normal file
@ -0,0 +1,18 @@
|
||||
ARCHITECTURE RTL OF sdramControllerSR IS
|
||||
BEGIN
|
||||
|
||||
setReset: process(reset, clock)
|
||||
begin
|
||||
if reset = '1' then
|
||||
flag <= '0';
|
||||
elsif rising_edge(clock) then
|
||||
if setFlag = '1' then
|
||||
flag <= '1';
|
||||
elsif resetFlag = '1' then
|
||||
flag <= '0';
|
||||
end if;
|
||||
end if;
|
||||
end process setReset;
|
||||
|
||||
END ARCHITECTURE RTL;
|
||||
|
Reference in New Issue
Block a user