From: Luke Kenneth Casson Leighton Date: Tue, 26 Feb 2019 22:28:56 +0000 (+0000) Subject: moving internal strobe test forward is ok X-Git-Tag: ls180-24jan2020~1828 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=370ce3f6040fc62df2121a87328f6fdb44f75344;p=ieee754fpu.git moving internal strobe test forward is ok --- diff --git a/src/add/test_dual.py b/src/add/test_dual.py index 7d412c86..6f9d8c8e 100644 --- a/src/add/test_dual.py +++ b/src/add/test_dual.py @@ -18,13 +18,6 @@ def get_case(dut, a, b, c): b_ack = (yield dut.b.ack) assert b_ack == 0 - while True: - out_z_stb = (yield dut.int_stb) - if not out_z_stb: - yield - continue - break - yield dut.c.v.eq(c) yield dut.c.stb.eq(1) yield @@ -32,6 +25,13 @@ def get_case(dut, a, b, c): c_ack = (yield dut.c.ack) assert c_ack == 0 + while True: + out_z_stb = (yield dut.int_stb) + if not out_z_stb: + yield + continue + break + while True: out_z_stb = (yield dut.z.stb) if not out_z_stb: