mirror of
https://github.com/Klagarge/Cursor.git
synced 2024-11-23 09:53:29 +00:00
19 lines
344 B
VHDL
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;
|
||
|
|