data/full_repos/permissive/166008742/src/globals.vh
 line:44: before: "function"
1: b'%Warning-WIDTH: data/full_repos/permissive/166008742/src/globals.vh:47: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS\'s SEL generates 4 bits.\n        addr_base = addr[31:28];\n                  ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/166008742/src/globals.vh:55: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS\'s SEL generates 28 bits.\n        addr_without_base = addr[28-1:0];\n                          ^\n%Error: Exiting due to 2 warning(s)\n'
function integer addr_for_buf_id;
    input [31:0] buf_id;
    begin
        addr_for_buf_id = `MEM_BASE_ADDR | buf_id << `BUF_ID_LOWER_BIT;
    end
endfunction
function integer addr_for_buf_id;

    input [31:0] buf_id;
    begin
        addr_for_buf_id = `MEM_BASE_ADDR | buf_id << `BUF_ID_LOWER_BIT;
    end
endfunction