[source]

Class uvm_tree_printer

uvm_pkg::uvm_tree_printer + newline : string + emit(): string uvm_pkg::uvm_line_printer

Inheritance Diagram of uvm_tree_printer

By overriding various methods of the uvm_printer super class, the tree printer prints output in a tree format.

The following shows sample output from the tree printer.

c1: (container@1013) {
  d1: (mydata@1022) {
       v1: 'hcb8f1c97
       e1: THREE
       str: hi
  }
  value: 'h2d
}
Variables

Name

Type

Description

newline

string

Constructors

function new ( ) [source]

Creates a new instance of uvm_tree_printer . New

Functions

virtual function string emit ( ) [source]

Formats the collected information from prior calls to print_* into hierarchical tree format. Emit