Negate inputs after use
authorCesar Strauss <cestrauss@gmail.com>
Sun, 5 Jul 2020 22:46:03 +0000 (19:46 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Mon, 6 Jul 2020 08:35:40 +0000 (05:35 -0300)
src/soc/experiment/alu_hier.py

index e2a7f6d60b4552649be94cabcd72962a4f977337..582020e21302ec9bbb1e078af4c5bf218845e5f8 100644 (file)
@@ -490,6 +490,10 @@ def test_alu_parallel():
             if rdy:
                 break
         yield dut.p.valid_i.eq(0)
+        yield dut.a.eq(0)
+        yield dut.b.eq(0)
+        yield dut.op.insn_type.eq(0)
+        yield dut.op.invert_a.eq(0)
 
     def receive():
         yield dut.n.ready_i.eq(1)