with m.Case(In2Sel.CONST_SH32): # unsigned - for shift
comb += self.imm_out.data.eq(self.dec.SH32)
comb += self.imm_out.ok.eq(1)
- with m.Case(In2Sel.CONST_XBI): # unsigned - for grevi
- comb += self.imm_out.data.eq(self.dec.FormXB.XBI)
- comb += self.imm_out.ok.eq(1)
return m
with m.If((major == 22) & xo6.matches(
'-01000', # maddsubrs
'-01001', # maddrs
+ '-01011', # msubrs
)):
comb += self.implicit_rs.eq(1)
comb += self.extend_rb_maxvl.eq(1) # extend RB