Forum Discussion
Altera_Forum
Honored Contributor
16 years agoLUT holds final value for 2x clk cycles
Dear All, I would like to ask for your help. I have produced a LUT 11 bits wide and 12 words in length. The values are a binary representation of a sine wave. In my process i wish to con...
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;