From: Jacob Lifshay Date: Wed, 13 Dec 2023 00:49:24 +0000 (-0800) Subject: caller.py: XLEN must be accessed as self.XLEN X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d69b8c15517dd22e782d2ff0825bc4375f950de6;p=openpower-isa.git caller.py: XLEN must be accessed as self.XLEN --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 2bb4b608..da73f98b 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -2607,7 +2607,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers, StepLoop): if name in fregs: fval = self.fpr(base, is_vec, offs, ew_src) reg_val = SelectableInt(fval) - assert ew_src == XLEN, "TODO fix elwidth conversion" + assert ew_src == self.XLEN, "TODO fix elwidth conversion" self.trace("r:FPR:%d:%d:%d " % (base, offs, ew_src)) log("read fp reg %d/%d: 0x%x" % (base, offs, reg_val.value), kind=LogType.InstrInOuts)