# uvm_tlm_generic_payload

Implementation of uvm_tlm_generic_payload, as described in section 12.3.4.2.1 of 1800.2-2020.

Summary

uvm_tlm_generic_payload
Implementation of uvm_tlm_generic_payload, as described in section 12.3.4.2.1 of 1800.2-2020.
Methods |
do_compare | Compares this generic payload to rhs.

### Methods

### do_compare

> function bit do_compare(
> | uvm_object | rhs,
> | uvm_comparer | comparer
> )

Compares this generic payload to rhs.

The do_compare method compares the fields of this instance to to those of rhs. All fields are compared, however if byte enables are being used, then non-enabled bytes of data are skipped.

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

> function bit do_compare(
> | uvm_object | rhs,
> | uvm_comparer | comparer
> )

Compares this generic payload to rhs.