What's advantage of using TLM port ? In sv we were using Mailbox and in UVM we are using TLM port then what's advantage?

What’s advantage of using TLM port ? In sv we were using Mailbox and in UVM we are using TLM port then what’s advantage ?

In reply to Niyati:

TLM is a mailbox implemented using standerd TLM port and export as an API to mailbox.the TLM API gives you seperation of concerns which is intern promotes re-usability and maintainablity.TLM is about communication through method calls.TLM port supplies the implementation of method.
Advantage:-

connection are between port and exports not in component
these are parameterized by xtn class.
multiple language supported(system c) where mailbox is only SV construct.
mailbox is only unidirectional.

You can go through UVM cookbook before posting questions here, as these are explained very well in the cookbook.

  • Ashith