# Repeat Loop Not Working

**URL:** <https://verificationacademy.com/forums/t/repeat-loop-not-working/36032>\
**Category:** SystemVerilog\
**Tags:** Dave-Rich, SystemVerilog\
**Created:** [April 29, 2019, 5:03pm UTC](https://verificationacademy.com/forums/t/repeat-loop-not-working/36032 "2019-04-29T17:03:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [April 30, 2019, 6:00pm UTC](https://verificationacademy.com/forums/t/repeat-loop-not-working/36032/2 "2019-04-30T18:00:23Z")

</div>

_In reply to [abhiram.b](https://verificationacademy.com/forums/t/repeat-loop-not-working/36032):_

It would help to add two lines giving us a complete example.

```verilog
module top;
  initial repeat(5.0) begin
      #1;
      $display("Wassup at %t",$realtime);
    end
endmodule

```

This gives me 5 lines on every simulator I tried.

---

_[View the full topic](https://verificationacademy.com/forums/t/repeat-loop-not-working/36032)._
