BartlebyScrivener
Member level 5
- Joined
- Feb 8, 2012
- Messages
- 90
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 2,081
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