Class uvm_callback_iter
uvm_callback_iter#(mycomp,mycb) iter = new(this);
for(mycb cb = iter.first(); cb != null; cb = iter.next())
cb.dosomething();
The callback iteration macros, uvm_do_callbacks and uvm_do_callbacks_exit_on provide a simple method for iterating callbacks and executing the callback methods.
Name |
Default value |
Description |
---|---|---|
T |
uvm_object |
|
CB |
uvm_callback |
Constructors
- function new ( uvm_object obj ) [source]
Creates a new callback iterator object. It is required that the object context be provided.
Functions
×
The uvm_callback_iter class is an iterator class for iterating over callback queues of a specific callback type. The typical usage of the class is: