# Vsim-3978: Illegal assignment to class: Why is my override parameter not fully applied in my derived class?

**URL:** <https://verificationacademy.com/forums/t/vsim-3978-illegal-assignment-to-class-why-is-my-override-parameter-not-fully-applied-in-my-derived-class/29749>\
**Category:** UVM\
**Tags:** UVM, uvm\_sequence\_item, derived-class, uvm\_sequence\
**Created:** [July 29, 2014, 2:42am UTC](https://verificationacademy.com/forums/t/vsim-3978-illegal-assignment-to-class-why-is-my-override-parameter-not-fully-applied-in-my-derived-class/29749 "2014-07-29T02:42:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [July 29, 2014, 7:00am UTC](https://verificationacademy.com/forums/t/vsim-3978-illegal-assignment-to-class-why-is-my-override-parameter-not-fully-applied-in-my-derived-class/29749/2 "2014-07-29T07:00:48Z")

</div>

Your problem is you are not using the correct factory registration macros.  
Use `uvm\_component\_param\_utils(k\_sequencer#(SEQ)) and similar \*\_param\_utils macros for the other parametrized classes.

You should have gotten a warning similar to

```verilog
** at file.sv(5): (vlog-2181) Use of a parameterized class k_sequencer as a type creates a default specialization.

```

That is a clue that you had referenced a parameterized class without a parameter list.

---

_[View the full topic](https://verificationacademy.com/forums/t/vsim-3978-illegal-assignment-to-class-why-is-my-override-parameter-not-fully-applied-in-my-derived-class/29749)._
