In reply to MLearner:
Hi,
-
Yes. To collect each frame you need to count SCL. You should also collect address along with data, to update memory model inside monitor. Having memory model in monitor is good way to check data integrity.
-
If you only want to collect data, then observe start condition from monitor and count SCL.
-
For back to back read also, once you monitor START condition, collect data on every positive transition of SCL until STOP condition/SCL count.
-
You are correct there. While reading āZā should be driven from driver after first frame. After driving Address and Read bit, you can have āZā assignment.