data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v
1: b'%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:122: Operator ASSIGNW expects 4 bits on the Assign RHS, but Assign RHS\'s SUB generates 32 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\nassign M_AXI_AWLEN = C_M_AXI_BURST_LEN - 1;\n                   ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:123: Operator ASSIGNW expects 3 bits on the Assign RHS, but Assign RHS\'s FUNCREF \'clogb2\' generates 32 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\nassign M_AXI_AWSIZE = clogb2(C_S_AXIS_DATA_WIDTH / 8);\n                    ^\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:128: Operator ASSIGNW expects 32 bits on the Assign RHS, but Assign RHS\'s REPLICATE generates 128 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\nassign M_AXI_WDATA = {C_INUM{m_axis_tdata}};\n                   ^\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:170: Operator EQ expects 32 bits on the LHS, but LHS\'s VARREF \'burst_index\' generates 5 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\n  if ((((burst_index == (C_M_AXI_BURST_LEN - 2)) && (C_M_AXI_BURST_LEN >= 2)) && (t_active == 1\'b1)) || (C_M_AXI_BURST_LEN == 1)) begin\n                     ^~\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:194: Operator ASSIGNDLY expects 4 bits on the Assign RHS, but Assign RHS\'s VARREF \'C_WMSK\' generates 32 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\n  axi_wstrb <= C_WMSK;\n            ^~\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:205: Operator NEQ expects 32 bits on the LHS, but LHS\'s VARREF \'burst_index\' generates 5 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\n   if ((t_active == 1\'b1) && (burst_index != (C_M_AXI_BURST_LEN - 1))) begin\n                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:232: Operator ASSIGNDLY expects 4 bits on the Assign RHS, but Assign RHS\'s VARREF \'C_WMSK\' generates 32 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\n     axi_wstrb <= C_WMSK;\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:235: Operator ASSIGNDLY expects 4 bits on the Assign RHS, but Assign RHS\'s MUL generates 32 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\n     axi_wstrb <= axi_wstrb * (C_WMSK + 1);\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:230: Operator EQ expects 32 bits on the LHS, but LHS\'s VARREF \'bindex\' generates 1 bits.\n                                                                                            : ... In instance mdma_m_axi_full_s2mm\n    if (bindex == (C_BNUM - 1)) begin\n               ^~\n%Error: data/full_repos/permissive/204646149/mdma_1.0/hdl/mdma_m_axi_full_s2mm.v:268: Cannot find file containing module: \'mdma_fifo\'\nmdma_fifo #(\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/204646149/mdma_1.0/hdl,data/full_repos/permissive/204646149/mdma_fifo\n             data/full_repos/permissive/204646149/mdma_1.0/hdl,data/full_repos/permissive/204646149/mdma_fifo.v\n             data/full_repos/permissive/204646149/mdma_1.0/hdl,data/full_repos/permissive/204646149/mdma_fifo.sv\n             mdma_fifo\n             mdma_fifo.v\n             mdma_fifo.sv\n             obj_dir/mdma_fifo\n             obj_dir/mdma_fifo.v\n             obj_dir/mdma_fifo.sv\n%Error: Exiting due to 1 error(s), 9 warning(s)\n'
function integer clogb2;
    input [31:0]value;
    begin
        value = value - 1;
        for (clogb2 = 0; value > 0; clogb2 = clogb2 + 1) begin
            value = value >> 1;
        end
    end
endfunction
function integer clogb2;

    input [31:0]value;
    begin
        value = value - 1;
        for (clogb2 = 0; value > 0; clogb2 = clogb2 + 1) begin
            value = value >> 1;
        end
    end
endfunction