Is there any support for callback in UVM or this is a completely user defined construct that testbench writers need to use?
If UVM does support, an example would help a lot.
Thanks,
Is there any support for callback in UVM or this is a completely user defined construct that testbench writers need to use?
If UVM does support, an example would help a lot.
Thanks,
In reply to verif_learner:
Callbacks should never be used in a UVM environment as they introduce unneeded complexity and dependencies which limit re-use. Instead, TLM communication should be used to co-ordinate actions between components.
In reply to cgales:
Sure. That’s what I thought while going through a book on SV based verification.
In reply to verif_learner:
The Story with the callbacks is a little bit more special.
The pre_do, mid_do and post_do helps us to make modifications in RO sequences.
It is highly recomended to deal with these callbacks when extending VIP sequence definitions.
In reply to chr_sue:
Sure. As far as the callbacks available in the framework, yes.
Uuser defined callbacks, probably no.
This is how I have interpreted …