PDA

View Full Version : ovm_sequence_item vs. ovm_transaction?



alain
02-15-2008, 05:33 PM
Hi,

From what I understand, an ovm_sequence_item is a transaction object meant to be used in a sequence, is that right?

Are there cases where we should prefer one over the other?

tpylant
02-26-2008, 01:22 PM
You are correct that ovm_sequence_item is used in sequences and ovm_transaction is used when randomization is not done within a sequence, i.e. monitor, scoreboard, config object, etc.

The ovm_sequence_item is a ovm_transaction with additional capabilities to work with ovm_do and ovm_do_with.

Tim