Previous logic was using CO[Y_WIDTH], which is downstream of another
MUXCY. Rather than using CO[Y_WIDTH], O[Y_WIDTH] with S[Y_WIDTH] = 0
works just as well.
For reference:
O[N] = CO[N-1] ^ S[N]
So if S[N] = 0, O[N] === CO[N-1], which is the desired state.
Previous logic was using CO[Y_WIDTH], which is downstream of another MUXCY. Rather than using CO[Y_WIDTH], O[Y_WIDTH] with S[Y_WIDTH] = 0 works just as well.
For reference:
O[N] = CO[N-1] ^ S[N]
So if S[N] = 0, O[N] === CO[N-1], which is the desired state.
Signed-off-by: Keith Rothman 537074+litghost@users.noreply.github.com