In reply to dave_59:
In reply to kangrh007:
That will not work. The read() task would only read the last addr.
Yes it wont work, but even if I am providing some sort of delay in between write and read task , then also it is reading last address only and read value is x.