In reply to Muthamizh:
You had a few weaknesses in your testbench. The most important is a $sformatf you do not need (appears twice)
use this uvm_info instead of yours using the $sformatf which was not correct
`uvm_info("VIF", {"virtual interface handle has been set for:",get_full_name(),".vif"},UVM_LOW)
Good simulators are reporting this weakness, but suppressing the error.
After a macro there is never a ‘;’
And finally using
`uvm_create
and
`uvm_send
is not really useful. Use instead the
`uvm_do
macro or work with
start_item/finish_item
.
It is now working.
See (3) - EDA Playground