1
0
SEm-Labos/Libs/Memory/hdl/sdramControllerSR_RTL.vhd

19 lines
344 B
VHDL
Raw Normal View History

2024-02-23 13:01:05 +00:00
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;