data/full_repos/permissive/2084115/projects/kv260_stepper_motor/rtl/microstep_pwm_control.sv
 line:39: before: "("
1: b'%Warning-WIDTH: data/full_repos/permissive/2084115/projects/kv260_stepper_motor/rtl/microstep_pwm_control.sv:42: Operator SHIFTL expects 32 bits on the LHS, but LHS\'s VARREF \'microstep\' generates 12 bits.\n                                                                                                               : ... In instance microstep_pwm_control\n            microstep_cnv = microstep << (Q_WIDTH - MICROSTEP_WIDTH);\n                                      ^~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/2084115/projects/kv260_stepper_motor/rtl/microstep_pwm_control.sv:45: Operator SHIFTR expects 32 bits on the LHS, but LHS\'s VARREF \'microstep\' generates 12 bits.\n                                                                                                               : ... In instance microstep_pwm_control\n            microstep_cnv = microstep >> (MICROSTEP_WIDTH - Q_WIDTH);\n                                      ^~\n%Warning-WIDTH: data/full_repos/permissive/2084115/projects/kv260_stepper_motor/rtl/microstep_pwm_control.sv:94: Operator ASSIGNW expects 16 bits on the Assign RHS, but Assign RHS\'s SHIFTR generates 32 bits.\n                                                                                                               : ... In instance microstep_pwm_control\n    assign out_val = (st1_phase >> Q_WIDTH);\n                   ^\n%Error: Exiting due to 3 warning(s)\n'
function [PAHSE_WIDTH-1:0]  nanostep_cnv(input [NANOSTEP_WIDTH-1:0] nanostep);
    integer i;
    begin
        nanostep_cnv = 0;
        if ( Q_WIDTH > MICROSTEP_WIDTH ) begin
            for ( i = 0; i < NANOSTEP_WIDTH; i = i+1 ) begin
                nanostep_cnv[i] = nanostep[NANOSTEP_WIDTH-1 - i];
            end
        end
    end
    endfunction
function [PAHSE_WIDTH-1:0]  nanostep_cnv(input [NANOSTEP_WIDTH-1:0] nanostep);

    integer i;
    begin
        nanostep_cnv = 0;
        if ( Q_WIDTH > MICROSTEP_WIDTH ) begin
            for ( i = 0; i < NANOSTEP_WIDTH; i = i+1 ) begin
                nanostep_cnv[i] = nanostep[NANOSTEP_WIDTH-1 - i];
            end
        end
    end
    endfunction