In reply to chr_sue:
In our environments all our test bench components and transaction items (objects) have parameters. I find very useful to add the bitwidth of variable members (not real behavior configuration). In other words, we can have parameterized VCs (Verification components) for different bitwidth interfaces.
That is the reason we use uvm_object_param_util/uvm_component_param_util.
Obviously if the user doesn’t want to use parameterized classes then if should use the macros you have written.
If i understood well you say that it is not recommended to use parameterized classed in the factory registration? Could you point me out where have you seen that recommendation?
Thanks