projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8fbc9
)
keep commits to under 80 chars
author
Tobias Platen
<tplaten@posteo.de>
Sat, 13 Feb 2021 20:13:50 +0000
(21:13 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Sat, 13 Feb 2021 20:13:50 +0000
(21:13 +0100)
src/soc/decoder/power_decoder2.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/power_decoder2.py
b/src/soc/decoder/power_decoder2.py
index 3dcc5a373e06abec1544ee1ff9507595862d546e..883c91281339cf95407a9f2b9bd9f7e70530c001 100644
(file)
--- a/
src/soc/decoder/power_decoder2.py
+++ b/
src/soc/decoder/power_decoder2.py
@@
-912,7
+912,8
@@
class PowerDecodeSubset(Elaboratable):
SPR_PRTBL = 720 # see common.vhdl in microwatt, not in POWER9
with m.If(((self.dec.op.internal_op == MicrOp.OP_MTSPR) |
(self.dec.op.internal_op == MicrOp.OP_MFSPR)) &
- ((spr == SPR.DSISR) | (spr == SPR.DAR) | (spr==SPR_PRTBL) | (spr==SPR_PID))):
+ ((spr == SPR.DSISR) | (spr == SPR.DAR)
+ | (spr==SPR_PRTBL) | (spr==SPR_PID))):
comb += self.do_copy("fn_unit", Function.MMU)
with m.Else():
comb += self.do_copy("fn_unit",fn)