Jump to content

hokiejerm

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. I have a UVC that has multiple agents, each with a single sequencer. I want to use the factory to do instance overrides on a per agent basis. So lets assume I have 2 agents, and the sequencer hierarchy looks like this: env.agent0.sequencer env.agent1.sequencer These sequencers create uvm_sequence_items, but suppose we want to override this on agent1. Lets define a class called my_sequence_item which extends uvm_sequence_item. I can use a factory instance override like so: uvm_sequence_item::type_id::set_inst_override(my_sequence_item::get_type(), "env.agent1.*"); This works as you wou
×
×
  • Create New...