uvm_text_recorder

UVMkit » 1800.2-2020

The uvm_text_recorder is the default recorder implementation for the uvm_text_tr_database.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

Summary
uvm_text_recorder
The uvm_text_recorder is the default recorder implementation for the uvm_text_tr_database.
Class Hierarchy
uvm_recorder
uvm_text_recorder
Class Declaration
class uvm_text_recorder extends uvm_recorder
Implementation Specific API
write_attributeOutputs a <uvm_bitstream_t> attribute to the textual log.
write_attribute_intOutputs an <uvm_integral_t> attribute to the textual log

write_attribute

function void write_attribute(
    string  nm,   
    uvm_bitstream_t  value,   
    uvm_radix_enum  radix,   
    int  numbits  =  $bits(uvm_bitstream_t)
)

Outputs a <uvm_bitstream_t> attribute to the textual log.

Parameters

nmName of the attribute
valueValue
radixRadix of the output
numbitsnumber of valid bits

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

write_attribute_int

function void write_attribute_int(
    string  nm,   
    uvm_integral_t  value,   
    uvm_radix_enum  radix,   
    int  numbits  =  $bits(uvm_bitstream_t)
)

Outputs an <uvm_integral_t> attribute to the textual log

Parameters

nmName of the attribute
valueValue
radixRadix of the output
numbitsnumber of valid bits

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

class uvm_text_recorder extends uvm_recorder
The uvm_text_recorder is the default recorder implementation for the uvm_text_tr_database.
class uvm_text_tr_database extends uvm_tr_database
The uvm_text_tr_database is the default implementation for the uvm_tr_database.
function void write_attribute(
    string  nm,   
    uvm_bitstream_t  value,   
    uvm_radix_enum  radix,   
    int  numbits  =  $bits(uvm_bitstream_t)
)
Outputs a uvm_bitstream_t attribute to the textual log.
function void write_attribute_int(
    string  nm,   
    uvm_integral_t  value,   
    uvm_radix_enum  radix,   
    int  numbits  =  $bits(uvm_bitstream_t)
)
Outputs an uvm_integral_t attribute to the textual log