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_ctrl_reg (ctrl_in, ctrl_out, clk, rst_n);

   input     chan_cntrl_t ctrl_in;
   output    chan_cntrl_t ctrl_out;
   input     clk, rst_n;

   always@(posedge clk) begin
      if (!rst_n) begin
	 ctrl_out <= '0;
      end else begin
	 ctrl_out <= ctrl_in;
      end
   end
   
endmodule
module LAG_ctrl_reg (ctrl_in, ctrl_out, clk, rst_n);


   input     chan_cntrl_t ctrl_in;
   output    chan_cntrl_t ctrl_out;
   input     clk, rst_n;

   always@(posedge clk) begin
      if (!rst_n) begin
	 ctrl_out <= '0;
      end else begin
	 ctrl_out <= ctrl_in;
      end
   end
   
endmodule