data/full_repos/permissive/445216371/pc.v
1: b'%Error: data/full_repos/permissive/445216371/pc.v:12: Cannot find include file: parameters.vh\n    `include "parameters.vh" \n             ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/445216371,data/full_repos/permissive/445216371/parameters.vh\n             data/full_repos/permissive/445216371,data/full_repos/permissive/445216371/parameters.vh.v\n             data/full_repos/permissive/445216371,data/full_repos/permissive/445216371/parameters.vh.sv\n             parameters.vh\n             parameters.vh.v\n             parameters.vh.sv\n             obj_dir/parameters.vh\n             obj_dir/parameters.vh.v\n             obj_dir/parameters.vh.sv\n%Error: Exiting due to 1 error(s)\n'
module programCounter (
    output reg [31:0] pc,
    output [31:0] pc4,
    input [31:0] AluOut,PCImm,
    input [1:0] jumpSel,
    input jump,
    input clk,rst,stall);

    `include "parameters.vh"
    
    assign pc4=pc+4;

    always @(posedge clk, negedge rst) begin
        if(!rst) begin
            pc<=0;
        end
        else begin
            if(stall)begin
                pc<=pc;
            end else if(jump) begin
                case (jumpSel)
                    PJumpPc4: pc<=pc4;
                    PJumpImm: pc<=PCImm;
                    PJumpAlu: pc<=AluOut;
                    default: pc<=pc4;
                endcase
            end
            else begin
                pc<=pc4;
            end
            
        end
    end
endmodule
module programCounter (
    output reg [31:0] pc,
    output [31:0] pc4,
    input [31:0] AluOut,PCImm,
    input [1:0] jumpSel,
    input jump,
    input clk,rst,stall);


    `include "parameters.vh"
    
    assign pc4=pc+4;

    always @(posedge clk, negedge rst) begin
        if(!rst) begin
            pc<=0;
        end
        else begin
            if(stall)begin
                pc<=pc;
            end else if(jump) begin
                case (jumpSel)
                    PJumpPc4: pc<=pc4;
                    PJumpImm: pc<=PCImm;
                    PJumpAlu: pc<=AluOut;
                    default: pc<=pc4;
                endcase
            end
            else begin
                pc<=pc4;
            end
            
        end
    end
endmodule