CREATE

  • Create() Vs new()

    In short: In UVM you build objects and components with the factory call type_id::create() instead of the plain constructor new(). Both end up calling new(), but create() first asks the factory which class to build, so a single override line in a test can swap one class for another without editing the code that builds…