ovm_printer Class Reference

Inheritance diagram for class ovm_printer:

List of all members.



Public Member Functions

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

Public Attributes

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

Protected Member Functions

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

Protected Attributes

protected bit  m_array_stack [$] 


Member Function Documentation

 protected function void
 ovm_printer::indent

 (  int depth , string indent_str = " "  ) 

  function int
 ovm_printer::index

 (  string name  ) 

  function string
 ovm_printer::index_string

 (  int index , string name = ""  ) 

  function bit
 ovm_printer::istop

 (   ) 

  function void
 ovm_printer::print_array_footer

 (  int size = 0  ) 


 Superseding functions 
 ovm_tree_printer :: print_array_footer 

  function void
 ovm_printer::print_array_header

 (  string name , int size , string arraytype = "array", byte scope_separator = "."  ) 

  function void
 ovm_printer::print_array_range

 (  int min , int max  ) 

  function 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 = ""  ) 

  function void
 ovm_printer::print_field_real

 (  string name , real value , byte scope_separator = "."  ) 

  function void
 ovm_printer::print_footer

 (   ) 


 Superseding functions 
 ovm_table_printer :: print_footer 

  function void
 ovm_printer::print_generic

 (  string name , string type_name , int size , string value , byte scope_separator = "."  ) 

  function void
 ovm_printer::print_header

 (   ) 


 Superseding functions 
 ovm_table_printer :: print_header 

 protected function void
 ovm_printer::print_id

 (  string id , byte scope_separator = "."  ) 


 Superseding functions 
 ovm_table_printer :: print_id 
 ovm_tree_printer :: print_id 

 protected function void
 ovm_printer::print_newline

 (  bit do_global_indent = 1  ) 


 Superseding functions 
 ovm_line_printer :: print_newline 

  function void
 ovm_printer::print_object

 (  string name , ovm_object value , byte scope_separator = "."  ) 


 Superseding functions 
 ovm_tree_printer :: print_object 

  function void
 ovm_printer::print_object_header

 (  string name , ovm_object value , byte scope_separator = "."  ) 


 Superseding functions 
 ovm_tree_printer :: print_object_header 

 protected function void
 ovm_printer::print_size

 (  int size = -1  ) 


 Superseding functions 
 ovm_table_printer :: print_size 

  function void
 ovm_printer::print_string

 (  string name , string value , byte scope_separator = "."  ) 


 Superseding functions 
 ovm_tree_printer :: print_string 

  function void
 ovm_printer::print_time

 (  string name , time value , byte scope_separator = "."  ) 

 protected function void
 ovm_printer::print_type_name

 (  string name , bit is_object = 0  ) 


 Superseding functions 
 ovm_table_printer :: print_type_name 
 ovm_tree_printer :: print_type_name 

 protected function void
 ovm_printer::print_value

 (  ovm_bitstream_t value , int size , ovm_radix_enum radix = OVM_NORADIX  ) 


 Superseding functions 
 ovm_table_printer :: print_value 

  function void
 ovm_printer::print_value_array

 (  string value = "", int size = 0  ) 


 Superseding functions 
 ovm_table_printer :: print_value_array 
 ovm_tree_printer :: print_value_array 

 protected function void
 ovm_printer::print_value_object

 (  ovm_object value  ) 


 Superseding functions 
 ovm_table_printer :: print_value_object 
 ovm_tree_printer :: print_value_object 

 protected function void
 ovm_printer::print_value_string

 (  string value  ) 


 Superseding functions 
 ovm_table_printer :: print_value_string 

 protected function void
 ovm_printer::write_stream

 (  string str  ) 


Member Attribute Documentation

 ovm_printer_knobs  attribute
 ovm_printer::knobs = new

 protected bit  attribute
 ovm_printer::m_array_stack[$]

 ovm_scope_stack  attribute
 ovm_printer::m_scope = new

 string  attribute
 ovm_printer::m_string = ""