data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v
 line:127: before: ","
1: b'%Warning-WIDTH: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:86: Operator LT expects 9 bits on the RHS, but RHS\'s VARREF \'MAXVISIBLE\' generates 8 bits.\n                                                                                   : ... In instance jtframe_credits\nwire              visible = vrender < MAXVISIBLE;\n                                    ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:94: Cannot find file containing module: \'jtframe_dual_ram\'\njtframe_dual_ram #(.dw(9), .aw(MSGW),.synfile("msg.bin"),.ascii_bin(1)) u_msg(\n^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/174323821/hdl/video,data/full_repos/permissive/174323821/jtframe_dual_ram\n             data/full_repos/permissive/174323821/hdl/video,data/full_repos/permissive/174323821/jtframe_dual_ram.v\n             data/full_repos/permissive/174323821/hdl/video,data/full_repos/permissive/174323821/jtframe_dual_ram.sv\n             jtframe_dual_ram\n             jtframe_dual_ram.v\n             jtframe_dual_ram.sv\n             obj_dir/jtframe_dual_ram\n             obj_dir/jtframe_dual_ram.v\n             obj_dir/jtframe_dual_ram.sv\n%Error: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:109: Cannot find file containing module: \'jtframe_ram\'\njtframe_ram #(.aw(10),.synfile("font0.hex")) u_font(\n^~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:137: Operator ASSIGNDLY expects 8 bits on the Assign RHS, but Assign RHS\'s ADD generates 9 bits.\n                                                                                    : ... In instance jtframe_credits\n        vdump1  <= scrpos + (tate ? hscan : vrender);\n                ^~\n%Warning-WIDTH: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:148: Operator ASSIGNDLY expects 9 bits on the Assign RHS, but Assign RHS\'s CONST \'8\'h0\' generates 8 bits.\n                                                                                    : ... In instance jtframe_credits\n        vrender  <= 8\'d0;\n                 ^~\n%Warning-WIDTH: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:386: Operator COND expects 24 bits on the Conditional True, but Conditional True\'s REPLICATE generates 15 bits.\n                                                                                    : ... In instance jtframe_credits\n        COLW==5 ? {\n                ^\n%Warning-WIDTH: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:391: Operator COND expects 24 bits on the Conditional True, but Conditional True\'s VARREF \'rgb4\' generates 12 bits.\n                                                                                    : ... In instance jtframe_credits\n        COLW==4 ? rgb4 :\n                ^\n%Warning-WIDTH: data/full_repos/permissive/174323821/hdl/video/jtframe_credits.v:385: Operator ASSIGN expects 12 bits on the Assign RHS, but Assign RHS\'s COND generates 24 bits.\n                                                                                    : ... In instance jtframe_credits\n    extend =\n           ^\n%Error: Exiting due to 2 error(s), 6 warning(s)\n'
function [COLW*3-1:0] extend;
    input [11:0] rgb4;
    extend =
        COLW==5 ? {
            rgb4[11:8], rgb4[11],
            rgb4[7:4],  rgb4[7],
            rgb4[3:0],  rgb4[3]
        } : (
        COLW==4 ? rgb4 :
        {
            rgb4[11:8], rgb4[11:8],
            rgb4[7:4],  rgb4[7:4],
            rgb4[3:0],  rgb4[3:0]
        });
endfunction
function [COLW*3-1:0] extend;

    input [11:0] rgb4;
    extend =
        COLW==5 ? {
            rgb4[11:8], rgb4[11],
            rgb4[7:4],  rgb4[7],
            rgb4[3:0],  rgb4[3]
        } : (
        COLW==4 ? rgb4 :
        {
            rgb4[11:8], rgb4[11:8],
            rgb4[7:4],  rgb4[7:4],
            rgb4[3:0],  rgb4[3:0]
        });
endfunction