uvm_printer

UVMkit » 1800.2-2020
Contents
uvm_printer
uvm_table_printerThe table printer prints output in a tabular format.
uvm_tree_printerBy overriding various methods of the uvm_printer super class, the tree printer prints output in a tree format.
uvm_line_printerThe line printer prints output in a line format.

uvm_table_printer

The table printer prints output in a tabular format.

The following shows sample output from the table printer.

---------------------------------------------------
Name        Type            Size        Value
---------------------------------------------------
c1          container       -           @1013
d1          mydata          -           @1022
v1          integral        32          'hcb8f1c97
e1          enum            32          THREE
str         string          2           hi
value       integral        12          'h2d
---------------------------------------------------

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

Summary
uvm_table_printer
The table printer prints output in a tabular format.

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
}
Summary
uvm_tree_printer
By overriding various methods of the uvm_printer super class, the tree printer prints output in a tree format.

uvm_line_printer

The line printer prints output in a line format.

The following shows sample output from the line printer.

c1: (container@1013) { d1: (mydata@1022) { v1: 'hcb8f1c97 e1: THREE str: hi } value: 'h2d }
Summary
uvm_line_printer
The line printer prints output in a line format.