data/full_repos/permissive/139831595/hw/source/copyread_selector.v
1: b'%Error: data/full_repos/permissive/139831595/hw/source/copyread_selector.v:52: Cannot find file containing module: \'arbiter\'\narbiter \n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/139831595/hw/source,data/full_repos/permissive/139831595/arbiter\n             data/full_repos/permissive/139831595/hw/source,data/full_repos/permissive/139831595/arbiter.v\n             data/full_repos/permissive/139831595/hw/source,data/full_repos/permissive/139831595/arbiter.sv\n             arbiter\n             arbiter.v\n             arbiter.sv\n             obj_dir/arbiter\n             obj_dir/arbiter.v\n             obj_dir/arbiter.sv\n%Warning-WIDTH: data/full_repos/permissive/139831595/hw/source/copyread_selector.v:70: Operator ASSIGN expects 16 bits on the Assign RHS, but Assign RHS\'s VARREF \'i\' generates 32 bits.\n                                                                                     : ... In instance copyread_selector\n                    onehot_int = i;\n                               ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/139831595/hw/source/copyread_selector.v:75: Cannot find file containing module: \'select\'\nselect\n^~~~~~\n%Error: Exiting due to 2 error(s), 1 warning(s)\n'
function [15:0] onehot_int;
        input [15:0] in;
        integer i;
        begin
            onehot_int = 0;
            for (i = 15; i >= 0; i=i-1) begin
                if (in[i])
                    onehot_int = i;
            end
        end
endfunction
function [15:0] onehot_int;

        input [15:0] in;
        integer i;
        begin
            onehot_int = 0;
            for (i = 15; i >= 0; i=i-1) begin
                if (in[i])
                    onehot_int = i;
            end
        end
endfunction