from openpower.decoder.power_enums import MicrOp, Function, CryIn
from nmigen.hdl.rec import Layout
+# needed for SVP64 information at the pipeline
+from openpower.decoder.power_svp64_rm import sv_input_record_layout
class CompALUOpSubset(CompOpSubsetBase):
"""CompALUOpSubset
grab subsets.
"""
def __init__(self, name=None):
- layout = (('insn_type', MicrOp),
+ layout = [('insn_type', MicrOp),
('fn_unit', Function),
('imm_data', Layout((("data", 64), ("ok", 1)))),
('rc', Layout((("rc", 1), ("ok", 1)))), # Data
('is_signed', 1),
('data_len', 4), # actually used by ALU, in OP_EXTS
('insn', 32),
- )
+ ] + sv_input_record_layout
super().__init__(layout, name=name)