Download Public Interface

Transcript
static bit [1:0] ACT_STARTED
An object is present in the active slot, it has been started and it is
not complete yet. The object is being processed by the
downstream transactor.
static bit [1:0] ACT_COMPLETED
An object is present in the active slot and has been processed by
the downstream transactor, but it has not yet been removed by
the downstream transactor.
These symbolic values are also available as macro prefixed with
“rvm_channel__” (e.g. rvm_channel_class::NO_ACTIVE is also
available as rvm_channel__NO_ACTIVE).
function class_name tee_t()
When the tee mode is ON, retrieve a copy of the transaction
descriptor references that have been retrieved by the get_t() or
activate_t() methods. The function will block until one of the
get_t() or activate_t() methods successfully completes.
Used to fork off a second stream of references to the transaction
descriptor stream. Note that the transaction descriptors
themselves are not copied. The references returned by this
method are referring to the same transaction descriptor
instances obtained by the get_t() and activate_t().
function bit tee_mode(bit is_on)
Turn the tee mode ON or OFF for this channel. Returns TRUE if
the tee mode was previously ON. A thread blocked on a tee_t()
method call will not resume execution if the tee mode is turned
off. If the stream of references is not drained via the tee_t()
method, data will accumulate in the secondary channel when the
tee mode is ON.
Class Reference: Transaction Interface Class - rvm_channel
A-30