data/full_repos/permissive/13953106/lib/LAG_simple.v
 line:14: before: "data_in"
1: b"%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:14: syntax error, unexpected IDENTIFIER, expecting ';'\n   input     flit_t data_in;\n                    ^~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:15: syntax error, unexpected IDENTIFIER, expecting ';'\n   output    flit_t data_out;\n                    ^~~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:30: syntax error, unexpected IDENTIFIER, expecting ';'\n   input     chan_cntrl_t ctrl_in;\n                          ^~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:31: syntax error, unexpected IDENTIFIER, expecting ';'\n   output    chan_cntrl_t ctrl_out;\n                          ^~~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:49: syntax error, unexpected IDENTIFIER, expecting ';'\n   input     flit_t data_in[nPC-1:0];\n                    ^~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:50: syntax error, unexpected IDENTIFIER, expecting ';'\n   input     chan_cntrl_t ctrl_in;\n                          ^~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:51: syntax error, unexpected IDENTIFIER, expecting ';'\n   output    flit_t data_out[nPC-1:0];\n                    ^~~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:52: syntax error, unexpected IDENTIFIER, expecting ';'\n   output    chan_cntrl_t ctrl_out;\n                          ^~~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:57: Unsupported: Multidimensional cells/interfaces.\n   flit_t ch_reg[stages-1:0][nPC-1:0];\n                            ^\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:105: syntax error, unexpected IDENTIFIER, expecting ';'\n   input flit_t data_in [n-1:0];\n                ^~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:107: syntax error, unexpected IDENTIFIER, expecting ';'\n   output flit_t data_out;\n                 ^~~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:129: syntax error, unexpected IDENTIFIER, expecting ';'\n   input flit_t data_in [n-1:0];\n                ^~~~~~~\n%Error: data/full_repos/permissive/13953106/lib/LAG_simple.v:132: syntax error, unexpected IDENTIFIER, expecting ';'\n   output flit_t data_out [n-1:0];\n                 ^~~~~~~~\n%Error: Exiting due to 13 error(s)\n"
module LAG_crossbar_oh_select (data_in, select, data_out);


   parameter n = 4;

   input flit_t data_in [n-1:0];

   input [n-1:0][n-1:0] select;
   output flit_t data_out [n-1:0];

   genvar i;
   
   generate
      for (i=0; i<n; i++) begin:outmuxes
	 LAG_mux_oh_select #(.n(n)) xbarmux (data_in, select[i], data_out[i]);
      end
   endgenerate
   
endmodule
module LAG_crossbar_oh_select (data_in, select, data_out);



   parameter n = 4;

   input flit_t data_in [n-1:0];

   input [n-1:0][n-1:0] select;
   output flit_t data_out [n-1:0];

   genvar i;
   
   generate
      for (i=0; i<n; i++) begin:outmuxes
	 LAG_mux_oh_select #(.n(n)) xbarmux (data_in, select[i], data_out[i]);
      end
   endgenerate
   
endmodule