data/full_repos/permissive/476411617/PSC_Tile_Array.v
1: b"%Error: data/full_repos/permissive/476411617/PSC_Tile_Array.v:67: Cannot find file containing module: 'PSC_Block_Array'\n        PSC_Block_Array # (MAX_WORD_LENGTH, TILE_DIM, Slice_Size, PE) ps_convert_tile\n        ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/476411617,data/full_repos/permissive/476411617/PSC_Block_Array\n             data/full_repos/permissive/476411617,data/full_repos/permissive/476411617/PSC_Block_Array.v\n             data/full_repos/permissive/476411617,data/full_repos/permissive/476411617/PSC_Block_Array.sv\n             PSC_Block_Array\n             PSC_Block_Array.v\n             PSC_Block_Array.sv\n             obj_dir/PSC_Block_Array\n             obj_dir/PSC_Block_Array.v\n             obj_dir/PSC_Block_Array.sv\n%Error: Exiting due to 1 error(s)\n"
module PSC_Tile_Array
    #(parameter MAX_WORD_LENGTH = 16, parameter[7:0] ARRAY_DIM = 8'h02, parameter[7:0] TILE_DIM = 8'h02, parameter Slice_Size = 4, parameter PE = 2)(
        input clk, 
        input reset, 
        input [1:0] mode,
        input start,
        output finish,
        input [(Slice_Size*PE*2)*ARRAY_DIM*TILE_DIM-1:0] serial_data_in,
        input [PE*MAX_WORD_LENGTH*ARRAY_DIM*TILE_DIM-1:0] parallel_data_in,
  
        output[(Slice_Size*PE*2)*ARRAY_DIM*TILE_DIM-1:0] serial_data_out,
        output[PE*MAX_WORD_LENGTH*ARRAY_DIM*TILE_DIM-1:0] parallel_data_out
    );
    

genvar gi;

generate
    for (gi=0; gi<ARRAY_DIM; gi=gi+1) begin : psc_tile
        PSC_Block_Array # (MAX_WORD_LENGTH, TILE_DIM, Slice_Size, PE) ps_convert_tile
        (
            clk,  
            reset, 
            mode,
            start,
            finish,
            serial_data_in[(Slice_Size*PE*2)*TILE_DIM*gi+:(Slice_Size*PE*2)*TILE_DIM],
            parallel_data_in[PE*MAX_WORD_LENGTH*TILE_DIM*gi+:PE*MAX_WORD_LENGTH*TILE_DIM],
            serial_data_out[(Slice_Size*PE*2)*TILE_DIM*gi+:(Slice_Size*PE*2)*TILE_DIM],
            parallel_data_out[PE*MAX_WORD_LENGTH*TILE_DIM*gi+:PE*MAX_WORD_LENGTH*TILE_DIM]
        );
    end
endgenerate
endmodule
module PSC_Tile_Array
    #(parameter MAX_WORD_LENGTH = 16, parameter[7:0] ARRAY_DIM = 8'h02, parameter[7:0] TILE_DIM = 8'h02, parameter Slice_Size = 4, parameter PE = 2)(
        input clk, 
        input reset, 
        input [1:0] mode,
        input start,
        output finish,
        input [(Slice_Size*PE*2)*ARRAY_DIM*TILE_DIM-1:0] serial_data_in,
        input [PE*MAX_WORD_LENGTH*ARRAY_DIM*TILE_DIM-1:0] parallel_data_in,
  
        output[(Slice_Size*PE*2)*ARRAY_DIM*TILE_DIM-1:0] serial_data_out,
        output[PE*MAX_WORD_LENGTH*ARRAY_DIM*TILE_DIM-1:0] parallel_data_out
    );

    

genvar gi;

generate
    for (gi=0; gi<ARRAY_DIM; gi=gi+1) begin : psc_tile
        PSC_Block_Array # (MAX_WORD_LENGTH, TILE_DIM, Slice_Size, PE) ps_convert_tile
        (
            clk,  
            reset, 
            mode,
            start,
            finish,
            serial_data_in[(Slice_Size*PE*2)*TILE_DIM*gi+:(Slice_Size*PE*2)*TILE_DIM],
            parallel_data_in[PE*MAX_WORD_LENGTH*TILE_DIM*gi+:PE*MAX_WORD_LENGTH*TILE_DIM],
            serial_data_out[(Slice_Size*PE*2)*TILE_DIM*gi+:(Slice_Size*PE*2)*TILE_DIM],
            parallel_data_out[PE*MAX_WORD_LENGTH*TILE_DIM*gi+:PE*MAX_WORD_LENGTH*TILE_DIM]
        );
    end
endgenerate
endmodule