In reply to yethishwar:
It is difficult to help you without seeing your code. But from the error you showed, I think there was mismatched between “new” method and “create” statement:
It seems your “packet” class is an object (extended from uvm_oject), then please make sure:
- “new” method of packet class has only one argument: new(string name = “packet”)
- “create” statement to create packet class should has one argument as well: packet::type_id::create(“packet”).