data/full_repos/permissive/441359809/src/yosys/tests/lut/map_cmp.v
1: b"%Error: data/full_repos/permissive/441359809/src/yosys/tests/lut/map_cmp.v:1: syntax error, unexpected '.', expecting '['\nmodule top(...);\n           ^\n%Error: data/full_repos/permissive/441359809/src/yosys/tests/lut/map_cmp.v:3: syntax error, unexpected input\n input [LUT_WIDTH-1:0] a;\n ^~~~~\n%Error: Exiting due to 2 error(s)\n"
module top(...);
	parameter LUT_WIDTH = 4;
	input [LUT_WIDTH-1:0] a;

	output o1_1 = {(LUT_WIDTH/2){2'b10}} <= a;
	output o1_2 = {(LUT_WIDTH/2){2'b10}} <  a;
	output o1_3 = {(LUT_WIDTH/2){2'b10}} >= a;
	output o1_4 = {(LUT_WIDTH/2){2'b10}} >  a;
	output o1_5 = {(LUT_WIDTH/2){2'b10}} == a;
	output o1_6 = {(LUT_WIDTH/2){2'b10}} != a;

	output o2_1 = a <= {(LUT_WIDTH/2){2'b10}};
	output o2_2 = a <  {(LUT_WIDTH/2){2'b10}};
	output o2_3 = a >= {(LUT_WIDTH/2){2'b10}};
	output o2_4 = a >  {(LUT_WIDTH/2){2'b10}};
	output o2_5 = a == {(LUT_WIDTH/2){2'b10}};
	output o2_6 = a != {(LUT_WIDTH/2){2'b10}};

	output o3_1 = {(LUT_WIDTH/2){2'sb01}} <= $signed(a);
	output o3_2 = {(LUT_WIDTH/2){2'sb01}} <  $signed(a);
	output o3_3 = {(LUT_WIDTH/2){2'sb01}} >= $signed(a);
	output o3_4 = {(LUT_WIDTH/2){2'sb01}} >  $signed(a);
	output o3_5 = {(LUT_WIDTH/2){2'sb01}} == $signed(a);
	output o3_6 = {(LUT_WIDTH/2){2'sb01}} != $signed(a);

	output o4_1 = $signed(a) <= {LUT_WIDTH{1'sb0}};
	output o4_2 = $signed(a) <  {LUT_WIDTH{1'sb0}};
	output o4_3 = $signed(a) >= {LUT_WIDTH{1'sb0}};
	output o4_4 = $signed(a) >  {LUT_WIDTH{1'sb0}};
endmodule
module top(...);

	parameter LUT_WIDTH = 4;
	input [LUT_WIDTH-1:0] a;

	output o1_1 = {(LUT_WIDTH/2){2'b10}} <= a;
	output o1_2 = {(LUT_WIDTH/2){2'b10}} <  a;
	output o1_3 = {(LUT_WIDTH/2){2'b10}} >= a;
	output o1_4 = {(LUT_WIDTH/2){2'b10}} >  a;
	output o1_5 = {(LUT_WIDTH/2){2'b10}} == a;
	output o1_6 = {(LUT_WIDTH/2){2'b10}} != a;

	output o2_1 = a <= {(LUT_WIDTH/2){2'b10}};
	output o2_2 = a <  {(LUT_WIDTH/2){2'b10}};
	output o2_3 = a >= {(LUT_WIDTH/2){2'b10}};
	output o2_4 = a >  {(LUT_WIDTH/2){2'b10}};
	output o2_5 = a == {(LUT_WIDTH/2){2'b10}};
	output o2_6 = a != {(LUT_WIDTH/2){2'b10}};

	output o3_1 = {(LUT_WIDTH/2){2'sb01}} <= $signed(a);
	output o3_2 = {(LUT_WIDTH/2){2'sb01}} <  $signed(a);
	output o3_3 = {(LUT_WIDTH/2){2'sb01}} >= $signed(a);
	output o3_4 = {(LUT_WIDTH/2){2'sb01}} >  $signed(a);
	output o3_5 = {(LUT_WIDTH/2){2'sb01}} == $signed(a);
	output o3_6 = {(LUT_WIDTH/2){2'sb01}} != $signed(a);

	output o4_1 = $signed(a) <= {LUT_WIDTH{1'sb0}};
	output o4_2 = $signed(a) <  {LUT_WIDTH{1'sb0}};
	output o4_3 = $signed(a) >= {LUT_WIDTH{1'sb0}};
	output o4_4 = $signed(a) >  {LUT_WIDTH{1'sb0}};
endmodule