What is the difference between ovm_transaction and ovm_sequence_item?

In reply to murali anumanth:

Murali,

Your question doesn’t seem to be correct. The basic ovm_sequence_item class is extended from basic ovm_transaction class. So it is better to extend all your data (or transaction) class from the ovm_sequence_item class, rather than from ovm_transaction. It will give you more flexibilit becuase it has more features.

What do you mean by generating ovm_sequence_item? You can create an OVM sequence by using any of the data item. Data item are derived from ovm_sequence_item. You can combine addr/data & and all related stuffs to a single class, which needs to be extended from ovm_sequence_item. using that new class, you need to creatte sequences.

Let me know if you need more help in understanding.

Murali