fix test_mul_pipe.py unit test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 6 Jul 2020 14:07:13 +0000 (15:07 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 6 Jul 2020 14:07:13 +0000 (15:07 +0100)
src/ieee754/part_mul_add/test/test_mul_pipe.py

index 38904e1fa38c6799507ec513dbd0ade97a4fe181..073162bf84adc3a682f842fbb3b0b8936d0fd20e 100644 (file)
@@ -214,7 +214,7 @@ def test0():
     dut = MaskCancellablePipe(maskwid)
     data = data_chain0(maskwid)
     test = TestMask(dut, resultfn_0, maskwid, data=data)
-    run_simulation(dut, [test.send, test.rcv],
+    run_simulation(dut, [test.send(), test.rcv()],
                         vcd_name="test_maskchain0.vcd")
 
 
@@ -229,7 +229,7 @@ def test8():
     #    f.write(vl)
     data=data_2op()
     test = Test5(dut, resultfn_8, data=data)
-    run_simulation(dut, [test.send, test.rcv],
+    run_simulation(dut, [test.send(), test.rcv()],
                    vcd_name="test_mul_pipe_8_16_32_64.vcd")