Forum Discussion
Altera_Forum
Honored Contributor
16 years agohow about something like this?
IF clk='1' AND clk'EVENT THEN
data<=memory(index);
index := index + 1;
if index = words then
index := 0;
end if;
END IF;
END IF;