data/full_repos/permissive/434837003/test/generate.v
1: b"%Error: data/full_repos/permissive/434837003/test/generate.v:20: syntax error, unexpected bit, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\nfor (i=0; i<SIZE; i=i+1) begin : bit\n                                 ^~~\n%Error: data/full_repos/permissive/434837003/test/generate.v:57: syntax error, unexpected bit, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\nfor(i=0; i<SIZE; i=i+1) begin:bit\n                              ^~~\n%Error: data/full_repos/permissive/434837003/test/generate.v:164: syntax error, unexpected byte, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\n        for (i=0; i<8; i=i+1) begin:byte\n                                    ^~~~\n%Error: data/full_repos/permissive/434837003/test/generate.v:178: syntax error, unexpected '[', expecting IDENTIFIER or '=' or do or final\n            byte[7].p.read_mem(address, data[63:56]);\n                ^\n%Error: Exiting due to 4 error(s)\n"
module multiplier(a, b, product);

parameter a_width = 8, b_width = 8;

localparam product_width = a_width+b_width;



input [a_width-1:0] a;
input [b_width-1:0] b;
output [product_width-1:0] product;

generate
    if((a_width < 8) || (b_width < 8)) begin: mult
        CLA_multiplier #(a_width,b_width) u1(a, b, product);

    end
    else begin: mult
        WALLACE_multiplier #(a_width,b_width) u1(a, b, product);

    end
endgenerate

endmodule
module multiplier(a, b, product);


parameter a_width = 8, b_width = 8;

localparam product_width = a_width+b_width;



input [a_width-1:0] a;
input [b_width-1:0] b;
output [product_width-1:0] product;

generate
    if((a_width < 8) || (b_width < 8)) begin: mult
        CLA_multiplier #(a_width,b_width) u1(a, b, product);

    end
    else begin: mult
        WALLACE_multiplier #(a_width,b_width) u1(a, b, product);

    end
endgenerate

endmodule