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

18 lines
343 B
VHDL
Raw Normal View History

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