1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2024-11-23 09:53:29 +00:00
Cursor/Libs/Memory/hdl/sdramControllerSampleDataIn_RTL.vhd

18 lines
343 B
VHDL
Raw Normal View History

2021-11-24 09:50:51 +00:00
ARCHITECTURE RTL OF sdramControllerSampleDataIn IS
BEGIN
sampleRamData: process(reset, clock)
begin
if reset = '1' then
ramDataIn <= (others => '0');
elsif falling_edge(clock) then
if sampleData = '1' then
ramDataIn <= memDataIn;
end if;
end if;
end process sampleRamData;
END ARCHITECTURE RTL;