Guest
Hello all
Can anyone tell me if I do x = x + 1 does this have to be inside
an 'always @ (clock edge)' block, for example,
always @ ( posedge CLK)
begin
x = x + 1;
end
always @ ( y )
begin
x = x + 1;
end
which 'always' is correct ?
Can anyone tell me if I do x = x + 1 does this have to be inside
an 'always @ (clock edge)' block, for example,
always @ ( posedge CLK)
begin
x = x + 1;
end
always @ ( y )
begin
x = x + 1;
end
which 'always' is correct ?