1 from soc
.fu
.base_input_record
import CompOpSubsetBase
2 from nmigen
.hdl
.rec
import Layout
4 from openpower
.decoder
.power_enums
import MicrOp
, Function
7 class CompBROpSubset(CompOpSubsetBase
):
10 a copy of the relevant subset information from Decode2Execute1Type
11 needed for Branch operations. use with eq_from_execute1 (below) to
14 def __init__(self
, name
=None):
15 layout
= (('cia', 64), # PC "state"
16 ('insn_type', MicrOp
),
17 ('fn_unit', Function
),
19 ('imm_data', Layout((("data", 64), ("ok", 1)))),
24 super().__init
__(layout
, name
=name
)