UVM utility macros

In reply to verif_learner:

In reply to dave_59:
Does it mean that we don’t need to use:

`uvm_field_int(addr, UVM_ALL_ON)

I am under the impression that these are needed in order to automate basic operations in a component and item (e.g. copy, print etc.)

When you don’t use the field macros, you need to implement the do_copy, do_print, etc methods yourself. I say go ahead and use the macros, just be sure to run a profile to see if their slow performance is impacting you.

Sure their inefficient, but manually implementing those methods is also an inefficient use of your time, which is a much more valuable resource. A profile will tell you where your optimization efforts will return the most performance for the least amount of effort. If it’s manually reimplementing these methods, then your in luck, you have a simple straight forward job to do.