projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correct overflow-enable flags for rdmask specs in ALU
[soc.git]
/
src
/
soc
/
fu
/
compunits
/
test
/
test_alu_compunit.py
diff --git
a/src/soc/fu/compunits/test/test_alu_compunit.py
b/src/soc/fu/compunits/test/test_alu_compunit.py
index 87ba1bc757810548603fdbe58b1c497d6058e3f0..ff2adcc5626b6d45b0b45cffa307b48040284e07 100644
(file)
--- a/
src/soc/fu/compunits/test/test_alu_compunit.py
+++ b/
src/soc/fu/compunits/test/test_alu_compunit.py
@@
-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