In reply to dave_59:
Hi Dave,
typdef shr_entry_s is defined in the package and this package is imported, where I am defining nvx_aes_shr_ram_c class. Error is coming from underlined declaration.
class nvx_aes_shr_ram_c extends uvm_object;
/** UVM Object Utility macro */
`uvm_object_utils(nvx_aes_shr_ram_c)
rand shr_entry_s shr[1023:0];
rand rlut_entry_s rlut[1:0];
/** Constraints */
Thanks,
Nainesh