Hi,
While i tried to write into register in design by using write() method. m_desired value is updating to written value but m_mirrored is getting zero value.
While i tried to read from register in design by using read() method. m_desired value is updating to readback value but m_mirrored is getting zero value.
I used get() method to get desired value and get_mirrored_value to get mirroed value for both operations.
While doing read operation, the bus2reg method is called only once.I am driving at posedge clk and calling write method in monitor at negedge clk.
Please give me the solution for this. I have provided the eda link below.
Thanks & regards,
sairam