data/full_repos/permissive/123318949/04 - Complex logical module/complex.v
1: b'%Error: Invalid Option: -\n'
module complex (
    input [7:0] x,
    input [7:0] y,
    output z
);

  wire [7:0] levelFirst;
  wire [3:0] levelScond;
  wire [1:0] levelThird;
  wire levelFourth;
  genvar i;

  generate
    for(i = 0; i < 8; i = i + 1) begin
			assign levelFirst[i] = x [i] && y[i];
			if (i % 2 == 1)
				assign levelScond[(i-1)/2] = levelFirst[i-1] || levelFirst[i];
			if (i % 4 == 3)
				assign levelThird[(i-3)/4] = levelScond[(i-3)/2] && levelScond[(i-1)/2];
			if (i % 8 == 7)
				assign levelFourth = levelThird[i-7] || levelThird[i-6];
		end
		assign z = levelFourth;
	endgenerate

endmodule
module complex (
    input [7:0] x,
    input [7:0] y,
    output z
);


  wire [7:0] levelFirst;
  wire [3:0] levelScond;
  wire [1:0] levelThird;
  wire levelFourth;
  genvar i;

  generate
    for(i = 0; i < 8; i = i + 1) begin
			assign levelFirst[i] = x [i] && y[i];
			if (i % 2 == 1)
				assign levelScond[(i-1)/2] = levelFirst[i-1] || levelFirst[i];
			if (i % 4 == 3)
				assign levelThird[(i-3)/4] = levelScond[(i-3)/2] && levelScond[(i-1)/2];
			if (i % 8 == 7)
				assign levelFourth = levelThird[i-7] || levelThird[i-6];
		end
		assign z = levelFourth;
	endgenerate

endmodule