From 370ce3f6040fc62df2121a87328f6fdb44f75344 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 26 Feb 2019 22:28:56 +0000 Subject: [PATCH] moving internal strobe test forward is ok --- src/add/test_dual.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: -- 2.30.2