from soc.decoder.power_fields import DecodeFields
from soc.decoder.power_fieldsn import SigDecode, SignalBitRange
+
Subdecoder = namedtuple("Subdecoder", ["pattern", "opcodes", "opint",
"bitsel", "suffix", "subdecoders"])
comb = m.d.comb
# note: default opcode is "illegal" as this is a combinatorial block
+ # this only works because OP_ILLEGAL=0 and the default (unset) is 0
# go through the list of CSV decoders first
for d in self.dec: