In reply to dee-2:
Hi Dee-2,
if you even write all the location and read back you will not find the bug…
lets take 2 location “x01 and x02”
now in the RTL xo1 got connected to x02 location of the actual memory and
in the RTL xo2 got connected to x01 location of the actual memory.
In the above case both address location got swapped.
so if you write and read the location in any order you will not find the bug , because you will read the same value what you have written in the address location x01 and x02.
I hope you understood the problem…