From: Luke Kenneth Casson Leighton Date: Mon, 6 Apr 2020 21:03:21 +0000 (+0100) Subject: add list of SPRs needed X-Git-Tag: div_pipeline~1439^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7526e08384c4595114bb143620370a3de2e873e2;p=soc.git add list of SPRs needed --- diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index 2bf47d5b..d9986967 100644 --- 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,