Reputation: 23
I am using Verilog (not SystemVerilog) and trying to use a for
loop with no condition in the middle.
It says "expecting operand".
for(x=5;;x++ ) begin
led[x] <= 1;
Upvotes: 0
Views: 94
Reputation: 42623
Verilog for
loop requires a middle condition. Verilog does not have the ++
operator either.
Upvotes: 2