In reply to haitao73:
Thank you for reply. Well, it seemed that I didn’t express the situation clearly, please allow me to make an example:
DUT has two types of interface:ahb & axi. Now ahb send a size_16_bits incr4 WRITE transfer with address:0x12, 0x14, 0x16, 0x18,begin at time 0ns, end at time 8ns. At time 4ns, axi send a size_32_bits READ transfer, starting address is 0x10, length is 2.
Because ahb & ahi has a different data path delay, it’s hard to determine which one arrive internal memory port first. If ahb first, the axi will read the updated data from memory in DUT, otherwise it will read the data before ahb updating. But reference model is non-time-consumption, the axi will always read the updated data out from memory in model. So it’s necessary to avoid read the same addreas whice have been writen during a short time span.
I think it’s difficult to ganerater the specific transaction to each driver. Also set a previous operation flag is not the solution.