data/full_repos/permissive/43858668/final_verilog/src/rtr_flags_mux.v
1: b'%Error: data/full_repos/permissive/43858668/final_verilog/src/rtr_flags_mux.v:35: Cannot find include file: c_functions.v\n`include "c_functions.v" \n         ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/43858668/final_verilog/src,data/full_repos/permissive/43858668/c_functions.v\n             data/full_repos/permissive/43858668/final_verilog/src,data/full_repos/permissive/43858668/c_functions.v.v\n             data/full_repos/permissive/43858668/final_verilog/src,data/full_repos/permissive/43858668/c_functions.v.sv\n             c_functions.v\n             c_functions.v.v\n             c_functions.v.sv\n             obj_dir/c_functions.v\n             obj_dir/c_functions.v.v\n             obj_dir/c_functions.v.sv\n%Error: data/full_repos/permissive/43858668/final_verilog/src/rtr_flags_mux.v:36: Cannot find include file: c_constants.v\n`include "c_constants.v" \n         ^~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n'
module rtr_flags_mux
  (sel_mc, route_op, route_orc, flags_op_opc, flags);
   
`include "c_functions.v"
`include "c_constants.v"
   
   



   

   parameter num_message_classes = 2;
   

   parameter num_resource_classes = 2;
   

   parameter num_ports = 5;
   

   parameter width = 1;
   
   



   

   localparam num_packet_classes = num_message_classes * num_resource_classes;
   
   



   

   input [0:num_message_classes-1] sel_mc;
   

   input [0:num_ports-1] 	   route_op;
   

   input [0:num_resource_classes-1] route_orc;
   

   input [0:num_ports*num_packet_classes*width-1] flags_op_opc;
   

   output [0:width-1] 				  flags;
   wire [0:width-1] 				  flags;
   
   



   
   wire [0:num_packet_classes*width-1] 		  flags_opc;
   c_select_1ofn
     #(.num_ports(num_ports),
       .width(num_packet_classes*width))
   flags_opc_sel
     (.select(route_op),
      .data_in(flags_op_opc),
      .data_out(flags_opc));
   
   wire [0:num_resource_classes*width-1] 	  flags_orc;
   c_select_1ofn
     #(.num_ports(num_message_classes),
       .width(num_resource_classes*width))
   flags_orc_sel
     (.select(sel_mc),
      .data_in(flags_opc),
      .data_out(flags_orc));
   
   c_select_1ofn
     #(.num_ports(num_resource_classes),
       .width(width))
   flags_sel
     (.select(route_orc),
      .data_in(flags_orc),
      .data_out(flags));
   
endmodule
module rtr_flags_mux
  (sel_mc, route_op, route_orc, flags_op_opc, flags);

   
`include "c_functions.v"
`include "c_constants.v"
   
   



   

   parameter num_message_classes = 2;
   

   parameter num_resource_classes = 2;
   

   parameter num_ports = 5;
   

   parameter width = 1;
   
   



   

   localparam num_packet_classes = num_message_classes * num_resource_classes;
   
   



   

   input [0:num_message_classes-1] sel_mc;
   

   input [0:num_ports-1] 	   route_op;
   

   input [0:num_resource_classes-1] route_orc;
   

   input [0:num_ports*num_packet_classes*width-1] flags_op_opc;
   

   output [0:width-1] 				  flags;
   wire [0:width-1] 				  flags;
   
   



   
   wire [0:num_packet_classes*width-1] 		  flags_opc;
   c_select_1ofn
     #(.num_ports(num_ports),
       .width(num_packet_classes*width))
   flags_opc_sel
     (.select(route_op),
      .data_in(flags_op_opc),
      .data_out(flags_opc));
   
   wire [0:num_resource_classes*width-1] 	  flags_orc;
   c_select_1ofn
     #(.num_ports(num_message_classes),
       .width(num_resource_classes*width))
   flags_orc_sel
     (.select(sel_mc),
      .data_in(flags_opc),
      .data_out(flags_orc));
   
   c_select_1ofn
     #(.num_ports(num_resource_classes),
       .width(width))
   flags_sel
     (.select(route_orc),
      .data_in(flags_orc),
      .data_out(flags));
   
endmodule