data/full_repos/permissive/503578084/single_cycle/npc.v
1: b'%Error: data/full_repos/permissive/503578084/single_cycle/npc.v:21: Cannot find include file: param.v\n`include "param.v" \n         ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/503578084/single_cycle,data/full_repos/permissive/503578084/param.v\n             data/full_repos/permissive/503578084/single_cycle,data/full_repos/permissive/503578084/param.v.v\n             data/full_repos/permissive/503578084/single_cycle,data/full_repos/permissive/503578084/param.v.sv\n             param.v\n             param.v.v\n             param.v.sv\n             obj_dir/param.v\n             obj_dir/param.v.v\n             obj_dir/param.v.sv\n%Error: data/full_repos/permissive/503578084/single_cycle/npc.v:36: Define or directive not defined: \'`PC_PLUS_4\'\n    else if(npc_op==`PC_PLUS_4) npc=pc4;\n                    ^~~~~~~~~~\n%Error: data/full_repos/permissive/503578084/single_cycle/npc.v:36: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n    else if(npc_op==`PC_PLUS_4) npc=pc4;\n                              ^\n%Error: Exiting due to 3 error(s)\n'
module npc(
    input   clk,
    input   rst_n,
    input   npc_op,
    input   [31:0]  pc,
    input   [31:0]  imm,
    output  reg [31:0]  pc4,
    output  reg [31:0]  npc
    );
    
always @ (*) begin
    pc4=pc+4;
    if(rst_n=='b0) npc=4;
    else if(npc_op==`PC_PLUS_4) npc=pc4;
    else npc=pc+imm;
end
endmodule
module npc(
    input   clk,
    input   rst_n,
    input   npc_op,
    input   [31:0]  pc,
    input   [31:0]  imm,
    output  reg [31:0]  pc4,
    output  reg [31:0]  npc
    );

    
always @ (*) begin
    pc4=pc+4;
    if(rst_n=='b0) npc=4;
    else if(npc_op==`PC_PLUS_4) npc=pc4;
    else npc=pc+imm;
end
endmodule