correct overflow-enable flags for rdmask specs in ALU
[soc.git] / src / soc / fu / compunits / test / test_alu_compunit.py
index 87ba1bc757810548603fdbe58b1c497d6058e3f0..ff2adcc5626b6d45b0b45cffa307b48040284e07 100644 (file)
@@ -39,8 +39,8 @@ class ALUTestRunner(TestRunner):
             res['xer_ca'] = carry | (carry32<<1)
 
         # XER.so
-        oe = yield dec2.e.oe.data & dec2.e.oe.ok
-        if True: #oe:
+        oe = yield dec2.e.oe.data[0] & dec2.e.oe.ok
+        if oe:
             so = 1 if sim.spr['XER'][XER_bits['SO']] else 0
             res['xer_so'] = so