--- /dev/null
+from soc.fu.base_input_record import CompOpSubsetBase
+from soc.decoder.power_enums import (MicrOp, Function)
+
+
+class CompMMUOpSubset(CompOpSubsetBase):
+ """CompMMUOpSubset
+
+ a copy of the relevant subset information from Decode2Execute1Type
+ needed for MMU operations. use with eq_from_execute1 (below) to
+ grab subsets.
+ """
+ def __init__(self, name=None):
+ layout = (('insn_type', MicrOp),
+ ('fn_unit', Function),
+ ('insn', 32),
+ ('zero_a', 1),
+ )
+ super().__init__(layout, name=name)