Rotate Left
Easy · Combinational · SystemVerilog
Design a module that performs a circular left rotation on an 8-bit input {in} by a variable amount {shift}. The rotation amount ranges from $0$ to $7$ positions. Bits shifted out of the most-significant end wrap around to the least-significant end, so all bits of {in} are preserved in {out}.