ovm_printer Class Reference

Inheritance diagram for ovm_printer:

Inheritance graph
[legend]
Collaboration diagram for ovm_printer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void print_header ()
virtual void print_footer ()
virtual void print_value_array (string value="", int size=0)
virtual void print_array_header (string name, int size, string arraytype="array", byte scope_separator=".")
virtual void print_array_range (int min, int max)
virtual void print_array_footer (int size=0)
virtual void print_field (string name, ovm_bitstream_t value, int size, ovm_radix_enum radix=OVM_NORADIX, byte scope_separator=".", string type_name="")
virtual void print_object_header (string name, ovm_object value, byte scope_separator=".")
virtual void print_object (string name, ovm_object value, byte scope_separator=".")
virtual void print_string (string name, string value, byte scope_separator=".")
virtual void print_time (string name, time value, byte scope_separator=".")
virtual void print_generic (string name, string type_name, int size, string value, byte scope_separator=".")
bit istop ()
int index (string name)
string index_string (int index, string name="")

Public Attributes

ovm_scope_stack m_scope = new
string m_string = ""
ovm_printer_knobs knobs = new

Protected Member Functions

virtual void print_id (string id, byte scope_separator=".")
virtual void print_type_name (string name, bit is_object=0)
virtual void print_size (int size=-1)
virtual void print_newline (bit do_global_indent=1)
virtual void print_value (ovm_bitstream_t value, int size, ovm_radix_enum radix=OVM_NORADIX)
virtual void print_value_object (ovm_object value)
virtual void print_value_string (string value)
virtual void indent (int depth, string indent_str=" ")
void write_stream (string str)

Protected Attributes

bit m_array_stack [$]


Detailed Description

Definition at line 107 of file ovm_printer.svh.


Member Function Documentation

void ovm_printer::print_header (  )  [virtual]

Reimplemented in ovm_table_printer.

Definition at line 185 of file ovm_printer.sv.

void ovm_printer::print_footer (  )  [virtual]

Reimplemented in ovm_table_printer.

Definition at line 199 of file ovm_printer.sv.

void ovm_printer::print_id ( string  id,
byte  scope_separator = "." 
) [protected, virtual]

Reimplemented in ovm_table_printer, and ovm_tree_printer.

Definition at line 207 of file ovm_printer.sv.

void ovm_printer::print_type_name ( string  name,
bit  is_object = 0 
) [protected, virtual]

Reimplemented in ovm_table_printer, and ovm_tree_printer.

Definition at line 226 of file ovm_printer.sv.

void ovm_printer::print_size ( int  size = -1  )  [protected, virtual]

Reimplemented in ovm_table_printer.

Definition at line 239 of file ovm_printer.sv.

void ovm_printer::print_newline ( bit  do_global_indent = 1  )  [protected, virtual]

Reimplemented in ovm_line_printer.

Definition at line 506 of file ovm_printer.sv.

void ovm_printer::print_value ( ovm_bitstream_t  value,
int  size,
ovm_radix_enum  radix = OVM_NORADIX 
) [protected, virtual]

Reimplemented in ovm_table_printer.

Definition at line 260 of file ovm_printer.sv.

void ovm_printer::print_value_object ( ovm_object  value  )  [protected, virtual]

Reimplemented in ovm_table_printer, and ovm_tree_printer.

Definition at line 280 of file ovm_printer.sv.

void ovm_printer::print_value_string ( string  value  )  [protected, virtual]

Reimplemented in ovm_table_printer.

Definition at line 294 of file ovm_printer.sv.

void ovm_printer::print_value_array ( string  value = "",
int  size = 0 
) [virtual]

Reimplemented in ovm_table_printer, and ovm_tree_printer.

Definition at line 303 of file ovm_printer.sv.

void ovm_printer::print_array_header ( string  name,
int  size,
string  arraytype = "array",
byte  scope_separator = "." 
) [virtual]

Definition at line 311 of file ovm_printer.sv.

void ovm_printer::print_array_range ( int  min,
int  max 
) [virtual]

Definition at line 340 of file ovm_printer.sv.

void ovm_printer::print_array_footer ( int  size = 0  )  [virtual]

Reimplemented in ovm_tree_printer.

Definition at line 329 of file ovm_printer.sv.

void ovm_printer::indent ( int  depth,
string  indent_str = "  " 
) [protected, virtual]

Definition at line 570 of file ovm_printer.sv.

void ovm_printer::print_field ( string  name,
ovm_bitstream_t  value,
int  size,
ovm_radix_enum  radix = OVM_NORADIX,
byte  scope_separator = ".",
string  type_name = "" 
) [virtual]

Definition at line 355 of file ovm_printer.sv.

void ovm_printer::print_object_header ( string  name,
ovm_object  value,
byte  scope_separator = "." 
) [virtual]

Reimplemented in ovm_tree_printer.

Definition at line 398 of file ovm_printer.sv.

void ovm_printer::print_object ( string  name,
ovm_object  value,
byte  scope_separator = "." 
) [virtual]

Reimplemented in ovm_tree_printer.

Definition at line 420 of file ovm_printer.sv.

void ovm_printer::print_string ( string  name,
string  value,
byte  scope_separator = "." 
) [virtual]

Reimplemented in ovm_tree_printer.

Definition at line 485 of file ovm_printer.sv.

void ovm_printer::print_time ( string  name,
time  value,
byte  scope_separator = "." 
) [virtual]

Definition at line 389 of file ovm_printer.sv.

void ovm_printer::print_generic ( string  name,
string  type_name,
int  size,
string  value,
byte  scope_separator = "." 
) [virtual]

Definition at line 520 of file ovm_printer.sv.

bit ovm_printer::istop (  ) 

Definition at line 477 of file ovm_printer.sv.

int ovm_printer::index ( string  name  ) 

Definition at line 543 of file ovm_printer.sv.

string ovm_printer::index_string ( int  index,
string  name = "" 
)

Definition at line 561 of file ovm_printer.sv.

void ovm_printer::write_stream ( string  str  )  [protected]

Definition at line 162 of file ovm_printer.sv.


Member Data Documentation

bit ovm_printer::m_array_stack[$] [protected]

Definition at line 108 of file ovm_printer.svh.

Definition at line 109 of file ovm_printer.svh.

string ovm_printer::m_string = ""

Definition at line 110 of file ovm_printer.svh.

Referenced by ovm_root::print_topology().

Reimplemented in ovm_table_printer, and ovm_tree_printer.

Definition at line 112 of file ovm_printer.svh.


The documentation for this class was generated from the following files:

Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 2.0.1
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.5.5
Wed Jan 7 19:27:48 2009
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV