Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThe only possible issue with the code, is the fact you have the CE on the same line as a the clock. Usually it is common to separate a clock enable from the clock, ie:
if rising_edge(clk) then
if CE = '1' then
.....
end if;
end if;
But I doubt this is causing the issue. There is otherwise nothing wrong with the code. Im guessing the problem is elsewhere. Wherre are you seeing the problem? RTL simulation? gate level simulation? on the chip?