1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2024-11-30 04:43:26 +00:00
Cursor/Libs/Memory/hdl/sdramControllerSR_RTL.vhd
2021-11-24 10:50:51 +01:00

19 lines
344 B
VHDL

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;