X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsoc%2Ffu%2Flogical%2Ftest%2Ftest_pipe_caller.py;h=4a22308c071ef86cde9bfd8f2e3b5a1d4b348f48;hb=e8da3c44cf2de617cca77eb280580c99c19157dd;hp=05e1a816967ac3f019c8a407ce348bb72688a1c8;hpb=fcc9bc0960283f91288a17eb0eb672ac5fdcc6f0;p=soc.git diff --git a/src/soc/fu/logical/test/test_pipe_caller.py b/src/soc/fu/logical/test/test_pipe_caller.py index 05e1a816..4a22308c 100644 --- a/src/soc/fu/logical/test/test_pipe_caller.py +++ b/src/soc/fu/logical/test/test_pipe_caller.py @@ -68,9 +68,11 @@ def set_alu_inputs(alu, dec2, sim): def set_extra_alu_inputs(alu, dec2, sim): carry = 1 if sim.spr['XER'][XER_bits['CA']] else 0 - yield alu.p.data_i.carry_in.eq(carry) + carry32 = 1 if sim.spr['XER'][XER_bits['CA32']] else 0 + yield alu.p.data_i.xer_ca[0].eq(carry) + yield alu.p.data_i.xer_ca[1].eq(carry32) so = 1 if sim.spr['XER'][XER_bits['SO']] else 0 - yield alu.p.data_i.so.eq(so) + yield alu.p.data_i.xer_so.eq(so) # This test bench is a bit different than is usual. Initially when I