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.