data/full_repos/permissive/456762006/rtl/SynFifo.v
1: b'%Warning-WIDTH: data/full_repos/permissive/456762006/rtl/SynFifo.v:51: Operator EQ expects 32 or 9 bits on the LHS, but LHS\'s VARREF \'w_pointer\' generates 8 bits.\n                                                                     : ... In instance SynFifo\n                        if(w_pointer == FIFO_DEPTH - 1\'b1)\n                                     ^~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/456762006/rtl/SynFifo.v:80: Operator EQ expects 32 or 9 bits on the LHS, but LHS\'s VARREF \'r_pointer\' generates 8 bits.\n                                                                     : ... In instance SynFifo\n                        if(r_pointer == FIFO_DEPTH - 1\'b1)\n                                     ^~\n%Error: Exiting due to 2 warning(s)\n'
function integer clogb2 (input integer bit_depth);
begin
    for(clogb2=0;bit_depth>0;clogb2=clogb2+1)
        bit_depth=bit_depth>>1;
end
endfunction
function integer clogb2 (input integer bit_depth);

begin
    for(clogb2=0;bit_depth>0;clogb2=clogb2+1)
        bit_depth=bit_depth>>1;
end
endfunction