self.in3_sel = Signal(In3Sel, reset_less=True)
self.out_sel = Signal(OutSel, reset_less=True)
self.cr_in = Signal(CRInSel, reset_less=True)
+ self.cr_out = Signal(CROutSel, reset_less=True)
self.ldst_len = Signal(LdstLen, reset_less=True)
self.rc_sel = Signal(RC, reset_less=True)
self.cry_in = Signal(CryIn, reset_less=True)
self.in3_sel.eq(In3Sel[row['in3']]),
self.out_sel.eq(OutSel[row['out']]),
self.cr_in.eq(CRInSel[row['CR in']]),
+ self.cr_out.eq(CROutSel[row['CR out']]),
self.ldst_len.eq(LdstLen[row['ldst len']]),
self.rc_sel.eq(RC[row['rc']]),
self.cry_in.eq(CryIn[row['cry in']]),
self.in3_sel.eq(otherop.in3_sel),
self.out_sel.eq(otherop.out_sel),
self.cr_in.eq(otherop.cr_in),
+ self.cr_out.eq(otherop.cr_out),
self.rc_sel.eq(otherop.rc_sel),
self.ldst_len.eq(otherop.ldst_len),
self.cry_in.eq(otherop.cry_in)]
self.in3_sel,
self.out_sel,
self.cr_in,
+ self.cr_out,
self.ldst_len,
self.rc_sel,
self.internal_op,
# names of the fields in the tables that don't correspond to an enum
-single_bit_flags = ['CR out', 'inv A', 'inv out',
+single_bit_flags = ['inv A', 'inv out',
'cry out', 'BR', 'sgn ext', 'upd', 'rsrv', '32b',
'sgn', 'lk', 'sgl pipe']
in3_sel = Signal(In3Sel)
out_sel = Signal(OutSel)
cr_in = Signal(CRInSel)
+ cr_out = Signal(CROutSel)
rc_sel = Signal(RC)
ldst_len = Signal(LdstLen)
cry_in = Signal(CryIn)
in3_sel.eq(dut.op.in3_sel),
out_sel.eq(dut.op.out_sel),
cr_in.eq(dut.op.cr_in),
+ cr_out.eq(dut.op.cr_out),
rc_sel.eq(dut.op.rc_sel),
ldst_len.eq(dut.op.ldst_len),
cry_in.eq(dut.op.cry_in),
(in3_sel, In3Sel, 'in3'),
(out_sel, OutSel, 'out'),
(cr_in, CRInSel, 'CR in'),
+ (cr_out, CROutSel, 'CR out'),
(rc_sel, RC, 'rc'),
(cry_in, CryIn, 'cry in'),
(ldst_len, LdstLen, 'ldst len')]