projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b8b868
)
add list of SPRs needed
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 6 Apr 2020 21:03:21 +0000
(22:03 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 6 Apr 2020 21:03:21 +0000
(22:03 +0100)
src/soc/decoder/isa/caller.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/isa/caller.py
b/src/soc/decoder/isa/caller.py
index 2bf47d5b72a1d4e06d80c995d11bd29488ebdd69..d9986967bbd18decaa2a6b2743bd916c7b2a458b 100644
(file)
--- a/
src/soc/decoder/isa/caller.py
+++ b/
src/soc/decoder/isa/caller.py
@@
-132,6
+132,15
@@
class ISACaller:
self.gpr = GPR(decoder2, regfile)
self.mem = Mem()
self.pc = PC()
+ # TODO, needed here:
+ # 4.4.4 III p971 SPR (same as GPR except for SPRs - best done as a dict
+ # FPR (same as GPR except for FP nums)
+ # p124 FPSCR
+ # 2.3.1 CR (and sub-fields CR0..CR6)
+ # 2.3.2 LR
+ # 2.3.3 CTR
+ # 2.3.4 TAR
+
self.namespace = {'GPR': self.gpr,
'MEM': self.mem,
'memassign': self.memassign,