# after that, settle down (combinatorial) to let Vector reg numbers
# work themselves out
yield Settle()
+ remap_active = yield self.dec2.remap_active
+ print ("remap active", remap_active)
# main input registers (RT, RA ...)
inputs = []
selectstep = dststep if out else srcstep
step = Signal(7, name="step_%s" % rname.lower())
with m.If(self.remap_active):
- comb += step.eq(selectstep)
- with m.Else():
comb += step.eq(remapstep)
+ with m.Else():
+ comb += step.eq(selectstep)
# reverse gear goes the opposite way
with m.If(self.rm_dec.reverse_gear):
comb += to_reg.data.eq(offs+svdec.reg_out+(vl-1-step))