data/full_repos/permissive/412284801/adders/add-subtractor/d_addsub_mux.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/412284801/adders/add-subtractor/d_addsub_mux.v:7: Signal definition not found, creating implicitly: \'w\'\n                                                                                              : ... Suggested alternative: \'w1\'\n    assign w = (sel == 1\'b1)? b: ~b;\n           ^\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module d_addsub_mux(a,b,cin,sel,sum,cout);
    input a,b,cin,sel;
    output sum,cout;

    wire x1,x2,o1;
    wire w1;
    assign w = (sel == 1'b1)? b: ~b;
    assign x1 = a ^ w, x2 = a & w;
    assign sum = cin ^ x1, o1 = cin & x1;
    assign cout = o1 | x2;
endmodule
module d_addsub_mux(a,b,cin,sel,sum,cout);

    input a,b,cin,sel;
    output sum,cout;

    wire x1,x2,o1;
    wire w1;
    assign w = (sel == 1'b1)? b: ~b;
    assign x1 = a ^ w, x2 = a & w;
    assign sum = cin ^ x1, o1 = cin & x1;
    assign cout = o1 | x2;
endmodule