Quote:
Originally Posted by Annihilannic
Should the data always be received in the order it was sent? If so, try this:
Code:
awk '/TX/ { print $NF }' datafile > sent
awk '/RX/ { print $NF }' datafile > received
diff sent received
|
Thanks for your reply..& Sorry If I misguided you..
No its not like that data is not recevied until unless I specify to read exclusively . Think of as a RAM( Read access Memory)
I writes to RAM by specifing TXADDR & TXDATA and I retrives the data when I specify that address with RXADDR , I get RXDATA ie, last written on that addresss.
Actually Wrrtting and reading are independent of each other.
Once I give TXADDR & TXDATA (5 burst - In INPUT FILE you can see five lines of input data contineously). Then after that I am going to Read those values when RXADDR comes ..
Suppose I am writting to the same address twice then reading from that address then it ll read the lastest value that is written to that address.
Thanks
user_prady