data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl/mat_cl_system.v
None: at end of input
1: b"%Error: data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl/mat_cl_system.v:653: Cannot find file containing module: 'kernel_mul_function_wrapper'\n   kernel_mul_function_wrapper kernel\n   ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl,data/full_repos/permissive/205229557/kernel_mul_function_wrapper\n             data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl,data/full_repos/permissive/205229557/kernel_mul_function_wrapper.v\n             data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl,data/full_repos/permissive/205229557/kernel_mul_function_wrapper.sv\n             kernel_mul_function_wrapper\n             kernel_mul_function_wrapper.v\n             kernel_mul_function_wrapper.sv\n             obj_dir/kernel_mul_function_wrapper\n             obj_dir/kernel_mul_function_wrapper.v\n             obj_dir/kernel_mul_function_wrapper.sv\n%Error: data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl/mat_cl_system.v:454: Cannot find file containing module: 'kernel_add_function_wrapper'\n   kernel_add_function_wrapper kernel\n   ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205229557/new/lab5/mat_CL_opt_vect/aocl_mat/device/mat_cl/mat_cl_system.v:270: Cannot find file containing module: 'lsu_ic_top'\n   lsu_ic_top\n   ^~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module mat_cl_system
(
   input logic clock,
   input logic clock2x,
   input logic resetn,

   input logic avs_kernel_add_cra_enable,
   input logic avs_kernel_add_cra_read,
   input logic avs_kernel_add_cra_write,
   input logic [3:0] avs_kernel_add_cra_address,
   input logic [63:0] avs_kernel_add_cra_writedata,
   input logic [7:0] avs_kernel_add_cra_byteenable,
   output logic [63:0] avs_kernel_add_cra_readdata,
   output logic avs_kernel_add_cra_readdatavalid,

   input logic avs_kernel_mul_cra_enable,
   input logic avs_kernel_mul_cra_read,
   input logic avs_kernel_mul_cra_write,
   input logic [3:0] avs_kernel_mul_cra_address,
   input logic [63:0] avs_kernel_mul_cra_writedata,
   input logic [7:0] avs_kernel_mul_cra_byteenable,
   output logic [63:0] avs_kernel_mul_cra_readdata,
   output logic avs_kernel_mul_cra_readdatavalid,
   output logic kernel_irq,

   output logic avm_memgmem0_port_0_0_rw_enable,
   output logic avm_memgmem0_port_0_0_rw_read,
   output logic avm_memgmem0_port_0_0_rw_write,
   output logic [4:0] avm_memgmem0_port_0_0_rw_burstcount,
   output logic [29:0] avm_memgmem0_port_0_0_rw_address,
   output logic [255:0] avm_memgmem0_port_0_0_rw_writedata,
   output logic [31:0] avm_memgmem0_port_0_0_rw_byteenable,
   input logic avm_memgmem0_port_0_0_rw_waitrequest,
   input logic [255:0] avm_memgmem0_port_0_0_rw_readdata,
   input logic avm_memgmem0_port_0_0_rw_readdatavalid,
   input logic avm_memgmem0_port_0_0_rw_writeack
);
   logic [1:0] kernel_irqs;
   logic avm_kernel_rd_enable [9];
   logic avm_kernel_rd_read [9];
   logic avm_kernel_rd_write [9];
   logic [4:0] avm_kernel_rd_burstcount [9];
   logic [29:0] avm_kernel_rd_address [9];
   logic [255:0] avm_kernel_rd_writedata [9];
   logic [31:0] avm_kernel_rd_byteenable [9];
   logic avm_kernel_rd_waitrequest [9];
   logic [255:0] avm_kernel_rd_readdata [9];
   logic avm_kernel_rd_readdatavalid [9];
   logic avm_kernel_rd_writeack [9];
   logic avm_kernel_wr_enable [4];
   logic avm_kernel_wr_read [4];
   logic avm_kernel_wr_write [4];
   logic [4:0] avm_kernel_wr_burstcount [4];
   logic [29:0] avm_kernel_wr_address [4];
   logic [255:0] avm_kernel_wr_writedata [4];
   logic [31:0] avm_kernel_wr_byteenable [4];
   logic avm_kernel_wr_waitrequest [4];
   logic [255:0] avm_kernel_wr_readdata [4];
   logic avm_kernel_wr_readdatavalid [4];
   logic avm_kernel_wr_writeack [4];
   logic ic_avm_enable [1];
   logic ic_avm_read [1];
   logic ic_avm_write [1];
   logic [4:0] ic_avm_burstcount [1];
   logic [29:0] ic_avm_address [1];
   logic [255:0] ic_avm_writedata [1];
   logic [31:0] ic_avm_byteenable [1];
   logic ic_avm_waitrequest [1];
   logic [255:0] ic_avm_readdata [1];
   logic ic_avm_readdatavalid [1];
   logic ic_avm_writeack [1];


   kernel_add_top_wrapper kernel_add
   (
      .clock(clock),
      .resetn(resetn),
      .clock2x(clock2x),
      .cra_irq(kernel_irqs[0]),

      .avs_cra_enable(avs_kernel_add_cra_enable),
      .avs_cra_read(avs_kernel_add_cra_read),
      .avs_cra_write(avs_kernel_add_cra_write),
      .avs_cra_address(avs_kernel_add_cra_address),
      .avs_cra_writedata(avs_kernel_add_cra_writedata),
      .avs_cra_byteenable(avs_kernel_add_cra_byteenable),
      .avs_cra_readdata(avs_kernel_add_cra_readdata),
      .avs_cra_readdatavalid(avs_kernel_add_cra_readdatavalid),

      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_enable(avm_kernel_rd_enable[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_read(avm_kernel_rd_read[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_write(avm_kernel_rd_write[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_burstcount(avm_kernel_rd_burstcount[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_address(avm_kernel_rd_address[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_writedata(avm_kernel_rd_writedata[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_byteenable(avm_kernel_rd_byteenable[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_readdata(avm_kernel_rd_readdata[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_writeack(avm_kernel_rd_writeack[0]),

      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_enable(avm_kernel_rd_enable[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_read(avm_kernel_rd_read[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_write(avm_kernel_rd_write[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_burstcount(avm_kernel_rd_burstcount[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_address(avm_kernel_rd_address[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_writedata(avm_kernel_rd_writedata[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_byteenable(avm_kernel_rd_byteenable[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_waitrequest(avm_kernel_rd_waitrequest[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_readdata(avm_kernel_rd_readdata[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_readdatavalid(avm_kernel_rd_readdatavalid[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_writeack(avm_kernel_rd_writeack[1]),

      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_enable(avm_kernel_rd_enable[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_read(avm_kernel_rd_read[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_write(avm_kernel_rd_write[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_burstcount(avm_kernel_rd_burstcount[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_address(avm_kernel_rd_address[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_writedata(avm_kernel_rd_writedata[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_byteenable(avm_kernel_rd_byteenable[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_waitrequest(avm_kernel_rd_waitrequest[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_readdata(avm_kernel_rd_readdata[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_readdatavalid(avm_kernel_rd_readdatavalid[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_writeack(avm_kernel_rd_writeack[2]),

      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_enable(avm_kernel_rd_enable[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_read(avm_kernel_rd_read[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_write(avm_kernel_rd_write[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_burstcount(avm_kernel_rd_burstcount[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_address(avm_kernel_rd_address[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_writedata(avm_kernel_rd_writedata[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_byteenable(avm_kernel_rd_byteenable[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_readdata(avm_kernel_rd_readdata[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_writeack(avm_kernel_rd_writeack[3]),

      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_enable(avm_kernel_rd_enable[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_read(avm_kernel_rd_read[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_write(avm_kernel_rd_write[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_burstcount(avm_kernel_rd_burstcount[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_address(avm_kernel_rd_address[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_writedata(avm_kernel_rd_writedata[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_byteenable(avm_kernel_rd_byteenable[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_waitrequest(avm_kernel_rd_waitrequest[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_readdata(avm_kernel_rd_readdata[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_readdatavalid(avm_kernel_rd_readdatavalid[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_writeack(avm_kernel_rd_writeack[4]),

      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_enable(avm_kernel_rd_enable[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_read(avm_kernel_rd_read[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_write(avm_kernel_rd_write[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_burstcount(avm_kernel_rd_burstcount[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_address(avm_kernel_rd_address[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_writedata(avm_kernel_rd_writedata[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_byteenable(avm_kernel_rd_byteenable[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_waitrequest(avm_kernel_rd_waitrequest[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_readdata(avm_kernel_rd_readdata[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_readdatavalid(avm_kernel_rd_readdatavalid[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_writeack(avm_kernel_rd_writeack[5]),

      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_enable(avm_kernel_wr_enable[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_read(avm_kernel_wr_read[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_write(avm_kernel_wr_write[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_burstcount(avm_kernel_wr_burstcount[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_address(avm_kernel_wr_address[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_writedata(avm_kernel_wr_writedata[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_byteenable(avm_kernel_wr_byteenable[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_waitrequest(avm_kernel_wr_waitrequest[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_readdata(avm_kernel_wr_readdata[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_readdatavalid(avm_kernel_wr_readdatavalid[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_writeack(avm_kernel_wr_writeack[0]),

      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_enable(avm_kernel_wr_enable[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_read(avm_kernel_wr_read[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_write(avm_kernel_wr_write[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_burstcount(avm_kernel_wr_burstcount[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_address(avm_kernel_wr_address[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_writedata(avm_kernel_wr_writedata[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_byteenable(avm_kernel_wr_byteenable[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_waitrequest(avm_kernel_wr_waitrequest[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_readdata(avm_kernel_wr_readdata[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_readdatavalid(avm_kernel_wr_readdatavalid[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_writeack(avm_kernel_wr_writeack[1]),

      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_enable(avm_kernel_wr_enable[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_read(avm_kernel_wr_read[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_write(avm_kernel_wr_write[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_burstcount(avm_kernel_wr_burstcount[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_address(avm_kernel_wr_address[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_writedata(avm_kernel_wr_writedata[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_byteenable(avm_kernel_wr_byteenable[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_waitrequest(avm_kernel_wr_waitrequest[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_readdata(avm_kernel_wr_readdata[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_readdatavalid(avm_kernel_wr_readdatavalid[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_writeack(avm_kernel_wr_writeack[2])
   );


   kernel_mul_top_wrapper kernel_mul
   (
      .clock(clock),
      .resetn(resetn),
      .clock2x(clock2x),
      .cra_irq(kernel_irqs[1]),

      .avs_cra_enable(avs_kernel_mul_cra_enable),
      .avs_cra_read(avs_kernel_mul_cra_read),
      .avs_cra_write(avs_kernel_mul_cra_write),
      .avs_cra_address(avs_kernel_mul_cra_address),
      .avs_cra_writedata(avs_kernel_mul_cra_writedata),
      .avs_cra_byteenable(avs_kernel_mul_cra_byteenable),
      .avs_cra_readdata(avs_kernel_mul_cra_readdata),
      .avs_cra_readdatavalid(avs_kernel_mul_cra_readdatavalid),

      .avm_local_bb1_ld__inst0_enable(avm_kernel_rd_enable[6]),
      .avm_local_bb1_ld__inst0_read(avm_kernel_rd_read[6]),
      .avm_local_bb1_ld__inst0_write(avm_kernel_rd_write[6]),
      .avm_local_bb1_ld__inst0_burstcount(avm_kernel_rd_burstcount[6]),
      .avm_local_bb1_ld__inst0_address(avm_kernel_rd_address[6]),
      .avm_local_bb1_ld__inst0_writedata(avm_kernel_rd_writedata[6]),
      .avm_local_bb1_ld__inst0_byteenable(avm_kernel_rd_byteenable[6]),
      .avm_local_bb1_ld__inst0_waitrequest(avm_kernel_rd_waitrequest[6]),
      .avm_local_bb1_ld__inst0_readdata(avm_kernel_rd_readdata[6]),
      .avm_local_bb1_ld__inst0_readdatavalid(avm_kernel_rd_readdatavalid[6]),
      .avm_local_bb1_ld__inst0_writeack(avm_kernel_rd_writeack[6]),

      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_enable(avm_kernel_rd_enable[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_read(avm_kernel_rd_read[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_write(avm_kernel_rd_write[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_burstcount(avm_kernel_rd_burstcount[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_address(avm_kernel_rd_address[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_writedata(avm_kernel_rd_writedata[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_byteenable(avm_kernel_rd_byteenable[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_readdata(avm_kernel_rd_readdata[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_writeack(avm_kernel_rd_writeack[7]),

      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_enable(avm_kernel_rd_enable[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_read(avm_kernel_rd_read[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_write(avm_kernel_rd_write[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_burstcount(avm_kernel_rd_burstcount[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_address(avm_kernel_rd_address[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_writedata(avm_kernel_rd_writedata[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_byteenable(avm_kernel_rd_byteenable[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_readdata(avm_kernel_rd_readdata[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_writeack(avm_kernel_rd_writeack[8]),

      .avm_local_bb3_st__37_inst0_enable(avm_kernel_wr_enable[3]),
      .avm_local_bb3_st__37_inst0_read(avm_kernel_wr_read[3]),
      .avm_local_bb3_st__37_inst0_write(avm_kernel_wr_write[3]),
      .avm_local_bb3_st__37_inst0_burstcount(avm_kernel_wr_burstcount[3]),
      .avm_local_bb3_st__37_inst0_address(avm_kernel_wr_address[3]),
      .avm_local_bb3_st__37_inst0_writedata(avm_kernel_wr_writedata[3]),
      .avm_local_bb3_st__37_inst0_byteenable(avm_kernel_wr_byteenable[3]),
      .avm_local_bb3_st__37_inst0_waitrequest(avm_kernel_wr_waitrequest[3]),
      .avm_local_bb3_st__37_inst0_readdata(avm_kernel_wr_readdata[3]),
      .avm_local_bb3_st__37_inst0_readdatavalid(avm_kernel_wr_readdatavalid[3]),
      .avm_local_bb3_st__37_inst0_writeack(avm_kernel_wr_writeack[3])
   );

   assign kernel_irq = |kernel_irqs;

   lsu_ic_top
   #(
      .AWIDTH(30),
      .SHIFT(30),
      .MWIDTH_BYTES(32),
      .BURST_CNT_W(5),
      .NUM_RD_PORT(9),
      .NUM_WR_PORT(4),
      .NUM_DIMM(1),
      .ENABLE_DUAL_RING(0),
      .ENABLE_MULTIPLE_WR_RING(0),
      .ENABLE_LAST_WAIT(0),
      .ENABLE_REORDER(0),
      .NUM_REORDER(1)
   )
   lsu_ic_top
   (
      .clk(clock),
      .resetn(resetn),
      .i_rd_request(avm_kernel_rd_read),
      .i_rd_address(avm_kernel_rd_address),
      .i_rd_burstcount(avm_kernel_rd_burstcount),
      .i_wr_byteenable(avm_kernel_wr_byteenable),
      .i_wr_address(avm_kernel_wr_address),
      .i_wr_request(avm_kernel_wr_write),
      .i_wr_burstcount(avm_kernel_wr_burstcount),
      .i_wr_writedata(avm_kernel_wr_writedata),
      .i_avm_waitrequest(ic_avm_waitrequest),
      .i_avm_readdata(ic_avm_readdata),
      .i_avm_readdatavalid(ic_avm_readdatavalid),
      .o_avm_byteenable(ic_avm_byteenable),
      .o_avm_address(ic_avm_address),
      .o_avm_read(ic_avm_read),
      .o_avm_write(ic_avm_write),
      .o_avm_burstcount(ic_avm_burstcount),
      .o_wr_waitrequest(avm_kernel_wr_waitrequest),
      .o_avm_writedata(ic_avm_writedata),
      .o_avm_writeack(avm_kernel_wr_writeack),
      .o_rd_waitrequest(avm_kernel_rd_waitrequest),
      .o_avm_readdata(avm_kernel_rd_readdata),
      .o_avm_readdatavalid(avm_kernel_rd_readdatavalid)
   );

   assign avm_memgmem0_port_0_0_rw_read = ic_avm_read[0];
   assign avm_memgmem0_port_0_0_rw_write = ic_avm_write[0];
   assign avm_memgmem0_port_0_0_rw_burstcount = ic_avm_burstcount[0];
   assign avm_memgmem0_port_0_0_rw_address = ic_avm_address[0];
   assign avm_memgmem0_port_0_0_rw_writedata = ic_avm_writedata[0];
   assign avm_memgmem0_port_0_0_rw_byteenable = ic_avm_byteenable[0];
   assign ic_avm_waitrequest[0] = avm_memgmem0_port_0_0_rw_waitrequest;
   assign ic_avm_readdata[0] = avm_memgmem0_port_0_0_rw_readdata;
   assign ic_avm_readdatavalid[0] = avm_memgmem0_port_0_0_rw_readdatavalid;
endmodule
module mat_cl_system
(
   input logic clock,
   input logic clock2x,
   input logic resetn,

   input logic avs_kernel_add_cra_enable,
   input logic avs_kernel_add_cra_read,
   input logic avs_kernel_add_cra_write,
   input logic [3:0] avs_kernel_add_cra_address,
   input logic [63:0] avs_kernel_add_cra_writedata,
   input logic [7:0] avs_kernel_add_cra_byteenable,
   output logic [63:0] avs_kernel_add_cra_readdata,
   output logic avs_kernel_add_cra_readdatavalid,

   input logic avs_kernel_mul_cra_enable,
   input logic avs_kernel_mul_cra_read,
   input logic avs_kernel_mul_cra_write,
   input logic [3:0] avs_kernel_mul_cra_address,
   input logic [63:0] avs_kernel_mul_cra_writedata,
   input logic [7:0] avs_kernel_mul_cra_byteenable,
   output logic [63:0] avs_kernel_mul_cra_readdata,
   output logic avs_kernel_mul_cra_readdatavalid,
   output logic kernel_irq,

   output logic avm_memgmem0_port_0_0_rw_enable,
   output logic avm_memgmem0_port_0_0_rw_read,
   output logic avm_memgmem0_port_0_0_rw_write,
   output logic [4:0] avm_memgmem0_port_0_0_rw_burstcount,
   output logic [29:0] avm_memgmem0_port_0_0_rw_address,
   output logic [255:0] avm_memgmem0_port_0_0_rw_writedata,
   output logic [31:0] avm_memgmem0_port_0_0_rw_byteenable,
   input logic avm_memgmem0_port_0_0_rw_waitrequest,
   input logic [255:0] avm_memgmem0_port_0_0_rw_readdata,
   input logic avm_memgmem0_port_0_0_rw_readdatavalid,
   input logic avm_memgmem0_port_0_0_rw_writeack
);

   logic [1:0] kernel_irqs;
   logic avm_kernel_rd_enable [9];
   logic avm_kernel_rd_read [9];
   logic avm_kernel_rd_write [9];
   logic [4:0] avm_kernel_rd_burstcount [9];
   logic [29:0] avm_kernel_rd_address [9];
   logic [255:0] avm_kernel_rd_writedata [9];
   logic [31:0] avm_kernel_rd_byteenable [9];
   logic avm_kernel_rd_waitrequest [9];
   logic [255:0] avm_kernel_rd_readdata [9];
   logic avm_kernel_rd_readdatavalid [9];
   logic avm_kernel_rd_writeack [9];
   logic avm_kernel_wr_enable [4];
   logic avm_kernel_wr_read [4];
   logic avm_kernel_wr_write [4];
   logic [4:0] avm_kernel_wr_burstcount [4];
   logic [29:0] avm_kernel_wr_address [4];
   logic [255:0] avm_kernel_wr_writedata [4];
   logic [31:0] avm_kernel_wr_byteenable [4];
   logic avm_kernel_wr_waitrequest [4];
   logic [255:0] avm_kernel_wr_readdata [4];
   logic avm_kernel_wr_readdatavalid [4];
   logic avm_kernel_wr_writeack [4];
   logic ic_avm_enable [1];
   logic ic_avm_read [1];
   logic ic_avm_write [1];
   logic [4:0] ic_avm_burstcount [1];
   logic [29:0] ic_avm_address [1];
   logic [255:0] ic_avm_writedata [1];
   logic [31:0] ic_avm_byteenable [1];
   logic ic_avm_waitrequest [1];
   logic [255:0] ic_avm_readdata [1];
   logic ic_avm_readdatavalid [1];
   logic ic_avm_writeack [1];


   kernel_add_top_wrapper kernel_add
   (
      .clock(clock),
      .resetn(resetn),
      .clock2x(clock2x),
      .cra_irq(kernel_irqs[0]),

      .avs_cra_enable(avs_kernel_add_cra_enable),
      .avs_cra_read(avs_kernel_add_cra_read),
      .avs_cra_write(avs_kernel_add_cra_write),
      .avs_cra_address(avs_kernel_add_cra_address),
      .avs_cra_writedata(avs_kernel_add_cra_writedata),
      .avs_cra_byteenable(avs_kernel_add_cra_byteenable),
      .avs_cra_readdata(avs_kernel_add_cra_readdata),
      .avs_cra_readdatavalid(avs_kernel_add_cra_readdatavalid),

      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_enable(avm_kernel_rd_enable[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_read(avm_kernel_rd_read[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_write(avm_kernel_rd_write[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_burstcount(avm_kernel_rd_burstcount[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_address(avm_kernel_rd_address[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_writedata(avm_kernel_rd_writedata[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_byteenable(avm_kernel_rd_byteenable[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_readdata(avm_kernel_rd_readdata[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[0]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst0_writeack(avm_kernel_rd_writeack[0]),

      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_enable(avm_kernel_rd_enable[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_read(avm_kernel_rd_read[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_write(avm_kernel_rd_write[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_burstcount(avm_kernel_rd_burstcount[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_address(avm_kernel_rd_address[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_writedata(avm_kernel_rd_writedata[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_byteenable(avm_kernel_rd_byteenable[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_waitrequest(avm_kernel_rd_waitrequest[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_readdata(avm_kernel_rd_readdata[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_readdatavalid(avm_kernel_rd_readdatavalid[1]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst1_writeack(avm_kernel_rd_writeack[1]),

      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_enable(avm_kernel_rd_enable[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_read(avm_kernel_rd_read[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_write(avm_kernel_rd_write[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_burstcount(avm_kernel_rd_burstcount[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_address(avm_kernel_rd_address[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_writedata(avm_kernel_rd_writedata[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_byteenable(avm_kernel_rd_byteenable[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_waitrequest(avm_kernel_rd_waitrequest[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_readdata(avm_kernel_rd_readdata[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_readdatavalid(avm_kernel_rd_readdatavalid[2]),
      .avm_local_bb0_ld_memcoalesce__m1_load_0_inst2_writeack(avm_kernel_rd_writeack[2]),

      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_enable(avm_kernel_rd_enable[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_read(avm_kernel_rd_read[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_write(avm_kernel_rd_write[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_burstcount(avm_kernel_rd_burstcount[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_address(avm_kernel_rd_address[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_writedata(avm_kernel_rd_writedata[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_byteenable(avm_kernel_rd_byteenable[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_readdata(avm_kernel_rd_readdata[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[3]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst0_writeack(avm_kernel_rd_writeack[3]),

      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_enable(avm_kernel_rd_enable[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_read(avm_kernel_rd_read[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_write(avm_kernel_rd_write[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_burstcount(avm_kernel_rd_burstcount[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_address(avm_kernel_rd_address[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_writedata(avm_kernel_rd_writedata[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_byteenable(avm_kernel_rd_byteenable[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_waitrequest(avm_kernel_rd_waitrequest[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_readdata(avm_kernel_rd_readdata[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_readdatavalid(avm_kernel_rd_readdatavalid[4]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst1_writeack(avm_kernel_rd_writeack[4]),

      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_enable(avm_kernel_rd_enable[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_read(avm_kernel_rd_read[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_write(avm_kernel_rd_write[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_burstcount(avm_kernel_rd_burstcount[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_address(avm_kernel_rd_address[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_writedata(avm_kernel_rd_writedata[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_byteenable(avm_kernel_rd_byteenable[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_waitrequest(avm_kernel_rd_waitrequest[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_readdata(avm_kernel_rd_readdata[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_readdatavalid(avm_kernel_rd_readdatavalid[5]),
      .avm_local_bb0_ld_memcoalesce__m2_load_0_inst2_writeack(avm_kernel_rd_writeack[5]),

      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_enable(avm_kernel_wr_enable[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_read(avm_kernel_wr_read[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_write(avm_kernel_wr_write[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_burstcount(avm_kernel_wr_burstcount[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_address(avm_kernel_wr_address[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_writedata(avm_kernel_wr_writedata[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_byteenable(avm_kernel_wr_byteenable[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_waitrequest(avm_kernel_wr_waitrequest[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_readdata(avm_kernel_wr_readdata[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_readdatavalid(avm_kernel_wr_readdatavalid[0]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst0_writeack(avm_kernel_wr_writeack[0]),

      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_enable(avm_kernel_wr_enable[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_read(avm_kernel_wr_read[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_write(avm_kernel_wr_write[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_burstcount(avm_kernel_wr_burstcount[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_address(avm_kernel_wr_address[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_writedata(avm_kernel_wr_writedata[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_byteenable(avm_kernel_wr_byteenable[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_waitrequest(avm_kernel_wr_waitrequest[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_readdata(avm_kernel_wr_readdata[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_readdatavalid(avm_kernel_wr_readdatavalid[1]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst1_writeack(avm_kernel_wr_writeack[1]),

      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_enable(avm_kernel_wr_enable[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_read(avm_kernel_wr_read[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_write(avm_kernel_wr_write[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_burstcount(avm_kernel_wr_burstcount[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_address(avm_kernel_wr_address[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_writedata(avm_kernel_wr_writedata[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_byteenable(avm_kernel_wr_byteenable[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_waitrequest(avm_kernel_wr_waitrequest[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_readdata(avm_kernel_wr_readdata[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_readdatavalid(avm_kernel_wr_readdatavalid[2]),
      .avm_local_bb0_st_memcoalesce__add_insertValue_0_inst2_writeack(avm_kernel_wr_writeack[2])
   );


   kernel_mul_top_wrapper kernel_mul
   (
      .clock(clock),
      .resetn(resetn),
      .clock2x(clock2x),
      .cra_irq(kernel_irqs[1]),

      .avs_cra_enable(avs_kernel_mul_cra_enable),
      .avs_cra_read(avs_kernel_mul_cra_read),
      .avs_cra_write(avs_kernel_mul_cra_write),
      .avs_cra_address(avs_kernel_mul_cra_address),
      .avs_cra_writedata(avs_kernel_mul_cra_writedata),
      .avs_cra_byteenable(avs_kernel_mul_cra_byteenable),
      .avs_cra_readdata(avs_kernel_mul_cra_readdata),
      .avs_cra_readdatavalid(avs_kernel_mul_cra_readdatavalid),

      .avm_local_bb1_ld__inst0_enable(avm_kernel_rd_enable[6]),
      .avm_local_bb1_ld__inst0_read(avm_kernel_rd_read[6]),
      .avm_local_bb1_ld__inst0_write(avm_kernel_rd_write[6]),
      .avm_local_bb1_ld__inst0_burstcount(avm_kernel_rd_burstcount[6]),
      .avm_local_bb1_ld__inst0_address(avm_kernel_rd_address[6]),
      .avm_local_bb1_ld__inst0_writedata(avm_kernel_rd_writedata[6]),
      .avm_local_bb1_ld__inst0_byteenable(avm_kernel_rd_byteenable[6]),
      .avm_local_bb1_ld__inst0_waitrequest(avm_kernel_rd_waitrequest[6]),
      .avm_local_bb1_ld__inst0_readdata(avm_kernel_rd_readdata[6]),
      .avm_local_bb1_ld__inst0_readdatavalid(avm_kernel_rd_readdatavalid[6]),
      .avm_local_bb1_ld__inst0_writeack(avm_kernel_rd_writeack[6]),

      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_enable(avm_kernel_rd_enable[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_read(avm_kernel_rd_read[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_write(avm_kernel_rd_write[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_burstcount(avm_kernel_rd_burstcount[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_address(avm_kernel_rd_address[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_writedata(avm_kernel_rd_writedata[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_byteenable(avm_kernel_rd_byteenable[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_readdata(avm_kernel_rd_readdata[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[7]),
      .avm_local_bb2_ld_memcoalesce__add_load_0_inst0_writeack(avm_kernel_rd_writeack[7]),

      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_enable(avm_kernel_rd_enable[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_read(avm_kernel_rd_read[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_write(avm_kernel_rd_write[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_burstcount(avm_kernel_rd_burstcount[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_address(avm_kernel_rd_address[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_writedata(avm_kernel_rd_writedata[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_byteenable(avm_kernel_rd_byteenable[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_waitrequest(avm_kernel_rd_waitrequest[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_readdata(avm_kernel_rd_readdata[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_readdatavalid(avm_kernel_rd_readdatavalid[8]),
      .avm_local_bb2_ld_memcoalesce__v_load_0_inst0_writeack(avm_kernel_rd_writeack[8]),

      .avm_local_bb3_st__37_inst0_enable(avm_kernel_wr_enable[3]),
      .avm_local_bb3_st__37_inst0_read(avm_kernel_wr_read[3]),
      .avm_local_bb3_st__37_inst0_write(avm_kernel_wr_write[3]),
      .avm_local_bb3_st__37_inst0_burstcount(avm_kernel_wr_burstcount[3]),
      .avm_local_bb3_st__37_inst0_address(avm_kernel_wr_address[3]),
      .avm_local_bb3_st__37_inst0_writedata(avm_kernel_wr_writedata[3]),
      .avm_local_bb3_st__37_inst0_byteenable(avm_kernel_wr_byteenable[3]),
      .avm_local_bb3_st__37_inst0_waitrequest(avm_kernel_wr_waitrequest[3]),
      .avm_local_bb3_st__37_inst0_readdata(avm_kernel_wr_readdata[3]),
      .avm_local_bb3_st__37_inst0_readdatavalid(avm_kernel_wr_readdatavalid[3]),
      .avm_local_bb3_st__37_inst0_writeack(avm_kernel_wr_writeack[3])
   );

   assign kernel_irq = |kernel_irqs;

   lsu_ic_top
   #(
      .AWIDTH(30),
      .SHIFT(30),
      .MWIDTH_BYTES(32),
      .BURST_CNT_W(5),
      .NUM_RD_PORT(9),
      .NUM_WR_PORT(4),
      .NUM_DIMM(1),
      .ENABLE_DUAL_RING(0),
      .ENABLE_MULTIPLE_WR_RING(0),
      .ENABLE_LAST_WAIT(0),
      .ENABLE_REORDER(0),
      .NUM_REORDER(1)
   )
   lsu_ic_top
   (
      .clk(clock),
      .resetn(resetn),
      .i_rd_request(avm_kernel_rd_read),
      .i_rd_address(avm_kernel_rd_address),
      .i_rd_burstcount(avm_kernel_rd_burstcount),
      .i_wr_byteenable(avm_kernel_wr_byteenable),
      .i_wr_address(avm_kernel_wr_address),
      .i_wr_request(avm_kernel_wr_write),
      .i_wr_burstcount(avm_kernel_wr_burstcount),
      .i_wr_writedata(avm_kernel_wr_writedata),
      .i_avm_waitrequest(ic_avm_waitrequest),
      .i_avm_readdata(ic_avm_readdata),
      .i_avm_readdatavalid(ic_avm_readdatavalid),
      .o_avm_byteenable(ic_avm_byteenable),
      .o_avm_address(ic_avm_address),
      .o_avm_read(ic_avm_read),
      .o_avm_write(ic_avm_write),
      .o_avm_burstcount(ic_avm_burstcount),
      .o_wr_waitrequest(avm_kernel_wr_waitrequest),
      .o_avm_writedata(ic_avm_writedata),
      .o_avm_writeack(avm_kernel_wr_writeack),
      .o_rd_waitrequest(avm_kernel_rd_waitrequest),
      .o_avm_readdata(avm_kernel_rd_readdata),
      .o_avm_readdatavalid(avm_kernel_rd_readdatavalid)
   );

   assign avm_memgmem0_port_0_0_rw_read = ic_avm_read[0];
   assign avm_memgmem0_port_0_0_rw_write = ic_avm_write[0];
   assign avm_memgmem0_port_0_0_rw_burstcount = ic_avm_burstcount[0];
   assign avm_memgmem0_port_0_0_rw_address = ic_avm_address[0];
   assign avm_memgmem0_port_0_0_rw_writedata = ic_avm_writedata[0];
   assign avm_memgmem0_port_0_0_rw_byteenable = ic_avm_byteenable[0];
   assign ic_avm_waitrequest[0] = avm_memgmem0_port_0_0_rw_waitrequest;
   assign ic_avm_readdata[0] = avm_memgmem0_port_0_0_rw_readdata;
   assign ic_avm_readdatavalid[0] = avm_memgmem0_port_0_0_rw_readdatavalid;
endmodule