data/full_repos/permissive/514758517/divider.v
1: b'%Warning-WIDTH: data/full_repos/permissive/514758517/divider.v:11: Operator DIVS expects 9 bits on the LHS, but LHS\'s VARREF \'in1\' generates 5 bits.\n                                                                 : ... In instance divide\n        out_div <= in1 / in2;\n                       ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/514758517/divider.v:11: Operator DIVS expects 9 bits on the RHS, but RHS\'s VARREF \'in2\' generates 5 bits.\n                                                                 : ... In instance divide\n        out_div <= in1 / in2;\n                       ^\n%Error: Exiting due to 2 warning(s)\n'
module divide(in1 , in2 , out_div);
  
  input signed [4:0]in1;
  input signed [4:0]in2;
  output reg signed [8:0]out_div;
  
  always@(in1 , in2)
    begin
      if(in2 != 0)
        out_div <= in1 / in2;
      else
        out_div <= 0;
    end
  

  
endmodule
module divide(in1 , in2 , out_div);

  
  input signed [4:0]in1;
  input signed [4:0]in2;
  output reg signed [8:0]out_div;
  
  always@(in1 , in2)
    begin
      if(in2 != 0)
        out_div <= in1 / in2;
      else
        out_div <= 0;
    end
  

  
endmodule