Vlog not accepting +define for UVM_REG_ADDR_WIDTH/UVM_REG_DATA_WIDTH

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.