From 908cc239c9d2f015943688a0f142b5238db0e25c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 7 Apr 2020 15:37:11 +0100 Subject: [PATCH] comment not to do bit-inversion here --- src/soc/decoder/selectable_int.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/decoder/selectable_int.py b/src/soc/decoder/selectable_int.py index 878b42d8..052cfb30 100644 --- a/src/soc/decoder/selectable_int.py +++ b/src/soc/decoder/selectable_int.py @@ -33,11 +33,11 @@ class FieldSelectableInt: return self.merge(vi) def __getitem__(self, key): - key = self.br[key] + key = self.br[key] # don't do POWER 1.3.4 bit-inversion return self.si[key] def __setitem__(self, key, value): - key = self.br[key] + key = self.br[key] # don't do POWER 1.3.4 bit-inversion return self.si__setitem__(key, value) def __negate__(self): -- 2.30.2