# Recording Macros

The recording macros are implemented as described in section B.2.3 of the 1800.2 specification.

The Accellera implementation adds an additional RECORDER argument to these macros with a default value of ‘recorder’. This allows the macros to be used in environments with alternative recorder names.

For example, <`uvm_record_string> is defined in the LRM as

>     `define uvm_record_string(NAME,VALUE)

Whereas the implementation is

>     `define uvm_record_string(NAME,VALUE,RECORDER=recorder)

This allows for usage such as

>     function void record_foo( uvm_packer other_recorder );
>       `uvm_record_string("foo", foo, other_recorder)
>     endfunction : record_foo

@uvm-contrib This API is being considered for potential contribution to 1800.2

Summary

Recording Macros
The recording macros are implemented as described in section B.2.3 of the 1800.2 specification.