data/full_repos/permissive/417288846/List_3/Task_1/div_3.v
1: b'%Warning-WIDTH: data/full_repos/permissive/417288846/List_3/Task_1/div_3.v:17: Input port connection \'num\' expects 5 bits on the pin connection, but pin connection\'s SEL generates 4 bits.\n                                                                             : ... In instance div_3\n    rem_3 r1(.num(num[3:0]), .result(segment[0]));\n              ^~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module rem_3(input [4:0] num, output [4:0] result);
    assign result = num < 5'h03 ? num     :
                    num < 5'h06 ? num - 3 :
                    num < 5'h09 ? num - 6 :
                    num - 9;
endmodule
module rem_3(input [4:0] num, output [4:0] result);

    assign result = num < 5'h03 ? num     :
                    num < 5'h06 ? num - 3 :
                    num < 5'h09 ? num - 6 :
                    num - 9;
endmodule