From: Dmitry Selyutin Date: Sat, 25 Sep 2021 16:15:23 +0000 (+0000) Subject: decoder/helpers.py: ISACallerHelper stub class X-Git-Tag: sv_maxu_works-initial~828 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fa29804026eb25f7882988f8bd9db7e95fb9e69;p=openpower-isa.git decoder/helpers.py: ISACallerHelper stub class --- diff --git a/src/openpower/decoder/helpers.py b/src/openpower/decoder/helpers.py index b1d9eb4c..2adc714b 100644 --- a/src/openpower/decoder/helpers.py +++ b/src/openpower/decoder/helpers.py @@ -453,6 +453,15 @@ class HelperTests(unittest.TestCase): return self.assertEqual(a, b, msg) +class ISACallerHelper: + def __init__(self, XLEN: int) -> None: + self.__XLEN = XLEN + + @property + def XLEN(self): + return self.__XLEN + + if __name__ == '__main__': log(SelectableInt.__bases__) unittest.main()