[source]

Class uvm_text_recorder

uvm_pkg::uvm_text_recorder + filename : string + filename_set : bit + m_text_db : uvm_text_tr_database + scope : uvm_scope_stack + type_name : string + __m_uvm_field_automation(): void + begin_tr(): integer + check_handle_kind(): integer + create(): uvm_object + create_stream(): integer + end_tr(): void + free_tr(): void + get_object_type(): uvm_object_wrapper + get_type(): type_id + get_type_name(): string + link_tr(): void + m_set_attribute(): void + open_file(): bit + set_attribute(): void + write_attribute(): void + write_attribute_int(): void

Inheritance Diagram of uvm_text_recorder

The uvm_text_recorder is the default recorder implementation for the uvm_text_tr_database.

Variables

Name

Type

Description

scope

uvm_scope_stack

Variable- scope Imeplementation detail

filename

string

UVM provides only a text-based default implementation. Vendors provide subtype implementations and overwrite the <uvm_default_recorder> handle.

filename_set

bit

Constructors

function new ( string name ) [source]

Constructor

Parameters

name

Instance name

Functions

function void write_attribute ( string nm, uvm_bitstream_t value, uvm_radix_enum radix, integer numbits ) [source]

Outputs an integral attribute to the textual log

Parameters

nm

Name of the attribute

value

Value

radix

Radix of the output

numbits

number of valid bits

function void write_attribute_int ( string nm, uvm_integral_t value, uvm_radix_enum radix, integer numbits ) [source]

Outputs an integral attribute to the textual log

Parameters

nm

Name of the attribute

value

Value

radix

Radix of the output

numbits

number of valid bits

virtual function bit open_file ( ) [source]

Function- open_file

Opens the file in the filename property and assigns to the file descriptor <file>.

virtual function integer create_stream ( string name, string t, string scope ) [source]

Function- create_stream

virtual function void set_attribute ( integer txh, string nm, logic[1023:0] value, uvm_radix_enum radix, integer numbits ) [source]

Function- set_attribute

virtual function integer check_handle_kind ( string htype, integer handle ) [source]

Function- check_handle_kind

virtual function integer begin_tr ( string txtype, integer stream, string nm, string label, string desc, time begin_time ) [source]

Function- begin_tr

virtual function void end_tr ( integer handle, time end_time ) [source]

Function- end_tr

virtual function void link_tr ( integer h1, integer h2, string relation ) [source]

Function- link_tr

virtual function void free_tr ( integer handle ) [source]

Function- free_tr