In reply to chr_sue:
Hi,
I am trying to create the expected data for register wr_rd. I have standard file from where all the register information is preset (address, wr_mask, rd_mask) . i am driving the four value from BFM (ffff, AAAA, 5555, 0000). and DUT gives the RDATA.
I process my standard file in my test and create the data.txt (expected value ) and want to create the queue of class from data.txt (every index will have wdata, address, wr_mask, rd_mask) and based on mask value will create the r_data.
And Finally i will comapare the RDATA (comes from DUT) with expected rdata.