R
rekz
Guest
I have the following code where Reg1[4:0] is 3 and therefore the code
should repeat 3 times... however it doesn't.. Why is this?
temp = Reg2[31];
repeat (Reg1[4:0]) begin
Result = Reg2 >> 1;
Result[31] = temp;
end
should repeat 3 times... however it doesn't.. Why is this?
temp = Reg2[31];
repeat (Reg1[4:0]) begin
Result = Reg2 >> 1;
Result[31] = temp;
end