data/full_repos/permissive/43858668/final_verilog/src/rtr_crossbar_mac.v
1: b'%Error: data/full_repos/permissive/43858668/final_verilog/src/rtr_crossbar_mac.v:35: Cannot find include file: c_constants.v\n`include "c_constants.v" \n         ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/43858668/final_verilog/src,data/full_repos/permissive/43858668/c_constants.v\n             data/full_repos/permissive/43858668/final_verilog/src,data/full_repos/permissive/43858668/c_constants.v.v\n             data/full_repos/permissive/43858668/final_verilog/src,data/full_repos/permissive/43858668/c_constants.v.sv\n             c_constants.v\n             c_constants.v.v\n             c_constants.v.sv\n             obj_dir/c_constants.v\n             obj_dir/c_constants.v.v\n             obj_dir/c_constants.v.sv\n%Error: data/full_repos/permissive/43858668/final_verilog/src/rtr_crossbar_mac.v:49: Define or directive not defined: \'`CROSSBAR_TYPE_MUX\'\n   parameter crossbar_type = `CROSSBAR_TYPE_MUX;\n                             ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/43858668/final_verilog/src/rtr_crossbar_mac.v:49: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n   parameter crossbar_type = `CROSSBAR_TYPE_MUX;\n                                               ^\n%Error: Exiting due to 3 error(s)\n'
module rtr_crossbar_mac
  (ctrl_in_op_ip, data_in_ip, data_out_op);
   
`include "c_constants.v"
   
   



   

   parameter num_ports = 5;
   

   parameter width = 32;
   

   parameter crossbar_type = `CROSSBAR_TYPE_MUX;
   
   



   

   input [0:num_ports*num_ports-1] ctrl_in_op_ip;
   

   input [0:num_ports*width-1] 	   data_in_ip;
   

   output [0:num_ports*width-1]    data_out_op;
   wire [0:num_ports*width-1] 	   data_out_op;
   
   



   
   wire [0:num_ports*num_ports-1]  ctrl_in_ip_op;
   c_interleave
     #(.width(num_ports*num_ports),
       .num_blocks(num_ports))
   ctrl_in_ip_op_intl
     (.data_in(ctrl_in_op_ip),
      .data_out(ctrl_in_ip_op));
   
   c_crossbar
     #(.num_in_ports(num_ports),
       .num_out_ports(num_ports),
       .width(width),
       .crossbar_type(crossbar_type))
   xbr
     (.ctrl_ip_op(ctrl_in_ip_op),
      .data_in_ip(data_in_ip),
      .data_out_op(data_out_op));
   
endmodule
module rtr_crossbar_mac
  (ctrl_in_op_ip, data_in_ip, data_out_op);

   
`include "c_constants.v"
   
   



   

   parameter num_ports = 5;
   

   parameter width = 32;
   

   parameter crossbar_type = `CROSSBAR_TYPE_MUX;
   
   



   

   input [0:num_ports*num_ports-1] ctrl_in_op_ip;
   

   input [0:num_ports*width-1] 	   data_in_ip;
   

   output [0:num_ports*width-1]    data_out_op;
   wire [0:num_ports*width-1] 	   data_out_op;
   
   



   
   wire [0:num_ports*num_ports-1]  ctrl_in_ip_op;
   c_interleave
     #(.width(num_ports*num_ports),
       .num_blocks(num_ports))
   ctrl_in_ip_op_intl
     (.data_in(ctrl_in_op_ip),
      .data_out(ctrl_in_ip_op));
   
   c_crossbar
     #(.num_in_ports(num_ports),
       .num_out_ports(num_ports),
       .width(width),
       .crossbar_type(crossbar_type))
   xbr
     (.ctrl_ip_op(ctrl_in_ip_op),
      .data_in_ip(data_in_ip),
      .data_out_op(data_out_op));
   
endmodule