data/full_repos/permissive/527176783/Pipeline/mux2.v
1: b'%Error: data/full_repos/permissive/527176783/Pipeline/mux2.v:2: Cannot find include file: define.v\n`include "define.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/527176783/Pipeline,data/full_repos/permissive/527176783/define.v\n             data/full_repos/permissive/527176783/Pipeline,data/full_repos/permissive/527176783/define.v.v\n             data/full_repos/permissive/527176783/Pipeline,data/full_repos/permissive/527176783/define.v.sv\n             define.v\n             define.v.v\n             define.v.sv\n             obj_dir/define.v\n             obj_dir/define.v.v\n             obj_dir/define.v.sv\n%Error: data/full_repos/permissive/527176783/Pipeline/mux2.v:11: Define or directive not defined: \'`FromRt\'\n            `FromRt: result = rt;\n            ^~~~~~~\n%Error: data/full_repos/permissive/527176783/Pipeline/mux2.v:11: syntax error, unexpected \':\', expecting endcase\n            `FromRt: result = rt;\n                   ^\n%Error: data/full_repos/permissive/527176783/Pipeline/mux2.v:12: Define or directive not defined: \'`FromRd\'\n            `FromRd: result = rd; \n            ^~~~~~~\n%Error: Cannot continue\n'
module mux2(
    input   [4:0] rd,
    input   [4:0] rt,
    input         sel,
    output  reg [4:0] result
);
    always @(*) begin
        case (sel)
            `FromRt: result = rt;
            `FromRd: result = rd; 
            default: result = rd;
        endcase
    end

endmodule
module mux2(
    input   [4:0] rd,
    input   [4:0] rt,
    input         sel,
    output  reg [4:0] result
);

    always @(*) begin
        case (sel)
            `FromRt: result = rt;
            `FromRd: result = rd; 
            default: result = rd;
        endcase
    end

endmodule