data/full_repos/permissive/114553631/src/dstE.v
1: b'%Error: data/full_repos/permissive/114553631/src/dstE.v:4: Cannot find include file: ../src/def.v\n`include "../src/def.v" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/114553631/src,data/full_repos/permissive/114553631/../src/def.v\n             data/full_repos/permissive/114553631/src,data/full_repos/permissive/114553631/../src/def.v.v\n             data/full_repos/permissive/114553631/src,data/full_repos/permissive/114553631/../src/def.v.sv\n             ../src/def.v\n             ../src/def.v.v\n             ../src/def.v.sv\n             obj_dir/../src/def.v\n             obj_dir/../src/def.v.v\n             obj_dir/../src/def.v.sv\n%Error: data/full_repos/permissive/114553631/src/dstE.v:14: Define or directive not defined: \'`IROP\'\n        if (D_op==`IROP) begin\n                  ^~~~~\n%Error: data/full_repos/permissive/114553631/src/dstE.v:14: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n        if (D_op==`IROP) begin\n                       ^\n%Error: data/full_repos/permissive/114553631/src/dstE.v:16: Define or directive not defined: \'`IADDI\'\n        end else if (D_op==`IADDI || D_op==`IANDI || D_op==`IORI || D_op==`ISLTI) begin\n                           ^~~~~~\n%Error: data/full_repos/permissive/114553631/src/dstE.v:16: Define or directive not defined: \'`IANDI\'\n        end else if (D_op==`IADDI || D_op==`IANDI || D_op==`IORI || D_op==`ISLTI) begin\n                                           ^~~~~~\n%Error: data/full_repos/permissive/114553631/src/dstE.v:16: Define or directive not defined: \'`IORI\'\n        end else if (D_op==`IADDI || D_op==`IANDI || D_op==`IORI || D_op==`ISLTI) begin\n                                                           ^~~~~\n%Error: data/full_repos/permissive/114553631/src/dstE.v:16: Define or directive not defined: \'`ISLTI\'\n        end else if (D_op==`IADDI || D_op==`IANDI || D_op==`IORI || D_op==`ISLTI) begin\n                                                                          ^~~~~~\n%Error: data/full_repos/permissive/114553631/src/dstE.v:19: Define or directive not defined: \'`RNONE\'\n            d_dstE = `RNONE;\n                     ^~~~~~\n%Error: Cannot continue\n'
module dstE(
    output reg [4:0] d_dstE,
    input [5:0] D_op,
    input [4:0] D_rt,
    input [4:0] D_rd
);
    
    always @(*) begin
        if (D_op==`IROP) begin
            d_dstE = D_rd; 
        end else if (D_op==`IADDI || D_op==`IANDI || D_op==`IORI || D_op==`ISLTI) begin
            d_dstE = D_rt;
        end else begin
            d_dstE = `RNONE;
        end
        $display("D_op: %d, D_rt=%d, dstE: %d",D_op, D_rt, d_dstE);
    end

endmodule
module dstE(
    output reg [4:0] d_dstE,
    input [5:0] D_op,
    input [4:0] D_rt,
    input [4:0] D_rd
);

    
    always @(*) begin
        if (D_op==`IROP) begin
            d_dstE = D_rd; 
        end else if (D_op==`IADDI || D_op==`IANDI || D_op==`IORI || D_op==`ISLTI) begin
            d_dstE = D_rt;
        end else begin
            d_dstE = `RNONE;
        end
        $display("D_op: %d, D_rt=%d, dstE: %d",D_op, D_rt, d_dstE);
    end

endmodule