summaryrefslogtreecommitdiff
path: root/tests/hana/test_simulation_mux_2_test.v
blob: bc676c70b57f4bafacc3d7f89b236d4c847b8f47 (plain)
1
2
3
4
5
6
7
8
module test(input [1:0] in, input select, output reg out);

always @( in or select)
    case (select)
	    0: out = in[0];
	    1: out = in[1];
	endcase
endmodule