From 7526e08384c4595114bb143620370a3de2e873e2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 6 Apr 2020 22:03:21 +0100 Subject: [PATCH] add list of SPRs needed --- src/soc/decoder/isa/caller.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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, -- 2.30.2