examples/dataflow/dma: fix simulation, run it for 100 cycles
authorRobert Jordens <jordens@gmail.com>
Sun, 7 Sep 2014 06:09:51 +0000 (00:09 -0600)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 7 Sep 2014 08:48:46 +0000 (16:48 +0800)
examples/dataflow/dma.py

index 8bd2728298e8f63d7a6104ea93f45f958d4f553d..241d31e5a02b4e4ef67be912fe1c247c64aea2e4 100644 (file)
@@ -81,11 +81,11 @@ class TBWishboneWriter(TBWishbone):
 
 def test_wb_reader():
        print("*** Testing Wishbone reader")
-       run_simulation(TBWishboneReader())
+       run_simulation(TBWishboneReader(), 100)
 
 def test_wb_writer():
        print("*** Testing Wishbone writer")
-       run_simulation(TBWishboneWriter())
+       run_simulation(TBWishboneWriter(), 100)
 
 if __name__ == "__main__":
        test_wb_reader()