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 random3(ccc, height);
  input ccc;
  output reg [9:0] height;
  

  reg [0:3] fib = 4'b1111;

  always @ ( posedge ccc )
    fib <= {fib[3]^fib[2], fib[0:2]};

  always begin
    case (fib)
      0 : height <= 10'b0010111111;
      1 : height <= 10'b0110010000;
      2 : height <= 10'b0100010001;
      3 : height <= 10'b0011110100;
      4 : height <= 10'b0110000110;
      5 : height <= 10'b0101000000;
      6 : height <= 10'b0010110010;
      7 : height <= 10'b0010100110;
      8 : height <= 10'b0010110100;
      9 : height <= 10'b0011001000;
      10 : height <= 10'b0100100010;
      11 : height <= 10'b0110000110;
      12 : height <= 10'b0011011110;
      13 : height <= 10'b0100100100;
      14 : height <= 10'b0100110111;
      15 : height <= 10'b0101010100;
    endcase
  end
endmodule
module random3(ccc, height);

  input ccc;
  output reg [9:0] height;
  

  reg [0:3] fib = 4'b1111;

  always @ ( posedge ccc )
    fib <= {fib[3]^fib[2], fib[0:2]};

  always begin
    case (fib)
      0 : height <= 10'b0010111111;
      1 : height <= 10'b0110010000;
      2 : height <= 10'b0100010001;
      3 : height <= 10'b0011110100;
      4 : height <= 10'b0110000110;
      5 : height <= 10'b0101000000;
      6 : height <= 10'b0010110010;
      7 : height <= 10'b0010100110;
      8 : height <= 10'b0010110100;
      9 : height <= 10'b0011001000;
      10 : height <= 10'b0100100010;
      11 : height <= 10'b0110000110;
      12 : height <= 10'b0011011110;
      13 : height <= 10'b0100100100;
      14 : height <= 10'b0100110111;
      15 : height <= 10'b0101010100;
    endcase
  end
endmodule