packing: 将一组数据打包到一个比特数组中。
unpacking:将一个比特数组拆解成一组数据。
uvm_packer - used to pack (serialize) and unpack uvm_object-based properties into bit, byte, or int arrays and back again.
用于打包或者解包uvm_object (一个或者多个)。
Summary
uvm_packer
The uvm_packer class provides a policy object for packing and unpacking uvm_objects.
PACKING (function)
- pack_field Packs an integral value (less than or equal to 4096 bits) into the packed array.
- pack_field_int Packs the integral value (less than or equal to 64 bits) into the pack array.
- pack_bits Packs bits from an upacked array of bits into the pack array.
- pack_bytes Packs bits from an upacked array of bytes into the pack array.
- pack_ints Packs b