data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv
1: b'%Error: data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv:4: Cannot find include file: grading/grader_itf.sv\n`include "grading/grader_itf.sv" \n         ^~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/444559342/mp1/fifo/grading,data/full_repos/permissive/444559342/grading/grader_itf.sv\n             data/full_repos/permissive/444559342/mp1/fifo/grading,data/full_repos/permissive/444559342/grading/grader_itf.sv.v\n             data/full_repos/permissive/444559342/mp1/fifo/grading,data/full_repos/permissive/444559342/grading/grader_itf.sv.sv\n             grading/grader_itf.sv\n             grading/grader_itf.sv.v\n             grading/grader_itf.sv.sv\n             obj_dir/grading/grader_itf.sv\n             obj_dir/grading/grader_itf.sv.v\n             obj_dir/grading/grader_itf.sv.sv\n%Error: data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv:5: Cannot find include file: grading/transaction_monitor.sv\n`include "grading/transaction_monitor.sv" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv:6: Cannot find include file: grading/transaction_scoreboard.sv\n`include "grading/transaction_scoreboard.sv" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv:8: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\nimport fifo_types::*;\n       ^~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv:26: Unsupported or unknown PLI call: $exit\n        $exit;\n        ^~~~~\n%Error: data/full_repos/permissive/444559342/mp1/fifo/grading/grader.sv:29: syntax error, unexpected \'@\'\n    repeat (cap_p * 1000) @(posedge itf.clk);\n                          ^\n%Error: Exiting due to 6 error(s)\n'
function automatic int findErrors(const ref logic src [time],
                                  const ref logic dst [time]);
    parameter int search_radius = 1;
    int rv = 0;
    foreach(src[t]) begin
        $display("src[%0t]", t);
        rv += 1;
        for (int i = t-search_radius; i <= t+search_radius; ++i) begin
            if (dst.exists(i)) begin
                rv -= 1;
                break;
            end
        end
    end
    return rv;
endfunction
function automatic int findErrors(const ref logic src [time],
                                  const ref logic dst [time]);

    parameter int search_radius = 1;
    int rv = 0;
    foreach(src[t]) begin
        $display("src[%0t]", t);
        rv += 1;
        for (int i = t-search_radius; i <= t+search_radius; ++i) begin
            if (dst.exists(i)) begin
                rv -= 1;
                break;
            end
        end
    end
    return rv;
endfunction