data/full_repos/permissive/146618947/generate_tarea7/word_cluster_cond.v
1: b"%Error: data/full_repos/permissive/146618947/generate_tarea7/word_cluster_cond.v:18: Cannot find file containing module: 'word_operation_cond'\n         word_operation_cond #(\n         ^~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/146618947/generate_tarea7,data/full_repos/permissive/146618947/word_operation_cond\n             data/full_repos/permissive/146618947/generate_tarea7,data/full_repos/permissive/146618947/word_operation_cond.v\n             data/full_repos/permissive/146618947/generate_tarea7,data/full_repos/permissive/146618947/word_operation_cond.sv\n             word_operation_cond\n             word_operation_cond.v\n             word_operation_cond.sv\n             obj_dir/word_operation_cond\n             obj_dir/word_operation_cond.v\n             obj_dir/word_operation_cond.sv\n%Error: Exiting due to 1 error(s)\n"
module word_cluster_cond #(
                              parameter BUS_SIZE = 32,
                              parameter WORD_SIZE = 4,
                              parameter WORD_NUM = BUS_SIZE / WORD_SIZE
                              ) (
                                 input                 clk,
                                 input                 reset,
                                 input [BUS_SIZE-1:0]  data_in,
                                 output [BUS_SIZE-1:0] data_out,
                                 output [WORD_NUM-1:0] word_bus
                                 );


   genvar                                                  i;

   generate
      for (i=0; i < WORD_NUM; i=i+1) begin : CLUSTER
         word_operation_cond #(
                           .BUS_SIZE (BUS_SIZE),
                           .WORD_SIZE (WORD_SIZE),
                           .WORD_NUM (WORD_NUM)

                           ) cluster_unit ( .clk (clk),
                                            .reset (reset),
                                            .word_in (data_in [WORD_SIZE*(i+1) - 1 : WORD_SIZE*(i)] ),
                                            .word_control_out (word_bus [i]),
                                            .word_out (data_out [BUS_SIZE-WORD_SIZE*(i)-1:BUS_SIZE-WORD_SIZE*(i+1)])
                                           );

      end
   endgenerate
endmodule
module word_cluster_cond #(
                              parameter BUS_SIZE = 32,
                              parameter WORD_SIZE = 4,
                              parameter WORD_NUM = BUS_SIZE / WORD_SIZE
                              ) (
                                 input                 clk,
                                 input                 reset,
                                 input [BUS_SIZE-1:0]  data_in,
                                 output [BUS_SIZE-1:0] data_out,
                                 output [WORD_NUM-1:0] word_bus
                                 );



   genvar                                                  i;

   generate
      for (i=0; i < WORD_NUM; i=i+1) begin : CLUSTER
         word_operation_cond #(
                           .BUS_SIZE (BUS_SIZE),
                           .WORD_SIZE (WORD_SIZE),
                           .WORD_NUM (WORD_NUM)

                           ) cluster_unit ( .clk (clk),
                                            .reset (reset),
                                            .word_in (data_in [WORD_SIZE*(i+1) - 1 : WORD_SIZE*(i)] ),
                                            .word_control_out (word_bus [i]),
                                            .word_out (data_out [BUS_SIZE-WORD_SIZE*(i)-1:BUS_SIZE-WORD_SIZE*(i+1)])
                                           );

      end
   endgenerate
endmodule