SyoSil ApS UVM Scoreboard
1.0.3.0
|
An XML printer for cl_syoscb_items. More...
Inherits uvm_printer.
Public Member Functions | |
virtual string | format_syoscb_item (int unsigned idx) |
Formats a cl_syoscb_item and all of its children. More... | |
virtual int unsigned | format_object (int unsigned idx, ref string result) |
Formats a sequence item/object, and recursively formats all children of this seq item. More... | |
virtual int unsigned | format_primitive (int unsigned idx, ref string result) |
Formats a primitive value. More... | |
virtual int unsigned | format_array (int unsigned idx, ref string result) |
Formats an array and all of its children. More... | |
virtual bit | is_primitive (uvm_printer_row_info row) |
Checks whether an element is a SystemVerilog primitive. More... | |
virtual bit | is_object (uvm_printer_row_info row) |
Checks whether an element is an object. More... | |
virtual bit | is_array (uvm_printer_row_info row) |
Checks whether an element is an array Arrays are recognized as dynamic, associative or static arrays. More... | |
virtual void | increase_indent (int unsigned steps=1) |
Increases the indentation used by a set amount of steps The size of each step is controlled by knobs.indent. | |
virtual void | decrease_indent (int unsigned steps=1) |
Decreases the indentation used by a set amount of steps The size of each step is controlled by knobs.indent. | |
virtual string | get_indent () |
Gets an indentation string consisting of this.indent_level spaces. | |
An XML printer for cl_syoscb_items.
Definition at line 2 of file uvm_xml_printer.svh.
|
virtual |
Formats an array and all of its children.
idx | The position in m_rows where the array is located |
result | The result string being built |
Definition at line 351 of file pk_syoscb.sv.
|
virtual |
Formats a sequence item/object, and recursively formats all children of this seq item.
idx | The position in m_rows where this sequence item is located |
result | The result string being built |
Definition at line 305 of file pk_syoscb.sv.
Referenced by format_syoscb_item().
|
virtual |
Formats a primitive value.
idx | The position in m_rows where the primitive is located |
result | The result being built |
Definition at line 397 of file pk_syoscb.sv.
|
virtual |
Formats a cl_syoscb_item and all of its children.
It is assumed that the cl_syoscb_item is at position m_rows[idx]
idx | The id at which this cl_syoscb_item is placed (should always be 0) |
Definition at line 263 of file uvm_xml_printer.svh.
References format_object().
|
virtual |
Checks whether an element is an array Arrays are recognized as dynamic, associative or static arrays.
The UVM printer interprets queues as dynamic arrays
type_name | The type name field of the currently parsed element |
value | The value field of the currently parsed element |
Definition at line 423 of file pk_syoscb.sv.
|
virtual |
Checks whether an element is an object.
size | The size field of the currently parsed element. |
val | The value field of the currently parsed element |
Definition at line 438 of file pk_syoscb.sv.
|
virtual |
Checks whether an element is a SystemVerilog primitive.
Here, a "primitive" is one that maps to the UVM printer representations: integral, real, string
type_name | The type name field of the currently parsed element |
Definition at line 410 of file pk_syoscb.sv.
![]() |
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:20 |