data/full_repos/permissive/52706914/background.v
1: b'%Warning-LITENDIAN: data/full_repos/permissive/52706914/background.v:422: Little bit endian vector: MSB < LSB of bit range: 0:6\n output [0:6] Display0;\n        ^\n                    ... Use "/* verilator lint_off LITENDIAN */" and lint_on around source to disable this message.\n%Warning-LITENDIAN: data/full_repos/permissive/52706914/background.v:392: Little bit endian vector: MSB < LSB of bit range: 0:3\n  reg [0:3] fib = 4\'b1111;\n      ^\n%Warning-LITENDIAN: data/full_repos/permissive/52706914/background.v:360: Little bit endian vector: MSB < LSB of bit range: 0:3\n  reg [0:3] fib = 4\'b1111;\n      ^\n%Warning-LITENDIAN: data/full_repos/permissive/52706914/background.v:328: Little bit endian vector: MSB < LSB of bit range: 0:3\n  reg [0:3] fib = 4\'b1111;\n      ^\n%Warning-LITENDIAN: data/full_repos/permissive/52706914/background.v:2: Little bit endian vector: MSB < LSB of bit range: 0:6\n output [9:0] red, output [9:0] green, output [9:0] blue, output [0:6] HEX0, output [0:6] HEX1);\n                                                                 ^\n%Warning-LITENDIAN: data/full_repos/permissive/52706914/background.v:2: Little bit endian vector: MSB < LSB of bit range: 0:6\n output [9:0] red, output [9:0] green, output [9:0] blue, output [0:6] HEX0, output [0:6] HEX1);\n                                                                                    ^\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:140: Operator ASSIGNDLY expects 32 bits on the Assign RHS, but Assign RHS\'s VARREF \'tree1_height_bin\' generates 10 bits.\n                                                                    : ... In instance background\n  tree1_height <= tree1_height_bin;\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:141: Operator ASSIGNDLY expects 32 bits on the Assign RHS, but Assign RHS\'s VARREF \'tree2_height_bin\' generates 10 bits.\n                                                                    : ... In instance background\n  tree2_height <= tree2_height_bin;\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:142: Operator ASSIGNDLY expects 32 bits on the Assign RHS, but Assign RHS\'s VARREF \'tree3_height_bin\' generates 10 bits.\n                                                                    : ... In instance background\n  tree3_height <= tree3_height_bin; end\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:289: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= tree3_x_left && x <= tree3_x_right && y >= tree3_height && y <= 400) idx <= 3\'d0;  \n             ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:289: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= tree3_x_left && x <= tree3_x_right && y >= tree3_height && y <= 400) idx <= 3\'d0;  \n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:289: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= tree3_x_left && x <= tree3_x_right && y >= tree3_height && y <= 400) idx <= 3\'d0;  \n                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:285: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana3_left && x <= banana3_right && y <= banana3_bottom && y >= banana3_top)\n             ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:285: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana3_left && x <= banana3_right && y <= banana3_bottom && y >= banana3_top)\n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:285: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana3_left && x <= banana3_right && y <= banana3_bottom && y >= banana3_top)\n                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:285: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana3_left && x <= banana3_right && y <= banana3_bottom && y >= banana3_top)\n                                                                               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:283: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n    else if (x >= tree2_x_left && x <= tree2_x_right && y >= tree2_height && y <= 400) idx <= 3\'d0;  \n               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:283: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n    else if (x >= tree2_x_left && x <= tree2_x_right && y >= tree2_height && y <= 400) idx <= 3\'d0;  \n                                    ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:283: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n    else if (x >= tree2_x_left && x <= tree2_x_right && y >= tree2_height && y <= 400) idx <= 3\'d0;  \n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:279: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana2_left && x <= banana2_right && y <= banana2_bottom && y >= banana2_top)\n             ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:279: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana2_left && x <= banana2_right && y <= banana2_bottom && y >= banana2_top)\n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:279: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana2_left && x <= banana2_right && y <= banana2_bottom && y >= banana2_top)\n                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:279: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana2_left && x <= banana2_right && y <= banana2_bottom && y >= banana2_top)\n                                                                               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:277: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= tree1_x_left && x <= tree1_x_right && y >= tree1_height && y <= 400) idx <= 3\'d0;  \n             ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:277: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= tree1_x_left && x <= tree1_x_right && y >= tree1_height && y <= 400) idx <= 3\'d0;  \n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:277: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= tree1_x_left && x <= tree1_x_right && y >= tree1_height && y <= 400) idx <= 3\'d0;  \n                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:273: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana1_left && x <= banana1_right && y <= banana1_bottom && y >= banana1_top)\n             ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:273: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana1_left && x <= banana1_right && y <= banana1_bottom && y >= banana1_top)\n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:273: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana1_left && x <= banana1_right && y <= banana1_bottom && y >= banana1_top)\n                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:273: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= banana1_left && x <= banana1_right && y <= banana1_bottom && y >= banana1_top)\n                                                                               ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:271: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= monkey_x && x <= monkey_x + 30 && y >= monkey -30 && y <= monkey ) idx <= 3\'d5;  \n             ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:271: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'x\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= monkey_x && x <= monkey_x + 30 && y >= monkey -30 && y <= monkey ) idx <= 3\'d5;  \n                              ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:271: Operator GTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= monkey_x && x <= monkey_x + 30 && y >= monkey -30 && y <= monkey ) idx <= 3\'d5;  \n                                                    ^~\n%Warning-WIDTH: data/full_repos/permissive/52706914/background.v:271: Operator LTE expects 32 bits on the LHS, but LHS\'s VARREF \'y\' generates 10 bits.\n                                                                    : ... In instance background\n  else if (x >= monkey_x && x <= monkey_x + 30 && y >= monkey -30 && y <= monkey ) idx <= 3\'d5;  \n                                                                       ^~\n%Warning-UNSIGNED: data/full_repos/permissive/52706914/background.v:265: Comparison is constant due to unsigned arithmetic\n                                                                       : ... In instance background\n  if (x >= 0 && x <= 640 && y >= 0 & y <= 480) idx <= 3\'d6;  \n        ^~\n%Warning-UNSIGNED: data/full_repos/permissive/52706914/background.v:265: Comparison is constant due to unsigned arithmetic\n                                                                       : ... In instance background\n  if (x >= 0 && x <= 640 && y >= 0 & y <= 480) idx <= 3\'d6;  \n                              ^~\n%Warning-UNSIGNED: data/full_repos/permissive/52706914/background.v:267: Comparison is constant due to unsigned arithmetic\n                                                                       : ... In instance background\n  if (x >= 0 && x <= 640 && y >= 400 && y <= 480) idx <= 3\'d2;  \n        ^~\n%Warning-UNSIGNED: data/full_repos/permissive/52706914/background.v:269: Comparison is constant due to unsigned arithmetic\n                                                                       : ... In instance background\n  if (x >= 0 && x <= 640 && y >= 0 && y <= 50) idx <= 3\'d4;  \n        ^~\n%Warning-UNSIGNED: data/full_repos/permissive/52706914/background.v:269: Comparison is constant due to unsigned arithmetic\n                                                                       : ... In instance background\n  if (x >= 0 && x <= 640 && y >= 0 && y <= 50) idx <= 3\'d4;  \n                              ^~\n%Error: Exiting due to 39 warning(s)\n'
module BCD(m, Display0);
	input [3:0] m;
	output [0:6] Display0;
	
	assign Display0 [0:6] = (m[3:0] == 4'b0000) ? 7'b0000001:
									(m[3:0] == 4'b0001) ? 7'b1001111:
									(m[3:0] == 4'b0010) ? 7'b0010010:
									(m[3:0] == 4'b0011) ? 7'b0000110:
									(m[3:0] == 4'b0100) ? 7'b1001100:
									(m[3:0] == 4'b0101) ? 7'b0100100:
									(m[3:0] == 4'b0110) ? 7'b0100000:
									(m[3:0] == 4'b0111) ? 7'b0001111:
									(m[3:0] == 4'b1000) ? 7'b0000000: 7'b0000100;
endmodule
module BCD(m, Display0);

	input [3:0] m;
	output [0:6] Display0;
	
	assign Display0 [0:6] = (m[3:0] == 4'b0000) ? 7'b0000001:
									(m[3:0] == 4'b0001) ? 7'b1001111:
									(m[3:0] == 4'b0010) ? 7'b0010010:
									(m[3:0] == 4'b0011) ? 7'b0000110:
									(m[3:0] == 4'b0100) ? 7'b1001100:
									(m[3:0] == 4'b0101) ? 7'b0100100:
									(m[3:0] == 4'b0110) ? 7'b0100000:
									(m[3:0] == 4'b0111) ? 7'b0001111:
									(m[3:0] == 4'b1000) ? 7'b0000000: 7'b0000100;
endmodule