Vlog not accepting +define for UVM_REG_ADDR_WIDTH/UVM_REG_DATA_WIDTH

In reply to gowthamnirmalraj:

In reply to Tudor Timi:
Yes, you are correct. By default it imports a pre-compiled UVM library. I had to re-compile the uvm_pkg for overriding the default defines with the ones I specified and then it works.

Hi,
I also encountered the same problem and was wondering how you were able to override the default defines of the pre-compiled UVM library. Could you please tell me how?