Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

set_auto_predict()

$
0
0

Observation:

In  uvm_reg::write() set(value) is called immediatly while

uvm_reg::do_predict() is called at the end of the task.

In a case where auto_predict() set and an analysis port sends collected

transactions from the bus monitor to the reference model,

the analysis port write method may return before uvm_reg::do_predict() is called .

This will cause uvm_reg::get() to return the updated value but uvm_reg::get_mirrored_value() to return

the old value.


Viewing all articles
Browse latest Browse all 756

Trending Articles