yosys/tests/hana/test_simulation_shifter_rig...

5 lines
103 B
Coq
Raw Normal View History

2013-01-05 04:13:26 -06:00
module test(input [3:0] IN, input [2:0] SHIFT, output [3:0] OUT);
assign OUT = IN >> SHIFT;
endmodule