Fix test_pipe_caller to conform to new Data() interface on outputs
authorMichael Nolan <mtnolan2640@gmail.com>
Sun, 24 May 2020 15:15:14 +0000 (11:15 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Sun, 24 May 2020 16:44:43 +0000 (12:44 -0400)
src/soc/fu/logical/test/test_pipe_caller.py

index adf0c4cc4b558107b1df07bc74fe4b5668e24d9a..ac0729e0b6d5f50746cdc085c349bd9eec33fa0f 100644 (file)
@@ -234,7 +234,7 @@ class TestRunner(FHDLTestCase):
                         yield
                         vld = yield alu.n.valid_o
                     yield
-                    alu_out = yield alu.n.data_o.o
+                    alu_out = yield alu.n.data_o.o.data
                     out_reg_valid = yield pdecode2.e.write_reg.ok
                     if out_reg_valid:
                         write_reg_idx = yield pdecode2.e.write_reg.data