data/full_repos/permissive/426864978/lab1/task5/scorehand.sv
1: b"%Error: data/full_repos/permissive/426864978/lab1/task5/scorehand.sv:9: Cannot find file containing module: 'mod10'\n    mod10 calc(temp, total);\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/426864978/lab1/task5,data/full_repos/permissive/426864978/mod10\n             data/full_repos/permissive/426864978/lab1/task5,data/full_repos/permissive/426864978/mod10.v\n             data/full_repos/permissive/426864978/lab1/task5,data/full_repos/permissive/426864978/mod10.sv\n             mod10\n             mod10.v\n             mod10.sv\n             obj_dir/mod10\n             obj_dir/mod10.v\n             obj_dir/mod10.sv\n%Error: Exiting due to 1 error(s)\n"
module scorehand(input [3:0] card1, input [3:0] card2, input [3:0] card3, output [3:0] total);
    wire [3:0] cval1, cval2, cval3;
    wire [4:0] temp;

    assign cval1 = (card1 <= 4'd9) ? card1 : 4'd0;
    assign cval2 = (card2 <= 4'd9) ? card2 : 4'd0;
    assign cval3 = (card3 <= 4'd9) ? card3 : 4'd0;
    assign temp = cval1 + cval2 + cval3;
    mod10 calc(temp, total);

endmodule
module scorehand(input [3:0] card1, input [3:0] card2, input [3:0] card3, output [3:0] total);

    wire [3:0] cval1, cval2, cval3;
    wire [4:0] temp;

    assign cval1 = (card1 <= 4'd9) ? card1 : 4'd0;
    assign cval2 = (card2 <= 4'd9) ? card2 : 4'd0;
    assign cval3 = (card3 <= 4'd9) ? card3 : 4'd0;
    assign temp = cval1 + cval2 + cval3;
    mod10 calc(temp, total);

endmodule