data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v
 line:120: before: "("
1: b'%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:165: Operator ADD expects 32 bits on the LHS, but LHS\'s VARREF \'position\' generates 1 bits.\n                                                                                               : ... In instance jelly_stream_width_convert\n                set_strb[(BUF_NUM-1) - (position + i)] = strb[S_NUM-1 - i];\n                                                 ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:168: Operator ADD expects 32 bits on the LHS, but LHS\'s VARREF \'position\' generates 1 bits.\n                                                                                               : ... In instance jelly_stream_width_convert\n                set_strb[position + i] = strb[i];\n                                  ^\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:209: Operator ADD expects 32 bits on the LHS, but LHS\'s VARREF \'position\' generates 1 bits.\n                                                                                               : ... In instance jelly_stream_width_convert\n                    get_strb[M_NUM-1 - i] = strb[BUF_NUM-1 - (position + i)];\n                                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:212: Operator ADD expects 32 bits on the LHS, but LHS\'s VARREF \'position\' generates 1 bits.\n                                                                                               : ... In instance jelly_stream_width_convert\n                    get_strb[i] = strb[position + i];\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:207: Operator ADD expects 32 bits on the LHS, but LHS\'s VARREF \'position\' generates 1 bits.\n                                                                                               : ... In instance jelly_stream_width_convert\n            if ( position + i < BUF_NUM ) begin\n                          ^\n%Error: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:301: Cannot find file containing module: \'jelly_data_ff_pack\'\n    jelly_data_ff_pack\n    ^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/2084115/rtl/library,data/full_repos/permissive/2084115/jelly_data_ff_pack\n             data/full_repos/permissive/2084115/rtl/library,data/full_repos/permissive/2084115/jelly_data_ff_pack.v\n             data/full_repos/permissive/2084115/rtl/library,data/full_repos/permissive/2084115/jelly_data_ff_pack.sv\n             jelly_data_ff_pack\n             jelly_data_ff_pack.v\n             jelly_data_ff_pack.sv\n             obj_dir/jelly_data_ff_pack\n             obj_dir/jelly_data_ff_pack.v\n             obj_dir/jelly_data_ff_pack.sv\n%Error: data/full_repos/permissive/2084115/rtl/library/jelly_stream_width_convert.v:739: Cannot find file containing module: \'jelly_data_ff_pack\'\n    jelly_data_ff_pack\n    ^~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s), 5 warning(s)\n'
function [BUF_NUM-1:0]  set_strb(
                                        input                       endian,
                                        input [BUF_NUM-1:0]         orgn,
                                        input [S_NUM-1:0]           strb,
                                        input [COUNT_WIDTH-1:0]     position
                                    );
    integer     i;
    begin
        set_strb = orgn;
        for ( i = 0; i < S_NUM; i = i+1 ) begin
            if ( endian ) begin
                set_strb[(BUF_NUM-1) - (position + i)] = strb[S_NUM-1 - i];
            end
            else begin
                set_strb[position + i] = strb[i];
            end
        end
    end
    endfunction
function [BUF_NUM-1:0]  set_strb(
                                        input                       endian,
                                        input [BUF_NUM-1:0]         orgn,
                                        input [S_NUM-1:0]           strb,
                                        input [COUNT_WIDTH-1:0]     position
                                    );

    integer     i;
    begin
        set_strb = orgn;
        for ( i = 0; i < S_NUM; i = i+1 ) begin
            if ( endian ) begin
                set_strb[(BUF_NUM-1) - (position + i)] = strb[S_NUM-1 - i];
            end
            else begin
                set_strb[position + i] = strb[i];
            end
        end
    end
    endfunction