power_enums: introduce LDSTLen alias class
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 2 Aug 2022 11:07:20 +0000 (14:07 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 14 Aug 2022 19:07:43 +0000 (22:07 +0300)
src/openpower/decoder/power_enums.py

index f006b962c5c0a0e8675d7ca1776de0385d13025e..0cd4aab04278de3b41fc92f6d3742b0c12789eb3 100644 (file)
@@ -548,13 +548,16 @@ class OutSel(Enum):
 
 
 @unique
-class LdstLen(Enum):
+class LDSTLen(Enum):
     NONE = 0
     is1B = 1
     is2B = 2
     is4B = 4
     is8B = 8
 
+# Backward compatibility
+LdstLen = LDSTLen
+
 
 @unique
 class LDSTMode(Enum):