data/full_repos/permissive/137213315/FlipBytes.v
1: b'%Error: data/full_repos/permissive/137213315/FlipBytes.v:12: syntax error, unexpected byte, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\n    for(i=0; i < NB/BYTE ; i=i+1) begin : byte\n                                          ^~~~\n%Error: Exiting due to 1 error(s)\n'
module FlipBytes #(parameter NB = 8'd128, BYTE = 4'd8) (input [NB-1:0] in, output [NB-1:0] out);
    genvar i;
    generate
    for(i=0; i < NB/BYTE ; i=i+1) begin : byte
        assign out[(BYTE*i)+:BYTE] = in[(NB-1-BYTE*i)-:BYTE];
    end
    endgenerate
endmodule
module FlipBytes #(parameter NB = 8'd128, BYTE = 4'd8) (input [NB-1:0] in, output [NB-1:0] out);

    genvar i;
    generate
    for(i=0; i < NB/BYTE ; i=i+1) begin : byte
        assign out[(BYTE*i)+:BYTE] = in[(NB-1-BYTE*i)-:BYTE];
    end
    endgenerate
endmodule