data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-WIDTH: data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v:221: Operator FUNCREF \'binstr_conv\' expects 128 bits on the Function Argument, but Function Argument\'s VARREF \'C_DEFAULT_DATA\' generates 8 bits.\n                                                                                    : ... In instance dist_mem_gen_v8_0\n default_data = binstr_conv(C_DEFAULT_DATA);        \n                ^~~~~~~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v:259: Operator ASSIGN expects 6 bits on the Assign RHS, but Assign RHS\'s SUB generates 32 or 7 bits.\n                                                                                    : ... In instance dist_mem_gen_v8_0\n        max_address = C_DEPTH-1;\n                    ^\n%Warning-WIDTH: data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v:348: Operator COND expects 6 bits on the Conditional False, but Conditional False\'s CONST \'1\'h0\' generates 1 bits.\n                                                                                    : ... In instance dist_mem_gen_v8_0\n   assign dpra_int    = (((C_MEM_TYPE == 2) || (C_MEM_TYPE == 4)) ? \n                                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v:386: Operator ASSIGNW expects 16 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                                    : ... In instance dist_mem_gen_v8_0\n   assign data_sp_over = \'bx;\n                       ^\n%Warning-WIDTH: data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v:387: Operator ASSIGNW expects 16 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                                    : ... In instance dist_mem_gen_v8_0\n   assign data_dp_over = \'bx;\n                       ^\n%Warning-UNSIGNED: data/full_repos/permissive/204937464/sim/lib/dist_mem_gen_v8_0.v:381: Comparison is constant due to unsigned arithmetic\n                                                                                       : ... In instance dist_mem_gen_v8_0\n   assign dpra_is_over = (dpra_int > max_address ? 1\'b1 : 1\'b0);\n                                   ^\n%Error: Exiting due to 6 warning(s)\n'
function [C_WIDTH - 1 : 0] binstr_conv;
      input [(C_WIDTH * 8) - 1 : 0] def_data;
      integer index,i;
      begin
	 index = 0;
	 binstr_conv = 'b0;	 
	 
         for (i=C_WIDTH-1; i>=0; i=i-1)
	   begin
	      case (def_data[7:0])
		8'b00000000 : i = -1;
		8'b00110000 : binstr_conv[index] = 1'b0;
		8'b00110001 : binstr_conv[index] = 1'b1;
		default :
		  begin
		     $display("ERROR in %m at time %d ns: NOT A BINARY CHARACTER", $time);
		     binstr_conv[index] = 1'bx;
		  end
	      endcase

	      index = index + 1;
	      def_data = def_data >> 8;
	   end
	 
      end
   endfunction
function [C_WIDTH - 1 : 0] binstr_conv;

      input [(C_WIDTH * 8) - 1 : 0] def_data;
      integer index,i;
      begin
	 index = 0;
	 binstr_conv = 'b0;	 
	 
         for (i=C_WIDTH-1; i>=0; i=i-1)
	   begin
	      case (def_data[7:0])
		8'b00000000 : i = -1;
		8'b00110000 : binstr_conv[index] = 1'b0;
		8'b00110001 : binstr_conv[index] = 1'b1;
		default :
		  begin
		     $display("ERROR in %m at time %d ns: NOT A BINARY CHARACTER", $time);
		     binstr_conv[index] = 1'bx;
		  end
	      endcase

	      index = index + 1;
	      def_data = def_data >> 8;
	   end
	 
      end
   endfunction