IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, April 6th at 2:00 US/Pacific.
A DUT has similar 16 interfaces, meaning same uvm_sequence_item is wiggled on input pins.
Is it possible to override and change the behavior of only one of the items?
For example: I would like to set different delays for IF#0 than for the other IFs.
Tried using next function: set_type_override
But it override all the sequences.
Since object does not have a parent, how can this be achieved?
Please not set_inst_override is restricted to uvm_components and the sequence does not have a position in the topology of the testbench. You cpuld try to relate the sequence to the sequencer path.
Why not reate a different test with the extended and the original sequences. Even using the override requires a new test.
I’m refering to
A convenience function for uvm_factory::set_inst_override_by_name, this method registers a factory override for components created at this level of hierarchy or below.
In the UVM Reference Manual and the fact a sequence itself does not have position in the topology of the testbench.
But I said also you might be able to refer to the sequencer the sequence will be executed.
I specifically asking how to override a uvm_object which does not have a position in a testbench as it does not has a parent.
And the function set_inst_override is present only under the uvm_component source code.
Open the UVM uvm_object file and look after set_inst_override, you won’t find it.
In reply to ABD_91:
Please not set_inst_override is restricted to uvm_components and the sequence does not have a position in the topology of the testbench. You cpuld try to relate the sequence to the sequencer path.
Why not reate a different test with the extended and the original sequences. Even using the override requires a new test.
I would like to create stimuli in the same test, in order to define different delays for sequences passing on IF#0, and different delays on other IFs for stress purposes.
Which factory functions are advised to achieve override of uvm_objects(and their children)? Since it does not have a test-bench topology path…
Objects like User_sequences can be created and started from Test . During create the parent argument can be used as ’ this ’
( referring to the test component ) and
overridden from Test’s build_phase() using set_inst_override with string_path as