data/full_repos/permissive/189940829/Lab3-Pipelined Computer with IO/source/EXE_stage.v
1: b'%Error: Cannot find file containing module: Computer\n        ... Looked in:\n             data/full_repos/permissive/189940829/Lab3-Pipelined/Computer\n             data/full_repos/permissive/189940829/Lab3-Pipelined/Computer.v\n             data/full_repos/permissive/189940829/Lab3-Pipelined/Computer.sv\n             Computer\n             Computer.v\n             Computer.sv\n             obj_dir/Computer\n             obj_dir/Computer.v\n             obj_dir/Computer.sv\n%Error: Cannot find file containing module: with\n%Error: Cannot find file containing module: IO/source,data/full_repos/permissive/189940829\n%Error: Cannot find file containing module: data/full_repos/permissive/189940829/Lab3-Pipelined\n%Error: Cannot find file containing module: IO/source/EXE_stage.v\n%Error: Exiting due to 5 error(s)\n'
module EXE_stage (
    input [31:0] ea, eb, eimm, epc4, esa,
    input [4:0] ern0,
    input [3:0] ealuc,
    input ealuimm, eshift, ejal,
    output [31:0] ealu,
    output [4:0] ern
);
    wire [31:0] alua, alub, alu_result, epc8;
    wire zero;
    assign epc8 = epc4 + 32'h4;
    mux2x32 alu_a (ea,esa,eshift,alua);
    mux2x32 alu_b (eb,eimm,ealuimm,alub);
    ALU alu(alua, alub, ealuc, alu_result, zero);
    mux2x32 is_jal(alu_result, epc8, ejal, ealu);
    assign ern = ejal ? 5'b11111 : ern0;

endmodule
module EXE_stage (
    input [31:0] ea, eb, eimm, epc4, esa,
    input [4:0] ern0,
    input [3:0] ealuc,
    input ealuimm, eshift, ejal,
    output [31:0] ealu,
    output [4:0] ern
);

    wire [31:0] alua, alub, alu_result, epc8;
    wire zero;
    assign epc8 = epc4 + 32'h4;
    mux2x32 alu_a (ea,esa,eshift,alua);
    mux2x32 alu_b (eb,eimm,ealuimm,alub);
    ALU alu(alua, alub, ealuc, alu_result, zero);
    mux2x32 is_jal(alu_result, epc8, ejal, ealu);
    assign ern = ejal ? 5'b11111 : ern0;

endmodule