Re: How would you create infinite simulation loop in verilog
In Verilog you can create infinite loop using forever, while blocks.
forever
begin
...
...
end
while(1)
begin
...
...
...
end
But you should be sure that you are using any time consuming statements inside a loop.
It can be delay operator #5 or event @(...).
Otherwise your simulation will be stopped.
Please remember code execution is sequential not parallel.