# \#uvm-factory

**URL:** https://verificationacademy.com/forums/tag/6800-tag/6800.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Why create method is not part of uvm\_object\_wrapper?](https://verificationacademy.com/forums/t/why-create-method-is-not-part-of-uvm-object-wrapper/51703)

<div class="topic-metadata">

**Author:** [@HepoH](https://verificationacademy.com/forums/u/HepoH)\
**Replies:** 3\
**Last updated:** [July 10, 2026, 7:14pm UTC](https://verificationacademy.com/forums/t/why-create-method-is-not-part-of-uvm-object-wrapper/51703 "2026-07-10T19:14:34Z")

</div>

uvm\_object\_registry and uvm\_component\_registry implements following methods \[IEEE 1800.2-2020, section 8.2.4 and 8.2.3 respectivelly\]: create\_object/component get\_type\_name get create set\_type\_override set\_inst\_overrid…

---

## [UVM FACTORY Example Usage](https://verificationacademy.com/forums/t/uvm-factory-example-usage/51498)

<div class="topic-metadata">

**Author:** [@Mahesh\_6](https://verificationacademy.com/forums/u/Mahesh_6)\
**Replies:** 2\
**Last updated:** [December 18, 2025, 1:13am UTC](https://verificationacademy.com/forums/t/uvm-factory-example-usage/51498 "2025-12-18T01:13:54Z")

</div>

Hi All, \`include "uvm\_macros.svh" import uvm\_pkg::\*; class packet extends uvm\_component; \`uvm\_component\_utils(packet) function new(string name, uvm\_component parent); super.new(name, parent); endfunctio…

---

## [Override by type with name conflicts](https://verificationacademy.com/forums/t/override-by-type-with-name-conflicts/47897)

<div class="topic-metadata">

**Author:** [@nimrodw1](https://verificationacademy.com/forums/u/nimrodw1)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 12:06am UTC](https://verificationacademy.com/forums/t/override-by-type-with-name-conflicts/47897 "2024-07-24T00:06:29Z")

</div>

I can’t use set\_type\_override\_by\_type() if the parent class has a “name-duplicate” in another package. The packages and the classes: package a\_pkg; import uvm\_pkg::\*; class parent\_obj extends uvm\_object; \`…

---

## [How to execute a recursive factory override?](https://verificationacademy.com/forums/t/how-to-execute-a-recursive-factory-override/40715)

<div class="topic-metadata">

**Author:** [@UVM\_LOVE](https://verificationacademy.com/forums/u/UVM_LOVE)\
**Replies:** 2\
**Last updated:** [August 6, 2022, 9:20am UTC](https://verificationacademy.com/forums/t/how-to-execute-a-recursive-factory-override/40715 "2022-08-06T09:20:50Z")

</div>

Hi, I’m trying to execute a simple UVM factory example. When I try a recursive override, I got the error message UVM\_ERROR @ 0: reporter \[OVRDLOOP\] Recursive loop detected while finding override. If I want to execute…

---

## [UVM Factory type\_id::create singleton invocation](https://verificationacademy.com/forums/t/uvm-factory-type-id-create-singleton-invocation/40477)

<div class="topic-metadata">

**Author:** [@atalur](https://verificationacademy.com/forums/u/atalur)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 3:45pm UTC](https://verificationacademy.com/forums/t/uvm-factory-type-id-create-singleton-invocation/40477 "2022-06-02T15:45:07Z")

</div>

Going through the UVM base class code for uvm\_registry and the create\_component function, I am confused. So please pardon my ignorance here. The create calls create\_component\_by\_type() which invokes a get() that is a si…

---

## [Why we don't register TLM ports into the UVM Factory](https://verificationacademy.com/forums/t/why-we-dont-register-tlm-ports-into-the-uvm-factory/39895)

<div class="topic-metadata">

**Author:** [@MichaelP](https://verificationacademy.com/forums/u/MichaelP)\
**Replies:** 1\
**Last updated:** [December 17, 2021, 1:29pm UTC](https://verificationacademy.com/forums/t/why-we-dont-register-tlm-ports-into-the-uvm-factory/39895 "2021-12-17T13:29:49Z")

</div>

Hi VA, In all available code examples, I have never seen even once registering the various TLM connections(analysis, ports, exports, tlm\_fifo) into the UVM Factory. Any ideas why? Thanks, Michael

---

## [Why set\_type\_override() is always called after super.build()](https://verificationacademy.com/forums/t/why-set-type-override-is-always-called-after-super-build/39670)

<div class="topic-metadata">

**Author:** [@aaaaaa](https://verificationacademy.com/forums/u/aaaaaa)\
**Replies:** 1\
**Last updated:** [October 8, 2021, 7:14am UTC](https://verificationacademy.com/forums/t/why-set-type-override-is-always-called-after-super-build/39670 "2021-10-08T07:14:28Z")

</div>

Is it because uvm component structure need to be built first?

---

## [Two child classes with same base class override each other](https://verificationacademy.com/forums/t/two-child-classes-with-same-base-class-override-each-other/39010)

<div class="topic-metadata">

**Author:** [@jeremy\_prettyderby](https://verificationacademy.com/forums/u/jeremy_prettyderby)\
**Replies:** 2\
**Last updated:** [April 24, 2021, 6:29pm UTC](https://verificationacademy.com/forums/t/two-child-classes-with-same-base-class-override-each-other/39010 "2021-04-24T18:29:48Z")

</div>

I wonder if it is possible to override another class through set\_type\_override\_by\_type which has same base class. For example. Class A extends uvm\_object … endclass Class B extends uvm\_object … endclass it’s poss…

---

## [Reporter \[FCTTYP\] Factory did not return a component of type '\<unknown\>'. A component of type 'uvm\_agent' was returned instead. Name=apb\_agent\[0\] Parent=uvm\_env contxt=uvm\_test\_top.\_\_CPU\_ENV\_\_](https://verificationacademy.com/forums/t/reporter-fcttyp-factory-did-not-return-a-component-of-type-unknown-a-component-of-type-uvm-agent-was-returned-instead-name-apb-agent-0-parent-uvm-env-contxt-uvm-test-top-cpu-env/37900)

<div class="topic-metadata">

**Author:** [@kishore123](https://verificationacademy.com/forums/u/kishore123)\
**Replies:** 2\
**Last updated:** [August 6, 2020, 1:47pm UTC](https://verificationacademy.com/forums/t/reporter-fcttyp-factory-did-not-return-a-component-of-type-unknown-a-component-of-type-uvm-agent-was-returned-instead-name-apb-agent-0-parent-uvm-env-contxt-uvm-test-top-cpu-env/37900 "2020-08-06T13:47:42Z")

</div>

Hi, I encountered a issue with factory override. Let me explain what I am doing. In the agent pkg, a class is parameterized with default values. In the top level package, a extended class is derived from the above class…

---

## [Passing interface directly to driver in UVM?](https://verificationacademy.com/forums/t/passing-interface-directly-to-driver-in-uvm/36471)

<div class="topic-metadata">

**Author:** [@Sv-hustler](https://verificationacademy.com/forums/u/Sv-hustler)\
**Replies:** 5\
**Last updated:** [September 4, 2019, 10:24am UTC](https://verificationacademy.com/forums/t/passing-interface-directly-to-driver-in-uvm/36471 "2019-09-04T10:24:18Z")

</div>

How to pass interface directly to driver without sending them through config\_db from top?

---

## [Any use case where we should be creating a new transaction(using factory create) for every iteration in a sequence?](https://verificationacademy.com/forums/t/any-use-case-where-we-should-be-creating-a-new-transaction-using-factory-create-for-every-iteration-in-a-sequence/36044)

<div class="topic-metadata">

**Author:** [@sj1992](https://verificationacademy.com/forums/u/sj1992)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 9:19pm UTC](https://verificationacademy.com/forums/t/any-use-case-where-we-should-be-creating-a-new-transaction-using-factory-create-for-every-iteration-in-a-sequence/36044 "2019-05-02T21:19:14Z")

</div>

Hi, Can someone provide me an example where we should be creating a new transaction(using factory create) for every iteration in a sequence? I know that using the same object helps in terms of performance and since we …

---

## [How to resolve this error](https://verificationacademy.com/forums/t/how-to-resolve-this-error/35745)

<div class="topic-metadata">

**Author:** [@Sree\_N](https://verificationacademy.com/forums/u/Sree_N)\
**Replies:** 25\
**Last updated:** [February 14, 2019, 3:30pm UTC](https://verificationacademy.com/forums/t/how-to-resolve-this-error/35745 "2019-02-14T15:30:01Z")

</div>

\*\* Error: (vlog-13069) E:/uvmp/sequence\_item.sv(1): near “uvm\_sequence\_item”: syntax error, unexpected IDENTIFIER. \*\* Error: E:/uvmp/sequence\_item.sv(1): Error in class extension specification.

---

## [How do I get a handle to the UVM factory?](https://verificationacademy.com/forums/t/how-do-i-get-a-handle-to-the-uvm-factory/35650)

<div class="topic-metadata">

**Author:** [@rushank27](https://verificationacademy.com/forums/u/rushank27)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 5:10pm UTC](https://verificationacademy.com/forums/t/how-do-i-get-a-handle-to-the-uvm-factory/35650 "2019-01-25T17:10:36Z")

</div>

I want to use method “find\_by\_name()” of uvm\_factory in my base\_test class which is extended from uvm\_test. class base\_test extends uvm\_test; \`uvm\_component\_utils(base\_test) .... .... endclass class basic…
