I create an object handle in UVM usually with new
or create
to allocate memory. Is there any possible way to print about created handle information?
For example, I made the below example.
task body;
i2c_packet pkt;
pkt = i2c_packet::type_id::create("pkt");
...
i2c_packet
has bunch of variables.
After pkt
is created, can I print pkt
(uvm_sequence_item
's variables) information, and how do I know pkt
is created as well or not?