data/full_repos/permissive/193790231/B_muxers.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-MULTITOP: data/full_repos/permissive/193790231/B_muxers.v:24: Multiple top level modules\n                                                                     : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                     : ... Top module \'B_4xMUX2to1\'\nmodule B_4xMUX2to1(\n       ^~~~~~~~~~~\n                                                                     : ... Top module \'mux2x1\'\nmodule mux2x1 #(parameter dataW=8)(\n       ^~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module mux2x1 #(parameter dataW=8)(
    output reg [(dataW-1):0]M,
    input  [(dataW-1):0]X,
    input  [(dataW-1):0]Y,
    input  Sel
);
    always@(*) begin
        if (Sel) begin
            M = Y;
        end
        else begin
            M = X;
        end
    end
endmodule
module mux2x1 #(parameter dataW=8)(
    output reg [(dataW-1):0]M,
    input  [(dataW-1):0]X,
    input  [(dataW-1):0]Y,
    input  Sel
);

    always@(*) begin
        if (Sel) begin
            M = Y;
        end
        else begin
            M = X;
        end
    end
endmodule