yosys/tests/hana/test_simulation_shifter_lef...

5 lines
103 B
Verilog

module test(input [3:0] IN, input [2:0] SHIFT, output [3:0] OUT);
assign OUT = IN << SHIFT;
endmodule