I have a dut with SPI interface.
And inside the dut there is a register which can be set to 1 to make MISO tristate.
Thus, when this register is 1, reading from the dut through SPI will only get Z value which of course isn’t the true register value.
So, to let the components react to the cases when this register is 1 correctly, should I access the mirror of this register in my spi monitor to decide whether to write to mon_ap,
or access the mirror of this register in write() in my custom reg predictor to decide whether to skip the prediction?