Forum Discussion
Altera_Forum
Honored Contributor
13 years agoActually I try to make division of this according the clk pulse.I think if I change this part
IF(clk'EVENT AND clk='1') THEN FOR i IN 1 TO n LOOP FOR j IN 1 TO n LOOP matris_out(i-1,j-1) <= (1 / 9) * (matris_in(i-1,j-1) + matris_in(i-1,j) + matris_in(i-1,j+1) + matris_in(i,j-1) + matris_in(i,j) + matris_in(i,j+1) + matris_in(i+1,j-1) + matris_in(i+1,j) + matris_in(i,j+1)); I can solve the problem.but ı coudn't understand how can I make smaller pieces according the clk.Actually I must get a bigger matrix for real project.Could you clarify your answer?thanks