Produce three products of an 8-bit unsigned input using left shifts: times2 = in << 1, times4 = in << 2, times8 = in << 3. The outputs are wide enough that nothing overflows.
Input: in, 8 bits.
Outputs: times2 (9 bits), times4 (10 bits), times8 (11 bits).
The testbench applies all 256 inputs and checks all three outputs.
Contributed by Indicore