Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI have created a nested loop to initial the array, but I failed to assign it's value.
bit Array ;
initial begin
byte i, j;
for (i=20; i>=0; i--)
for (j=20; j>=0; j--)
Array = 0;
for (i=20; i>=0; i--)
Array = 1;
end
always @ (posedge PLL)
begin
// Array returns 0 at all elements here
end