rahulkumarkhokher Posted May 12, 2015 Report Share Posted May 12, 2015 Hi All, For set_type_override_by_type and set_inst_override_by_type, I am seeing same definition in uvm user guide as given below. set_type_override_by_type : A convenience function for uvm_factory::set_type_override_by_type, this method registers a factory override for components and objects created at this level of hierarchy or below. set_inst_override_by_type : A convenience function for uvm_factory::set_inst_override_by_type, this method registers a factory override for components and objects created at this level of hierarchy or below Please let me know what is difference between these two type of override? Thanks, Rahul Kumar Quote Link to comment Share on other sites More sharing options...
sega Posted May 12, 2015 Report Share Posted May 12, 2015 Hi, set_inst_override_by_type configure factory to create an object of override type when request made to create an object for original type using context that matches the full_inst_path string argument. set_type_override_by_type configure factory to create an object of override type when request made to create an object for original type. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.