From: Sebastien Bourdeauducq Date: Mon, 19 Oct 2015 11:41:18 +0000 (+0800) Subject: test: fix divider testbench X-Git-Tag: 24jan2021_ls180~2099^2~3^2~12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee283575d8be890d71700613ae4da7055cb6e0fb;p=litex.git test: fix divider testbench --- diff --git a/migen/test/test_divider.py b/migen/test/test_divider.py index 8779bdb7..eebeae48 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)