From ee283575d8be890d71700613ae4da7055cb6e0fb Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 19 Oct 2015 19:41:18 +0800 Subject: [PATCH] test: fix divider testbench --- migen/test/test_divider.py | 1 + 1 file changed, 1 insertion(+) diff --git a/migen/test/test_divider.py b/migen/test/test_divider.py index 8779bdb75..eebeae483 100644 --- a/migen/test/test_divider.py +++ b/migen/test/test_divider.py @@ -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)