UVM TLM Imp Port

TLM Imp Port

  • The TLM Imp Port is used to receive the transactions at destination
  • TLM Imp Ports has unidirectional and bidirectional ports

TLM Imp Port Classes

uvm_*_imp #(T,IMP)                 //unidirectional Imp port class
uvm_*_imp #(REQ, RSP,
            IMP, REQ_IMP, RSP_IMP) //bidirectional Imp port class

Type parameters,

  • T      – The type of transaction to be communicated by the imp
  • IMP – The type of the component implementing the interface. That is the class to which this imp will delegate.
  • REQ_IMP – The component type that implements the request side of the interface. Defaults to IMP. For master and slave imps only.
  • RSP_IMP – The component type that implements the response side of the interface. Defaults to IMP. For master and slave imps only.

Port Methods

new

This is a constructor method used for the creation of TLM Imp Port.

Transport imp constructor

function new(string name, IMP imp)

Master and slave imp constructor

function new(string name, IMP imp,
             REQ_IMP req_imp=imp, RSP_IMP rsp_imp=imp)

The name and parent are the standard uvm_component constructor arguments.

Summary of TLM Imp ports

TLM Imp Ports
TLM Imp Ports

Next Section: TLM FIFO

For TLM Examples refer to TLM Examples
❮ Previous Next ❯