In reply to Muthamizh:
Because I do not know what uvm_sd_allfiles.sv and uvm_sd_tbtop.sv is I can’t answer your question. ‘Failed to find name ‘type_id’ in specified scope’ points to a problem with the macros.