Hi,
I am trying to implement a scoreboard which checks the HWDATA in the ahb bus and the data written into the register of apb slave using peek operation. Peek should be done only after the register in the dut is updated. AHB monitor puts the HWDATA when the transaction is initiated. But doing a peek to the register in the DUT at that instant will return the previous data.
Is there a way to know that the register in the DUT is updated with the new value so that i can do a peek to that register from the scoreboard.
Your AHB monitor should send an analysis transaction when the AHB bus completes, otherwise it may give a false positive.
I’d recommend using the UVM register package and implementing backdoor access for the register in question.