yosys/tests/hana/test_simulation_shifter_rig...

5 lines
105 B
Verilog

module test(input [63:0] IN, input [6:0] SHIFT, output [63:0] OUT);
assign OUT = IN >> SHIFT;
endmodule