data/full_repos/permissive/2084115/rtl/jfive/jelly2_jfive_micro_core.sv
 line:16: before: "PC_WIDTH"
1: b"%Error: data/full_repos/permissive/2084115/rtl/jfive/jelly2_jfive_micro_core.sv:517: Cannot find file containing module: 'jelly2_register_file'\n    jelly2_register_file\n    ^~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/2084115/rtl/jfive,data/full_repos/permissive/2084115/jelly2_register_file\n             data/full_repos/permissive/2084115/rtl/jfive,data/full_repos/permissive/2084115/jelly2_register_file.v\n             data/full_repos/permissive/2084115/rtl/jfive,data/full_repos/permissive/2084115/jelly2_register_file.sv\n             jelly2_register_file\n             jelly2_register_file.v\n             jelly2_register_file.sv\n             obj_dir/jelly2_register_file\n             obj_dir/jelly2_register_file.v\n             obj_dir/jelly2_register_file.sv\n%Error: Exiting due to 1 error(s)\n"
function    [SEL_WIDTH-1:0]  sel_mask(input [SIZE_WIDTH-1:0] size);
    begin
        sel_mask = 'x;
        if ( XLEN >=   8 && int'(size) == 0 )  begin sel_mask = SEL_WIDTH'({ 1{1'b1}}); end
        if ( XLEN >=  16 && int'(size) == 1 )  begin sel_mask = SEL_WIDTH'({ 2{1'b1}}); end
        if ( XLEN >=  32 && int'(size) == 2 )  begin sel_mask = SEL_WIDTH'({ 4{1'b1}}); end
        if ( XLEN >=  64 && int'(size) == 3 )  begin sel_mask = SEL_WIDTH'({ 8{1'b1}}); end
        if ( XLEN >= 128 && int'(size) == 4 )  begin sel_mask = SEL_WIDTH'({16{1'b1}}); end
    end
    endfunction
function    [SEL_WIDTH-1:0]  sel_mask(input [SIZE_WIDTH-1:0] size);

    begin
        sel_mask = 'x;
        if ( XLEN >=   8 && int'(size) == 0 )  begin sel_mask = SEL_WIDTH'({ 1{1'b1}}); end
        if ( XLEN >=  16 && int'(size) == 1 )  begin sel_mask = SEL_WIDTH'({ 2{1'b1}}); end
        if ( XLEN >=  32 && int'(size) == 2 )  begin sel_mask = SEL_WIDTH'({ 4{1'b1}}); end
        if ( XLEN >=  64 && int'(size) == 3 )  begin sel_mask = SEL_WIDTH'({ 8{1'b1}}); end
        if ( XLEN >= 128 && int'(size) == 4 )  begin sel_mask = SEL_WIDTH'({16{1'b1}}); end
    end
    endfunction