avt_converter #(IN,OUT)

This converter is a non-functional placeholder used as a default parameter value for any adapters’ unused converters.

Summary
avt_converter #(IN,OUT)
This converter is a non-functional placeholder used as a default parameter value for any adapters’ unused converters.
Class Declaration
class avt_converter #(type IN = int,
 OUT = int)
Parameters
INThe input type to convert from.
OUTThe output type to convert to.
Methods
convertNormally implemented to convert IN transactions to OUT transactions, the convert function in this class does nothing.

IN

The input type to convert from.

OUT

The output type to convert to.

convert

static function OUT convert(IN in,  
OUT to = null)

Normally implemented to convert IN transactions to OUT transactions, the convert function in this class does nothing.  Thus, this class is a dummy-converter used in adapter’s default type parameter assignments.

The to argument allows the conversion to copy into an existing object and avoid the expense of allocation.  If to is null (default), the convert method should create a new instance of OUT, copy the fields of in to it, and return it.  If the to argument is non-null, the convert method should copy the fields of in to the corresponding fields of to, then return to.

class avt_converter #(type IN = int,
 OUT = int)
This converter is a non-functional placeholder used as a default parameter value for any adapters’ unused converters.
static function OUT convert(IN in,  
OUT to = null)
Normally implemented to convert IN transactions to OUT transactions, the convert function in this class does nothing.