UVM Interview Questions
UVM Interview Questions
Conceptually, sort of. Sequences are objects whose body() method is used to generate
sequence_items to be sent to the driver.
A virtual sequence is a sequence that controls the execution of other sequences and almost never
generates sequence_items itself. This is different from a sequence_library which is a sequence that
lets you pick from a group of sequences that are registered with the library.
Quote:
Shall i use virtual sequence on different agent sequencers? how it can be done?
A virtual sequence contains pointers to agent sequencers so you start other sequences on those
sequencers.
What is super keyword? What is the need of calling super.build() and super.connect()?
A: super is a keyword. It is used inside a sub-class method definition to call a method
defined in the super class. Private methods of the super-class cannot be called. Only public
and protected methods can be called by the super keyword. It is also used by class
constructors to invoke constructors of its parent class.
What is p_sequencer?
A: p_sequencer usage in UVM !!!
UVM sequences generally do not have access to the TLM ports In that case the TLM ports and other
features available in the sequencer can be accessed from the sequence using p_sequencer
reference. This feature is very useful in a layering scenario when higher level sequence is layered into
the lower level sequence.
TLM FIFO is used to synchronize data flow between producer and. consumer. So, the
producer puts the transaction into the TLM FIFO fifo, while the. consumer independently
gets the transaction from the FIFO.