Chisel3 compatibility: shift by Scala Int, not Chisel UInt
They differ in their effects on width inference. x >> 3 results in a node that's 3 bits narrower than x. x >> UInt(3) results in a node with the same width as x.
parent
467a41a8
Please register or sign in to comment