Forum Discussion
Altera_Forum
Honored Contributor
13 years agoInitial process does not run?
Hi everyone, I have an Initial process which assigns values to some variables, but I cannot get these variables' value in a clocked process. Anyone can help me?
Altera_Forum
Honored Contributor
13 years agoThe code looks like this:
bit Array;
initial begin
byte i;
for (i=20; i>=0; i--)
Array = 1;
end
always @ (posedge PLL)
begin
// Array value returns 0 at all elements here
end