Issue in ahp_apb score board

in the below eda playground link we can find ahb_to apb bridge code score board logic is not working

In reply to Prudhvi Krishna :

Could you please describe the wrong behavior?

As you can run in EDA playground the score AHB write address is not matched with APB write address .
it may the problem with scoreboard logic .
haddr in sb=12
paddr in sb=24
ahb_address ‘not’ matched with apb_address
a.hwdata[0]=212 b.wrdata[0]=231
hwdata write not equal to pwdata
a.hwdata[1]=218 b.wrdata[1]=0
hwdata write not equal to pwdata
a.hwdata[2]=248 b.wrdata[2]=0
hwdata write not equal to pwdata
a.hwdata[3]=231 b.wrdata[3]=0
hwdata write not equal to pwdata
ahb_monitior read task

It the simulation output you can go through it

In reply to Prudhvi Krishna :

In your ahb_sequence you are writing to a randomized address, but you are reading from the fixed address 12. Is this correct?
Your problem seems to be in the design. Visiting the waveform I see prdata = 0.
This is exactly what you have in the SB.