data/full_repos/permissive/412284801/decade_counter/decade_counter.v
1: b'%Warning-UNSIGNED: data/full_repos/permissive/412284801/decade_counter/decade_counter.v:6: Comparison is constant due to unsigned arithmetic\n                                                                                         : ... In instance decade_counter\n            if(cnt >= 4\'d0 && cnt < 4\'d10)        \n                   ^~\n                   ... Use "/* verilator lint_off UNSIGNED */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module decade_counter (en, clk, cnt);
    input en, clk;
    output reg [3:0] cnt;
    always @(posedge clk) begin
        if(en) begin
            if(cnt >= 4'd0 && cnt < 4'd10)
                cnt <= cnt + 4'd1;
            else
                cnt <= 4'd0;
            end
       else
            cnt <= 4'd0;
    end
endmodule
module decade_counter (en, clk, cnt);

    input en, clk;
    output reg [3:0] cnt;
    always @(posedge clk) begin
        if(en) begin
            if(cnt >= 4'd0 && cnt < 4'd10)
                cnt <= cnt + 4'd1;
            else
                cnt <= 4'd0;
            end
       else
            cnt <= 4'd0;
    end
endmodule