Commit eed4eab2 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment