Q. As I am developing a VIP, as of now it will not have any DUT. So, I need to develop a fake DUT in BFM. For my VIP I have 2 agents MASTER and SLAVE. According to spec SLAVE will have 1400 Registers out of which approx. 1200 registers are RO. The RO registers in SLAVE basically is 'RO' for the MASTER. I mean to say here that the MASTER will not be able to write on those registers. The data contained by those registers can be read by the MASTER. But the SLAVE has to pass some datas time to time depending on some conditions.
My question is if SLAVE has to write some data on those registers which will be further read by the MASTER then how to make those registers writable for the SLAVE but READ ONLY for the MASTER?