data/full_repos/permissive/495988601/block_address.sv
1: b'%Warning-WIDTH: data/full_repos/permissive/495988601/block_address.sv:5: Operator MODDIV expects 32 bits on the LHS, but LHS\'s VARREF \'DrawY\' generates 10 bits.\n                                                                       : ... In instance block_address\n           address = (DrawY%20) * 20 + (DrawX%20);\n                           ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/495988601/block_address.sv:5: Operator MODDIV expects 32 bits on the LHS, but LHS\'s VARREF \'DrawX\' generates 10 bits.\n                                                                       : ... In instance block_address\n           address = (DrawY%20) * 20 + (DrawX%20);\n                                             ^\n%Error: Exiting due to 2 warning(s)\n'
module  block_address ( input [9:0]   DrawX, DrawY,
								output int    address
							 );   
    always_comb begin
           address = (DrawY%20) * 20 + (DrawX%20);
	 end
    
endmodule
module  block_address ( input [9:0]   DrawX, DrawY,
								output int    address
							 );
   
    always_comb begin
           address = (DrawY%20) * 20 + (DrawX%20);
	 end
    
endmodule