data/full_repos/permissive/150072393/game_of_life.v
1: b'%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:44: Bit extraction of array[14:0] requires 4 bit index, not 1 bits.\n                                                                      : ... In instance game_of_life\n        is_alive = state_const[i][j];\n                              ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:44: Bit extraction of var[14:0] requires 4 bit index, not 1 bits.\n                                                                      : ... In instance game_of_life\n        is_alive = state_const[i][j];\n                                 ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:41: Operator GT expects 32 or 4 bits on the LHS, but LHS\'s VARREF \'i\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n      if (i < 0 || i > 14 || j < 0 || j > 14)\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:41: Operator GT expects 32 or 4 bits on the LHS, but LHS\'s VARREF \'j\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n      if (i < 0 || i > 14 || j < 0 || j > 14)\n                                        ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:20: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s ADD generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j + 1);    \n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:20: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j + 1);    \n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:21: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s ADD generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j - 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:21: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s SUB generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j - 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:21: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j - 1);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:22: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s SUB generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j + 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:22: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s ADD generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j + 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:22: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j + 1);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:23: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s SUB generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j - 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:23: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j - 1);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:24: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s ADD generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:24: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s VARREF \'j\' generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:24: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i + 1, j);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:25: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s SUB generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:25: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s VARREF \'j\' generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:25: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i - 1, j);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:26: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s VARREF \'i\' generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i, j + 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:26: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s ADD generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i, j + 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:26: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i, j + 1);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:27: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s VARREF \'i\' generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i, j - 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:27: Operator FUNCREF \'is_alive\' expects 1 bits on the Function Argument, but Function Argument\'s SUB generates 32 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i, j - 1);\n                                                  ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/150072393/game_of_life.v:27: Operator ADD expects 32 bits on the RHS, but RHS\'s FUNCREF \'is_alive\' generates 1 bits.\n                                                                      : ... In instance game_of_life\n            neighbours_count = neighbours_count + is_alive(i, j - 1);\n                                                ^\n%Warning-UNSIGNED: data/full_repos/permissive/150072393/game_of_life.v:41: Comparison is constant due to unsigned arithmetic\n                                                                         : ... In instance game_of_life\n      if (i < 0 || i > 14 || j < 0 || j > 14)\n            ^\n%Warning-UNSIGNED: data/full_repos/permissive/150072393/game_of_life.v:41: Comparison is constant due to unsigned arithmetic\n                                                                         : ... In instance game_of_life\n      if (i < 0 || i > 14 || j < 0 || j > 14)\n                               ^\n%Error: Exiting due to 28 warning(s)\n'
function is_alive;
    input i, j;
    begin
      if (i < 0 || i > 14 || j < 0 || j > 14)
        is_alive = 0;
      else
        is_alive = state_const[i][j];
    end
  endfunction
function is_alive;

    input i, j;
    begin
      if (i < 0 || i > 14 || j < 0 || j > 14)
        is_alive = 0;
      else
        is_alive = state_const[i][j];
    end
  endfunction