BartlebyScrivener
Member level 5

This might seem ridiculous but ...
for (int i=0; i<100; i+10) begin
// code
end
will that give me i=10, i=20, i=30, ... i=100 or is there a different way of doing it? I have only ever had i++ on the right!
Thanks.
- - - Updated - - -
Also, say I had a loop
for (int i=0; i<5; i+10)
// code
end
would that only perform the code for i=0?
- - - Updated - - -
I found an online simulator to play http://iverilog.com/index.php
for (int i=0; i<100; i+10) begin
// code
end
will that give me i=10, i=20, i=30, ... i=100 or is there a different way of doing it? I have only ever had i++ on the right!
Thanks.
- - - Updated - - -
Also, say I had a loop
for (int i=0; i<5; i+10)
// code
end
would that only perform the code for i=0?
- - - Updated - - -
I found an online simulator to play http://iverilog.com/index.php