Jump to content
tretterch

factory type override of sequence item does not work

Recommended Posts

Hi,

following code that comes with the crave example does not override the sequence item type used by the test:

jelly_bean_transaction::type_id::set_type_override(sugar_free_jelly_bean_transaction::get_type());

neither does:

uvm_set_type_override(jelly_bean_transaction::get_type(), sugar_free_jelly_bean_transaction::get_type());

Which in my opinion should work as it is a type override on a uvm_object type and furthermore is a derived class of jelly_bean_transaction that only adds a constraint to the class.

Any clue why this does not work but overriding a type derived from uvm_component does ?

Thanks in advance,

Tretter Ch.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×