svt_downstream_imp Class Reference

Inheritance diagram for class svt_downstream_imp:

List of all members.


Detailed Description

This class defines a component which can be used to translate input from a downstream 'put' or 'analysis' port.



Public Member Functions

function bit  can_put ( )
task   get_next_xact ( ref T next_xact )
function void  new ( string name = "svt_downstream_imp", uvm_component parent = null )
task   put ( T t )
function bit  try_put ( input T t )
function void  write ( input T arg )

Class Parameters

type  T = svt_sequence_item

Protected Attributes

protected T  next_xact_q [$] 


Member Function Documentation

  function bit
 svt_downstream_imp::can_put

 (   ) 


Put port 'can_put' method implementation.

Return values - Indicates whether a put is safe (1) or will result in a loss of previous values (0).

  task
 svt_downstream_imp::get_next_xact

 (  ref T next_xact  ) 


Method designed to make it easy to wait for the arrival of the next incoming transaction.

  function void
 svt_downstream_imp::new

 (  string name = "svt_downstream_imp", uvm_component parent = null  ) 


CONSTRUCTOR: Create a new downstream implementor instance.

 Superseded functions 
 uvm_component :: new 

  task
 svt_downstream_imp::put

 (  T t  ) 


Put port 'put' method implementation. Note that any previous 'put' transaction will not be lost if there has not been an intervening 'get'.

t - The transaction that is being submitted.

  function bit
 svt_downstream_imp::try_put

 (  input T t  ) 


Put port 'try_put' method implementation.

t - The transaction that is being submitted.

Return values - Indicates whether the put was accomplished (1) or not (0).

  function void
 svt_downstream_imp::write

 (  input T arg  ) 


Analysis port 'write' method implementation.

arg - The transaction that is being submitted.


Class Parameters Documentation

 type  attribute
 svt_downstream_imp::T = svt_sequence_item


Member Attribute Documentation

 protected T  attribute
 svt_downstream_imp::next_xact_q[$]


Queue for next incoming transaction coming in from the downstream provider.