From: Luke Kenneth Casson Leighton Date: Thu, 4 Mar 2021 17:47:21 +0000 (+0000) Subject: add cached pgtbl0/3 X-Git-Tag: convert-csv-opcode-to-binary~122 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e442e7b85f51030e98bec47d9210062a42d70c4d;p=soc.git add cached pgtbl0/3 --- diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index 0664591c..99ea6975 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -82,6 +82,12 @@ class RADIX: self.mem = mem self.caller = caller + # cached page table stuff + self.pgtbl0 = 0 + self.pt0_valid = False + self.pgtbl3 = 0 + self.pt3_valid = False + def ld(self, address, width=8, swap=True, check_in_mem=False): print("RADIX: ld from addr 0x{:x} width {:d}".format(address, width))