data/full_repos/permissive/515624136/rtl/INS_MEM.sv
1: b'%Warning-WIDTH: data/full_repos/permissive/515624136/rtl/INS_MEM.sv:122: Bit extraction of array[255:0] requires 8 bit index, not 10 bits.\n                                                                       : ... In instance INS_MEM\n  Ram_Array[Shift_Addr]<=INS_MEM_Data_In;\n           ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/515624136/rtl/INS_MEM.sv:126: Bit extraction of array[255:0] requires 8 bit index, not 10 bits.\n                                                                       : ... In instance INS_MEM\n  INS_MEM_Data_Out<=Ram_Array[Shift_Addr];\n                             ^\n%Error: Exiting due to 2 warning(s)\n'
function void load_ram(integer file);
	
	integer Status;
	
	Status  = $fread(reg32_data,file);
	for(integer i=0; Status ==4; i=i+1)
	begin	

		Ram_Array[i]=((reg32_data&32'h000000ff) << 24) + ((reg32_data&32'h0000ff00) << 8) + ((reg32_data&32'h00ff0000) >> 8) + ((reg32_data&32'hff000000) >> 24);
		Status  = $fread(reg32_data,File_ID);
	end

	$fclose(file);

endfunction
function void load_ram(integer file);

	
	integer Status;
	
	Status  = $fread(reg32_data,file);
	for(integer i=0; Status ==4; i=i+1)
	begin	

		Ram_Array[i]=((reg32_data&32'h000000ff) << 24) + ((reg32_data&32'h0000ff00) << 8) + ((reg32_data&32'h00ff0000) >> 8) + ((reg32_data&32'hff000000) >> 24);
		Status  = $fread(reg32_data,File_ID);
	end

	$fclose(file);

endfunction