What is the difference between ovm_transaction and ovm_sequence_item?

In reply to murali anumanth:

hi mpattaje,

Thank you for your fruitful reply.
i got you, u are saying “to use ovm_sequence_item instead of ovm_trasaction and all the methods of ovm_transaction is also applicable for ovm_sequence_item as it is its subclass”.Till here its clear for me.

but my doubt is where do i actually declare write_addr_phase(wap) and write_data_phase(wdp) and so on…? How can i differentiate these phases seperatly??

please , can you give example of basic model of how my ovm_sequence_item should be for axi protocol???

Thanking You,
Murali.A