APB Slave rdata is always X

In reply to chr_sue:

Hi Chris,
I dont see anything wrong in the code. In the waves i dont the address actually changing for read and write. I added conver2string print for rdata. which part of the monitor code is wrong?