test: fix divider testbench
authorSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 19 Oct 2015 11:41:18 +0000 (19:41 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 19 Oct 2015 11:41:18 +0000 (19:41 +0800)
migen/test/test_divider.py

index 8779bdb75f4197e6855778b77474f25872c7a81e..eebeae48370a3ce05a649392dba1f86f00ea6fce 100644 (file)
@@ -20,6 +20,7 @@ class DivisionCase(SimCase, unittest.TestCase):
                         yield self.tb.dut.start_i.eq(1)
                         yield
                         yield self.tb.dut.start_i.eq(0)
+                        yield
                         while not (yield self.tb.dut.ready_o):
                             yield
                         self.assertEqual((yield self.tb.dut.quotient_o), dividend//divisor)