1 from soc
.fu
.base_input_record
import CompOpSubsetBase
2 from openpower
.decoder
.power_enums
import (MicrOp
, Function
)
5 class CompMMUOpSubset(CompOpSubsetBase
):
8 a copy of the relevant subset information from Decode2Execute1Type
9 needed for MMU operations. use with eq_from_execute1 (below) to
12 def __init__(self
, name
=None):
13 layout
= (('insn_type', MicrOp
),
14 ('fn_unit', Function
),
16 ('msr', 64), # TODO: a lot less bits. only need PR, DR, SF
19 super().__init
__(layout
, name
=name
)