In reply to swatisatpathy10:
BTW this is not a UVM question, but a general memory verification question. To verify this a couple of different strategies was developped and used. And here UVM comes back into the game. UVM provides base-classses to verify memories. For more details see the corresponding sequences.For more details see the UVM reference manual (register layer/test sequences).