comment not to do bit-inversion here
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 7 Apr 2020 14:37:11 +0000 (15:37 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 7 Apr 2020 14:37:11 +0000 (15:37 +0100)
src/soc/decoder/selectable_int.py

index 878b42d812bd9b380591ab576db55a7a8badfa54..052cfb300a180baf9b9cf46832934c4612996dbc 100644 (file)
@@ -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):