data/full_repos/permissive/208519918/Cache Processor/cache.v
1: b'%Error: Cannot find file containing module: Processor,data/full_repos/permissive/208519918\n        ... Looked in:\n             data/full_repos/permissive/208519918/Cache/Processor,data/full_repos/permissive/208519918\n             data/full_repos/permissive/208519918/Cache/Processor,data/full_repos/permissive/208519918.v\n             data/full_repos/permissive/208519918/Cache/Processor,data/full_repos/permissive/208519918.sv\n             Processor,data/full_repos/permissive/208519918\n             Processor,data/full_repos/permissive/208519918.v\n             Processor,data/full_repos/permissive/208519918.sv\n             obj_dir/Processor,data/full_repos/permissive/208519918\n             obj_dir/Processor,data/full_repos/permissive/208519918.v\n             obj_dir/Processor,data/full_repos/permissive/208519918.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/208519918/Cache\n%Error: Cannot find file containing module: Processor/cache.v\n%Error: Exiting due to 3 error(s)\n'
module cache();

parameter numBlocks = 256;
parameter blocksPerSet = 16;
parameter numSets = 16;
parameter bitsPerBlock = 64;

parameter lenAddress = 24;
parameter lenOffset = 3;
parameter lenIndex = 4;
parameter lenTag = lenAddress - lenOffset - lenIndex;

reg [bitsPerBlock-1:0] cache [numSets-1:0][blocksPerSet-1:0];
reg [lenTag-1:0] tag_array [numSets-1:0][blocksPerSet-1:0];
reg valid_array [numSets-1:0][blocksPerSet-1:0];
reg [3:0] count_array [numSets-1:0];
reg [31:0] age_array [numSets-1:0][blocksPerSet-1:0];

initial begin: initialization
    integer i, j;
    for (i=0;i<numSets;i=i+1) begin
        for (j=0;j<blocksPerSet;j=j+1) begin
            cache[i][j] = 0;
            valid_array[i][j] = 1'b0;
            tag_array[i][j] = 17'b00000000000000000;
            age_array[i][j] = 0;
        end
        count_array[i] = 1'b0;
    end
end

endmodule
module cache();


parameter numBlocks = 256;
parameter blocksPerSet = 16;
parameter numSets = 16;
parameter bitsPerBlock = 64;

parameter lenAddress = 24;
parameter lenOffset = 3;
parameter lenIndex = 4;
parameter lenTag = lenAddress - lenOffset - lenIndex;

reg [bitsPerBlock-1:0] cache [numSets-1:0][blocksPerSet-1:0];
reg [lenTag-1:0] tag_array [numSets-1:0][blocksPerSet-1:0];
reg valid_array [numSets-1:0][blocksPerSet-1:0];
reg [3:0] count_array [numSets-1:0];
reg [31:0] age_array [numSets-1:0][blocksPerSet-1:0];

initial begin: initialization
    integer i, j;
    for (i=0;i<numSets;i=i+1) begin
        for (j=0;j<blocksPerSet;j=j+1) begin
            cache[i][j] = 0;
            valid_array[i][j] = 1'b0;
            tag_array[i][j] = 17'b00000000000000000;
            age_array[i][j] = 0;
        end
        count_array[i] = 1'b0;
    end
end

endmodule