data/full_repos/permissive/143278/ivltests/vhdl_pow_rem.v
1: b"%Error: data/full_repos/permissive/143278/ivltests/vhdl_pow_rem.v:24: Cannot find file containing module: 'vhdl_pow_rem'\nvhdl_pow_rem dut(a, b, pow_res, rem_res);\n^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/143278/ivltests,data/full_repos/permissive/143278/vhdl_pow_rem\n             data/full_repos/permissive/143278/ivltests,data/full_repos/permissive/143278/vhdl_pow_rem.v\n             data/full_repos/permissive/143278/ivltests,data/full_repos/permissive/143278/vhdl_pow_rem.sv\n             vhdl_pow_rem\n             vhdl_pow_rem.v\n             vhdl_pow_rem.sv\n             obj_dir/vhdl_pow_rem\n             obj_dir/vhdl_pow_rem.v\n             obj_dir/vhdl_pow_rem.sv\n%Error: Exiting due to 1 error(s)\n"
module vhdl_pow_rem_test;
integer a, b, pow_res, rem_res;
vhdl_pow_rem dut(a, b, pow_res, rem_res);

initial begin
    a = 5;
    b = 2;

    if(pow_res != 25 || rem_res != 1) begin
        $display("FAILED 1");
        $finish();
    end

    a = -5;
    b = 3;

    if(rem_res != -2 || pow_res != -125) begin
        $display("FAILED 2");
        $finish();
    end

    $display("PASSED");
end

endmodule
module vhdl_pow_rem_test;

integer a, b, pow_res, rem_res;
vhdl_pow_rem dut(a, b, pow_res, rem_res);

initial begin
    a = 5;
    b = 2;

    if(pow_res != 25 || rem_res != 1) begin
        $display("FAILED 1");
        $finish();
    end

    a = -5;
    b = 3;

    if(rem_res != -2 || pow_res != -125) begin
        $display("FAILED 2");
        $finish();
    end

    $display("PASSED");
end

endmodule