data/full_repos/permissive/147265957/src/multiplexer.v
data/verilator_xmls/378f60bd-ca40-42f1-b5aa-945acbcc2054.xml
module multiplexer(
    result, srca, srcb, selector
    );
    parameter WIDTH = 8;
    input [WIDTH-1:0] srca,srcb;
    input selector;
    output reg [WIDTH-1:0] result;
    always @(selector or srca or srcb) begin
        if(selector)
            result = srcb;
        else
            result = srca;
    end
endmodule
module multiplexer(
    result, srca, srcb, selector
    );

    parameter WIDTH = 8;
    input [WIDTH-1:0] srca,srcb;
    input selector;
    output reg [WIDTH-1:0] result;
    always @(selector or srca or srcb) begin
        if(selector)
            result = srcb;
        else
            result = srca;
    end
endmodule