data/full_repos/permissive/460468583/data/verilog/xorexpand.v
1: b"%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:2: Define or directive not defined: '`RNDSIZE'\ninput [`RNDSIZE-1:0] r;\n       ^~~~~~~~\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:3: Define or directive not defined: '`RNDSIZE'\noutput [`RNDSIZE*(`RNDSIZE-1)/2-1:0] p;\n        ^~~~~~~~\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:3: syntax error, unexpected '*', expecting TYPE-IDENTIFIER\noutput [`RNDSIZE*(`RNDSIZE-1)/2-1:0] p;\n                ^\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:3: Define or directive not defined: '`RNDSIZE'\noutput [`RNDSIZE*(`RNDSIZE-1)/2-1:0] p;\n                  ^~~~~~~~\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:6: Define or directive not defined: '`RNDSIZE'\nfor (i=0; i<`RNDSIZE; i=i+1) begin\n            ^~~~~~~~\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:6: syntax error, unexpected ';', expecting TYPE-IDENTIFIER\nfor (i=0; i<`RNDSIZE; i=i+1) begin\n                    ^\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:7: Define or directive not defined: '`RNDSIZE'\n    for (j=i+1; j<`RNDSIZE; j=j+1) begin\n                  ^~~~~~~~\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:8: Define or directive not defined: '`RNDSIZE'\n        localparam integer k = i*`RNDSIZE-i*(i+1)/2+j-i-1;\n                                 ^~~~~~~~\n%Error: data/full_repos/permissive/460468583/data/verilog/xorexpand.v:10: syntax error, unexpected end\n    end\n    ^~~\n%Error: Cannot continue\n"
module xorexpand ( r , p );
input [`RNDSIZE-1:0] r;
output [`RNDSIZE*(`RNDSIZE-1)/2-1:0] p;

genvar i,j;
for (i=0; i<`RNDSIZE; i=i+1) begin
    for (j=i+1; j<`RNDSIZE; j=j+1) begin
        localparam integer k = i*`RNDSIZE-i*(i+1)/2+j-i-1;
        assign p[k] = r[i] ^ r[j];
    end
end
endmodule
module xorexpand ( r , p );

input [`RNDSIZE-1:0] r;
output [`RNDSIZE*(`RNDSIZE-1)/2-1:0] p;

genvar i,j;
for (i=0; i<`RNDSIZE; i=i+1) begin
    for (j=i+1; j<`RNDSIZE; j=j+1) begin
        localparam integer k = i*`RNDSIZE-i*(i+1)/2+j-i-1;
        assign p[k] = r[i] ^ r[j];
    end
end
endmodule