//----------------//// @uvm-ieee 1800.2-2020 auto 16.5.2.4staticfunctionvoidset_default(uvm_packerpacker);uvm_coreservice_tcoreservice;coreservice=uvm_coreservice_t::get();coreservice.set_default_packer(packer);endfunction// @uvm-ieee 1800.2-2020 auto 16.5.2.5staticfunctionuvm_packerget_default();uvm_coreservice_tcoreservice;coreservice=uvm_coreservice_t::get();returncoreservice.get_default_packer();endfunction// @uvm-ieee 1800.2-2020 auto 16.5.2.2externvirtualfunctionvoidflush();
// @uvm-ieee 1800.2-2020 auto 16.5.4.2externvirtualfunctionvoidpack_object(uvm_objectvalue);externvirtualfunctionvoidpack_object_with_meta(uvm_objectvalue);externvirtualfunctionvoidpack_object_wrapper(uvm_object_wrappervalue);//------------------//// Group -- NODOCS -- Unpacking ////------------------//// Function -- NODOCS -- is_null//// This method is used during unpack operations to peek at the next 4-bit// chunk of the pack data and determine if it is 0.//// If the next four bits are all 0, then the return value is a 1; otherwise// it is 0.
externvirtualfunctionbitis_null();externvirtualfunctionbitis_object_wrapper();// Function -- NODOCS -- unpack_field//// Unpacks bits from the pack array and returns the bit-stream that was// unpacked. ~size~ is the number of bits to unpack; the maximum is 4096 bits.// @uvm-ieee 1800.2-2020 auto 16.5.4.16externvirtualfunctionuvm_bitstream_tunpack_field(intsize);// Function -- NODOCS -- unpack_field_int//// Unpacks bits from the pack array and returns the bit-stream that was// unpacked. //// ~size~ is the number of bits to unpack; the maximum is 64 bits. // This is a more efficient variant than unpack_field when unpacking into
// @uvm-ieee 1800.2-2020 auto 16.5.4.4externvirtualfunctionvoidunpack_object(uvm_objectvalue);externvirtualfunctionvoidunpack_object_with_meta(inoutuvm_objectvalue);externvirtualfunctionuvm_object_wrapperunpack_object_wrapper();// Function -- NODOCS -- get_packed_size//// Returns the number of bits that were packed.// @uvm-ieee 1800.2-2020 auto 16.5.3.3externvirtualfunctionintget_packed_size();//------------------//// Group -- NODOCS -- Variables ////------------------//