data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v
 line:101: before: "("
1: b'%Error: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:83: Cannot find file containing module: \'jelly_param_update_master\'\n    jelly_param_update_master\n    ^~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/2084115/rtl/video,data/full_repos/permissive/2084115/jelly_param_update_master\n             data/full_repos/permissive/2084115/rtl/video,data/full_repos/permissive/2084115/jelly_param_update_master.v\n             data/full_repos/permissive/2084115/rtl/video,data/full_repos/permissive/2084115/jelly_param_update_master.sv\n             jelly_param_update_master\n             jelly_param_update_master.v\n             jelly_param_update_master.sv\n             obj_dir/jelly_param_update_master\n             obj_dir/jelly_param_update_master.v\n             obj_dir/jelly_param_update_master.sv\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:125: Operator FUNCREF \'reg_mask\' expects 32 bits on the Function Argument, but Function Argument\'s VARREF \'reg_ctl_control\' generates 2 bits.\n                                                                                               : ... In instance jelly_video_parameter_update\n                ADR_CONTROL:  reg_ctl_control <= reg_mask(reg_ctl_control, s_wb_dat_i, s_wb_sel_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/video/jelly_video_parameter_update.v:125: Operator ASSIGNDLY expects 2 bits on the Assign RHS, but Assign RHS\'s FUNCREF \'reg_mask\' generates 32 bits.\n                                                                                               : ... In instance jelly_video_parameter_update\n                ADR_CONTROL:  reg_ctl_control <= reg_mask(reg_ctl_control, s_wb_dat_i, s_wb_sel_i);\n                                              ^~\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:133: Operator COND expects 32 bits on the Conditional True, but Conditional True\'s VARREF \'reg_ctl_control\' generates 2 bits.\n                                                                                               : ... In instance jelly_video_parameter_update\n                        (s_wb_adr_i == ADR_CONTROL)      ? reg_ctl_control :\n                                                         ^\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:134: Operator COND expects 32 bits on the Conditional True, but Conditional True\'s VARREF \'ctl_index\' generates 1 bits.\n                                                                                               : ... In instance jelly_video_parameter_update\n                        (s_wb_adr_i == ADR_INDEX)        ? ctl_index       :\n                                                         ^\n%Error: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:151: Cannot find file containing module: \'jelly_param_update_slave\'\n    jelly_param_update_slave\n    ^~~~~~~~~~~~~~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:191: Operator ADD expects 32 bits on the RHS, but RHS\'s VARREF \'update_trig\' generates 1 bits.\n                                                                                               : ... In instance jelly_video_parameter_update\n                reg_frame_count <= reg_frame_count + update_trig;\n                                                   ^\n%Error: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:196: Cannot find file containing module: \'jelly_data_async\'\n        jelly_data_async\n        ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/2084115/rtl/video/jelly_video_parameter_update.v:223: Cannot find file containing module: \'jelly_stream_delay\'\n    jelly_stream_delay\n    ^~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s), 5 warning(s)\n'
function [WB_DAT_WIDTH-1:0] reg_mask(
                                        input [WB_DAT_WIDTH-1:0] org,
                                        input [WB_DAT_WIDTH-1:0] wdat,
                                        input [WB_SEL_WIDTH-1:0] msk
                                    );
    integer i;
    begin
        for ( i = 0; i < WB_DAT_WIDTH; i = i+1 ) begin
            reg_mask[i] = msk[i/8] ? wdat[i] : org[i];
        end
    end
    endfunction
function [WB_DAT_WIDTH-1:0] reg_mask(
                                        input [WB_DAT_WIDTH-1:0] org,
                                        input [WB_DAT_WIDTH-1:0] wdat,
                                        input [WB_SEL_WIDTH-1:0] msk
                                    );

    integer i;
    begin
        for ( i = 0; i < WB_DAT_WIDTH; i = i+1 ) begin
            reg_mask[i] = msk[i/8] ? wdat[i] : org[i];
        end
    end
    endfunction