X-Git-Url: https://git.libre-soc.org/?p=soc.git;a=blobdiff_plain;f=src%2Fsoc%2Ffu%2Fspr%2Ftest%2Ftest_pipe_caller.py;fp=src%2Fsoc%2Ffu%2Fspr%2Ftest%2Ftest_pipe_caller.py;h=fbe2314db96580091989b3ae8fb3c4dcc729bfe7;hp=8dc13da5c78877a5a0530a6603a3f12483b40b01;hb=e623c07bce1cd7bec79b96ca9e725bb8c3e8d449;hpb=157669066b9990ca430f49293bcd97f9ae51890d diff --git a/src/soc/fu/spr/test/test_pipe_caller.py b/src/soc/fu/spr/test/test_pipe_caller.py index 8dc13da5..fbe2314d 100644 --- a/src/soc/fu/spr/test/test_pipe_caller.py +++ b/src/soc/fu/spr/test/test_pipe_caller.py @@ -46,7 +46,7 @@ def get_cu_inputs(dec2, sim): def set_alu_inputs(alu, dec2, sim): # TODO: see https://bugs.libre-soc.org/show_bug.cgi?id=305#c43 # detect the immediate here (with m.If(self.i.ctx.op.imm_data.imm_ok)) - # and place it into data_i.b + # and place it into i_data.b inp = yield from get_cu_inputs(dec2, sim) yield from ALUHelpers.set_int_ra(alu, dec2, inp) @@ -142,7 +142,7 @@ class TestRunner(unittest.TestCase): pspec = SPRPipeSpec(id_wid=2) m.submodules.alu = alu = SPRBasePipe(pspec) - comb += alu.p.data_i.ctx.op.eq_from_execute1(pdecode2.do) + comb += alu.p.i_data.ctx.op.eq_from_execute1(pdecode2.do) comb += alu.p.valid_i.eq(1) comb += alu.n.ready_i.eq(1) comb += pdecode2.dec.raw_opcode_in.eq(instruction)