SyoSil ApS UVM Scoreboard
1.0.3.0
|
An implementation of a uvm_packer which returns bitstreams that are ready for md5 packing. More...
Public Member Functions | |
virtual void | get_bits (ref bit unsigned bits[]) |
Gets the packer's bitstream, modifying the contents such that it conforms to RFC 1321. | |
![]() | |
virtual void | clean () |
Clean and reset the underlying packer data structure This method correctly calls packer.flush on UVM-IEEE and packer.reset on previous versions of UVM, removing the need for version-specific code in the caller. | |
An implementation of a uvm_packer which returns bitstreams that are ready for md5 packing.
Generates bitstreams which follow the format below, as specified in RFC 1321
Bits | Information |
---|---|
0 - length of the serialized item-1 | Serialized item |
length of the serialized item - lentgh of the serialized item+6 | Zeros |
length of the serialized item+7 | One |
length of the serialized item+8 - (512*x-64) | Zeros |
last 64 bits | length of the item modulo 2^64 |
NOTICE: The current implementation of the md5_packer only manipulates the bitstream returned when get_bits or #get_packed_bits is called, and does not modify the underlying bitstream. After calling get_packed_bits
or get_bits
, call clean to clean the underlying bitstream, allowing the packer to be reused
Definition at line 35 of file cl_syoscb_md5_packer.svh.
![]() |
Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.3.0 Copyright 2014-2022 SyoSil ApS All Rights Reserved Worldwide Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
![]() Doxygen Version: 1.8.14 Generated with IDV SV Filter Version: 2.6.3 Fri Sep 2 2022 14:41:06 |