How can we verify a memory whose address location is swapped

How about Pre-loading entire memory with pre-defined data using System Verilog function $readmemb or $readmemh ?

After that just read need to be done ?