data/full_repos/permissive/515562880/Decade_Counter.v
1: b'%Warning-UNSIGNED: data/full_repos/permissive/515562880/Decade_Counter.v:10: Comparison is constant due to unsigned arithmetic\n                                                                           : ... In instance decade_counter\n       if ( count>=4\'d0 && count<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, clock, count);
input en, clock; 
 output reg [3:0] count;
  
  always @( posedge clock)
    begin
      if(en) 
        begin
          
    	  if ( count>=4'd0 && count<4'd10)
      	  count<=count+4'd1;
           
       	 else
          count<=4'd0;
          
        end
      
      else 
        count<=4'd0;
    end
endmodule
module decade_counter(en, clock, count);

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