Fix too wide bitfield being selected for opcode 30
authorMichael Nolan <mtnolan2640@gmail.com>
Wed, 13 May 2020 20:41:37 +0000 (16:41 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Wed, 13 May 2020 20:42:00 +0000 (16:42 -0400)
src/soc/decoder/power_decoder.py

index 08ca3d6a254482439148a2a1ddb26b15f269b1ab..32cea4d12b9a9d3ee91c77633e5e3fcbe67c0919 100644 (file)
@@ -360,7 +360,7 @@ def create_pdecode():
     pminor = [
         m19,
         Subdecoder(pattern=30, opcodes=get_csv("minor_30.csv"),
-                   opint=True, bitsel=(1, 6), suffix=None, subdecoders=[]),
+                   opint=True, bitsel=(1, 5), suffix=None, subdecoders=[]),
         Subdecoder(pattern=31, opcodes=get_csv("minor_31.csv"),
                    opint=True, bitsel=(1, 11), suffix=0b00101, subdecoders=[]),
         Subdecoder(pattern=58, opcodes=get_csv("minor_58.csv"),