In reply to dddvlsique:
I had edited my answer because i misinterpreted the scenario sorry for that.
Let’s say so you have an issue with this reg A1, so you write data in A1 using reg write, but the data is lost or doesn’t go there due to a bug. But reading such address A3 you will find some data supposed to be written in A1. In this case what suggested by chr_sue will work perfectly since the order of the operation matters.
- You get all the regs from the map
- You shuffle them
- You do read after write on each reg
This test requires to be repeated few times to change access order. Regards