jmackenz Posted July 16, 2013 Report Share Posted July 16, 2013 I'm attempting to do an instance override on a parametrized type in UVM, but I can't seem to set a correct path to the instance I want to override. The code below factory.set_inst_override_by_type(typical_item#(1, 1)::get_type(), typical_item_1#(1, 1)::get_type(), override_path); works if override_path == "*" which is matching everything and thus doing in essence a type override - not what I want. If I try to be more specific (even entering something like uvm_test_top) no instances are overridden. Is there a way to find out the correct instance path to some sequence so I can use it in my override call? Quote Link to comment Share on other sites More sharing options...
uwes Posted July 17, 2013 Report Share Posted July 17, 2013 hi, how do you create your item? ::create*()? new()? inside the uvm_do's ? /uwe Quote Link to comment Share on other sites More sharing options...
jmackenz Posted July 17, 2013 Author Report Share Posted July 17, 2013 I use ::create to create my items. The issue was that I was trying to use a path to a sequence, when sequences don't really have paths. More info here: https://verificationacademy.com/cookbook/Sequences/Overrides 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.