data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v
 line:44: before: "integer"
1: b'%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:78: Operator ADD expects 32 bits on the RHS, but RHS\'s VARREF \'r_row\' generates 5 bits.\n                                                                                                         : ... In instance oled_performance_counters\n  assign offset = r_page * C_ROWS + r_row;\n                                  ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:92: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 0 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 0] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:93: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 1 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 1] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:94: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 2 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 2] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:95: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 3 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 3] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:96: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 4 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 4] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:97: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 5 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 5] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:98: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 6 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 6] >= r_col + \'d1),\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:99: Operator GTE expects 32 or 7 bits on the LHS, but LHS\'s ARRAYSEL generates 6 bits.\n                                                                                                         : ... In instance oled_performance_counters\n     offset + 7 >= C_COUNTER_N ? 1\'b0 : (r_pc[offset + 7] >= r_col + \'d1)\n                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:119: Operator EQ expects 32 or 8 bits on the LHS, but LHS\'s VARREF \'r_col\' generates 7 bits.\n                                                                                                          : ... In instance oled_performance_counters\n        r_col <= r_col == C_COLS - 1 ? \'b0 : r_col + 1;\n                       ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:121: Operator EQ expects 32 or 8 bits on the LHS, but LHS\'s VARREF \'r_col\' generates 7 bits.\n                                                                                                          : ... In instance oled_performance_counters\n          if (r_col == C_COLS - 1) r_page <= r_page + \'d1;\n                    ^~\n%Warning-WIDTH: data/full_repos/permissive/135295301/common/ip/oled_pc/src/oled_performance_counters.v:118: Operator EQ expects 32 or 6 bits on the LHS, but LHS\'s VARREF \'r_row\' generates 5 bits.\n                                                                                                          : ... In instance oled_performance_counters\n      if (r_row == C_ROWS - 1) begin\n                ^~\n%Error: Exiting due to 12 warning(s)\n'
function integer max;
    input integer n1, n2;
    begin
      max = n2 > n1 ? n2 : n1;
    end
  endfunction
function integer max;

    input integer n1, n2;
    begin
      max = n2 > n1 ? n2 : n1;
    end
  endfunction