SyoSil ApS UVM Scoreboard
1.0.3.0
|
Utility class used to perform manipulations of uvm_comparer objects. More...
Inherits uvm_object, and uvm_object.
Static Public Member Functions | |
static void | set_verbosity (uvm_comparer comparer, int unsigned cv=UVM_DEBUG) |
Sets the verbosity level of a given comparer. More... | |
static int unsigned | get_verbosity (uvm_comparer comparer) |
Gets the verbosity level for a given comparer. More... | |
static void | copy_comparer (uvm_comparer from, uvm_comparer to) |
Copies all config information from one comparer into another. More... | |
static string | get_miscompares_from_comparer (uvm_comparer comparer) |
Returns a string containing all miscompares from the given comparer. More... | |
static void | do_help_pack (uvm_comparer comparer, uvm_packer packer) |
Packs all configuration data for the given uvm_comparer using the given uvm_packer. More... | |
static uvm_comparer | do_help_unpack (uvm_packer packer) |
Unpacks comparer configuration data and returns a comparer with that configuration. More... | |
static void | set_show_max (uvm_comparer comparer, int unsigned sm) |
Sets the value of the show_max knob in the given comparer. More... | |
static int unsigned | get_show_max (uvm_comparer comparer) |
Gets the value of the show_max knob in the given comparer. More... | |
Utility class used to perform manipulations of uvm_comparer objects.
Contains a number of functions that simplify uvm_comparer related code, as the comparer API differs based on the UVM version used. These functions encapsulate those differences, providing a unified API regardless of UVM version.
Definition at line 5 of file cl_syoscb_comparer_config.svh.
|
static |
Copies all config information from one comparer into another.
from | Comparer containing the data to be copied |
to | Comparer to inherit configuration data in from |
Definition at line 70 of file cl_syoscb_comparer_config.svh.
|
static |
Packs all configuration data for the given uvm_comparer using the given uvm_packer.
Since uvm_comparer does not natively support pack/unpack operations, these helper methods can be used to pack/unpack a comparer
comparer | The uvm_comparer for which all configuration values should be packed |
packer | The uvm_packer to use when packing the item |
Definition at line 98 of file cl_syoscb_comparer_config.svh.
|
static |
Unpacks comparer configuration data and returns a comparer with that configuration.
Since uvm_comparer does not natively support pack/unpack operations, these helper methods can be used to pack/unpack a comparer
packer | The uvm_packer that was previously used to pack a uvm_comparer |
Definition at line 150 of file cl_syoscb_comparer_config.svh.
|
static |
Returns a string containing all miscompares from the given comparer.
comparer | The comparer from which to get all miscompares |
Definition at line 230 of file cl_syoscb_comparer_config.svh.
|
static |
Gets the value of the show_max
knob in the given comparer.
comparer | The comparer to get the show_max knob for |
Definition at line 254 of file cl_syoscb_comparer_config.svh.
|
static |
Gets the verbosity level for a given comparer.
comparer | The comparer object for which to get the verbosity level |
Definition at line 58 of file cl_syoscb_comparer_config.svh.
|
static |
Sets the value of the show_max
knob in the given comparer.
comparer | The comparer to set the show_max knob for |
sm | The new value of the show_max knob |
Definition at line 242 of file cl_syoscb_comparer_config.svh.
|
static |
Sets the verbosity level of a given comparer.
comparer | The comparer object on which to set a new verbosity level |
cv | The new comparer verbosity level |
Definition at line 46 of file cl_syoscb_comparer_config.svh.
Referenced by cl_syoscb_cfg::get_default_comparer(), and cl_syoscb_cfg::init().
![]() |
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:04 |