data/full_repos/permissive/147466718/LC3_M2.v
data/verilator_xmls/a4af134f-6f2b-4303-a9ac-b43a8eeb66dc.xml
module LC3_M2(
    input [15:0] B,
    input [15:0] A,
    input S,
    output reg [15:0] O
    );

    always @(*) begin
        case (S)
            1'd0: O = A;
	    1'd1: O = B;
	    default: $display("ERROR: INVALID MUX SIGNAL");
	endcase
    end
endmodule
module LC3_M2(
    input [15:0] B,
    input [15:0] A,
    input S,
    output reg [15:0] O
    );


    always @(*) begin
        case (S)
            1'd0: O = A;
	    1'd1: O = B;
	    default: $display("ERROR: INVALID MUX SIGNAL");
	endcase
    end
endmodule