uvm_reg_block Class Reference

Inheritance diagram for class uvm_reg_block:

List of all members.



Public Member Functions

function void  add_block ( uvm_reg_block blk )
function void  add_hdl_path ( string path, string kind = "RTL" )
function void  add_map ( uvm_reg_map map )
function void  add_mem ( uvm_mem mem )
function void  add_reg ( uvm_reg rg )
function void  add_vreg ( uvm_vreg vreg )
function void  clear_hdl_path ( string kind = "RTL" )
function uvm_object  clone ( )
function void  configure ( uvm_reg_block parent = null, string hdl_path = "" )
function string  convert2string ( )
function uvm_reg_map  create_map ( string name, uvm_reg_addr_t base_addr, int unsigned n_bytes, uvm_endianness_e endian, bit byte_addressing = 1 )
function bit  do_compare ( uvm_object rhs, uvm_comparer comparer )
function void  do_copy ( uvm_object rhs )
function void  do_pack ( uvm_packer packer )
function void  do_print ( uvm_printer printer )
function void  do_unpack ( uvm_packer packer )
static function uvm_reg_block  find_block ( input string name, input uvm_reg_block root, input uvm_object accessor )
static function int  find_blocks ( input string name, ref uvm_reg_block blks[$], input uvm_reg_block root, input uvm_object accessor )
function uvm_reg_backdoor  get_backdoor ( bit inherited = 1 )
function void  get_blocks ( ref uvm_reg_block blks[$], input uvm_hier_e hier )
function uvm_reg_block  get_block_by_name ( string name )
function bit  get_coverage ( uvm_reg_cvr_t is_on = UVM_CVR_ALL )
function string  get_default_hdl_path ( )
function uvm_reg_map  get_default_map ( )
function uvm_path_e  get_default_path ( )
function void  get_fields ( ref uvm_reg_field fields[$], input uvm_hier_e hier )
function uvm_reg_field  get_field_by_name ( string name )
function void  get_full_hdl_path ( ref string paths[$], input string kind, string separator = "." )
function string  get_full_name ( )
function void  get_hdl_path ( ref string paths[$], input string kind )
function void  get_maps ( ref uvm_reg_map maps[$] )
function uvm_reg_map  get_map_by_name ( string name )
function void  get_memories ( ref uvm_mem mems[$], input uvm_hier_e hier )
function uvm_mem  get_mem_by_name ( string name )
function uvm_reg_block  get_parent ( )
function void  get_registers ( ref uvm_reg regs[$], input uvm_hier_e hier )
function uvm_reg  get_reg_by_name ( string name )
static function void  get_root_blocks ( ref uvm_reg_block blks[$] )
function uvm_vreg_field  get_vfield_by_name ( string name )
function void  get_virtual_fields ( ref uvm_vreg_field fields[$], input uvm_hier_e hier )
function void  get_virtual_registers ( ref uvm_vreg regs[$], input uvm_hier_e hier )
function uvm_vreg  get_vreg_by_name ( string name )
function bit  has_coverage ( uvm_reg_cvr_t models )
function bit  has_hdl_path ( string kind = "" )
function bit  is_hdl_path_root ( string kind = "" )
function bit  is_locked ( )
function void  lock_model ( )
task   mirror ( output uvm_status_e status, input uvm_check_e check, input uvm_path_e path, input uvm_sequence_base parent, input int prior, input uvm_object extension, input string fname, input int lineno )
function bit  needs_update ( )
function void  new ( string name = "", int has_coverage = UVM_NO_COVERAGE )
task   read_mem_by_name ( output uvm_status_e status, input string name, input uvm_reg_addr_t offset, output uvm_reg_data_t data, input uvm_path_e path, input uvm_reg_map map, input uvm_sequence_base parent, input int prior, input uvm_object extension, input string fname, input int lineno )
task   read_reg_by_name ( output uvm_status_e status, input string name, output uvm_reg_data_t data, input uvm_path_e path, input uvm_reg_map map, input uvm_sequence_base parent, input int prior, input uvm_object extension, input string fname, input int lineno )
task   readmemh ( string filename )
function void  reset ( string kind = "HARD" )
function void  sample_values ( )
function void  set_backdoor ( uvm_reg_backdoor bkdr, string fname = "", int lineno = 0 )
function uvm_reg_cvr_t  set_coverage ( uvm_reg_cvr_t is_on )
function void  set_default_hdl_path ( string kind )
function void  set_default_map ( uvm_reg_map map )
function void  set_hdl_path_root ( string path, string kind = "RTL" )
function void  set_parent ( uvm_reg_block parent )
task   update ( output uvm_status_e status, input uvm_path_e path, input uvm_sequence_base parent, input int prior, input uvm_object extension, input string fname, input int lineno )
task   write_mem_by_name ( output uvm_status_e status, input string name, input uvm_reg_addr_t offset, input uvm_reg_data_t data, input uvm_path_e path, input uvm_reg_map map, input uvm_sequence_base parent, input int prior, input uvm_object extension, input string fname, input int lineno )
task   write_reg_by_name ( output uvm_status_e status, input string name, input uvm_reg_data_t data, input uvm_path_e path, input uvm_reg_map map, input uvm_sequence_base parent, input int prior, input uvm_object extension, input string fname, input int lineno )
task   writememh ( string filename )
function void  XsampleX ( uvm_reg_addr_t addr, bit is_read, uvm_reg_map map )

Public Attributes

uvm_reg_map  default_map 
uvm_path_e  default_path 

Protected Member Functions

function void  add_coverage ( uvm_reg_cvr_t models )
function uvm_reg_cvr_t  build_coverage ( uvm_reg_cvr_t models )
static function bit  check_data_width ( int unsigned width )
virtual function void  sample ( uvm_reg_addr_t offset, bit is_read, uvm_reg_map map )


Member Function Documentation

  function void
 uvm_reg_block::add_block

 (  uvm_reg_block blk  ) 

 protected function void
 uvm_reg_block::add_coverage

 (  uvm_reg_cvr_t models  ) 

  function void
 uvm_reg_block::add_hdl_path

 (  string path , string kind = "RTL"  ) 

  function void
 uvm_reg_block::add_map

 (  uvm_reg_map map  ) 

  function void
 uvm_reg_block::add_mem

 (  uvm_mem mem  ) 

  function void
 uvm_reg_block::add_reg

 (  uvm_reg rg  ) 

  function void
 uvm_reg_block::add_vreg

 (  uvm_vreg vreg  ) 

 protected function uvm_reg_cvr_t
 uvm_reg_block::build_coverage

 (  uvm_reg_cvr_t models  ) 

 static protected function bit
 uvm_reg_block::check_data_width

 (  int unsigned width  ) 

  function void
 uvm_reg_block::clear_hdl_path

 (  string kind = "RTL"  ) 

  function uvm_object
 uvm_reg_block::clone

 (   ) 


 Superseded functions 
 uvm_object :: clone 

  function void
 uvm_reg_block::configure

 (  uvm_reg_block parent = null, string hdl_path = ""  ) 

  function string
 uvm_reg_block::convert2string

 (   ) 


 Superseded functions 
 uvm_object :: convert2string 

  function uvm_reg_map
 uvm_reg_block::create_map

 (  string name , uvm_reg_addr_t base_addr , int unsigned n_bytes , uvm_endianness_e endian , bit byte_addressing = 1  ) 

  function bit
 uvm_reg_block::do_compare

 (  uvm_object rhs , uvm_comparer comparer  ) 


 Superseded functions 
 uvm_object :: do_compare 

  function void
 uvm_reg_block::do_copy

 (  uvm_object rhs  ) 


 Superseded functions 
 uvm_object :: do_copy 

  function void
 uvm_reg_block::do_pack

 (  uvm_packer packer  ) 


 Superseded functions 
 uvm_object :: do_pack 

  function void
 uvm_reg_block::do_print

 (  uvm_printer printer  ) 


 Superseded functions 
 uvm_object :: do_print 

  function void
 uvm_reg_block::do_unpack

 (  uvm_packer packer  ) 


 Superseded functions 
 uvm_object :: do_unpack 

 static function uvm_reg_block
 uvm_reg_block::find_block

 (  input string name , input uvm_reg_block root , input uvm_object accessor  ) 

 static function int
 uvm_reg_block::find_blocks

 (  input string name , ref uvm_reg_block blks [$], input uvm_reg_block root , input uvm_object accessor  ) 

  function uvm_reg_backdoor
 uvm_reg_block::get_backdoor

 (  bit inherited = 1  ) 

  function void
 uvm_reg_block::get_blocks

 (  ref uvm_reg_block blks [$], input uvm_hier_e hier  ) 

  function uvm_reg_block
 uvm_reg_block::get_block_by_name

 (  string name  ) 

  function bit
 uvm_reg_block::get_coverage

 (  uvm_reg_cvr_t is_on = UVM_CVR_ALL  ) 

  function string
 uvm_reg_block::get_default_hdl_path

 (   ) 

  function uvm_reg_map
 uvm_reg_block::get_default_map

 (   ) 

  function uvm_path_e
 uvm_reg_block::get_default_path

 (   ) 

  function void
 uvm_reg_block::get_fields

 (  ref uvm_reg_field fields [$], input uvm_hier_e hier  ) 

  function uvm_reg_field
 uvm_reg_block::get_field_by_name

 (  string name  ) 

  function void
 uvm_reg_block::get_full_hdl_path

 (  ref string paths [$], input string kind , string separator = "."  ) 

  function string
 uvm_reg_block::get_full_name

 (   ) 


 Superseded functions 
 uvm_object :: get_full_name 

  function void
 uvm_reg_block::get_hdl_path

 (  ref string paths [$], input string kind  ) 

  function void
 uvm_reg_block::get_maps

 (  ref uvm_reg_map maps [$]  ) 

  function uvm_reg_map
 uvm_reg_block::get_map_by_name

 (  string name  ) 

  function void
 uvm_reg_block::get_memories

 (  ref uvm_mem mems [$], input uvm_hier_e hier  ) 

  function uvm_mem
 uvm_reg_block::get_mem_by_name

 (  string name  ) 

  function uvm_reg_block
 uvm_reg_block::get_parent

 (   ) 

  function void
 uvm_reg_block::get_registers

 (  ref uvm_reg regs [$], input uvm_hier_e hier  ) 

  function uvm_reg
 uvm_reg_block::get_reg_by_name

 (  string name  ) 

 static function void
 uvm_reg_block::get_root_blocks

 (  ref uvm_reg_block blks [$]  ) 

  function uvm_vreg_field
 uvm_reg_block::get_vfield_by_name

 (  string name  ) 

  function void
 uvm_reg_block::get_virtual_fields

 (  ref uvm_vreg_field fields [$], input uvm_hier_e hier  ) 

  function void
 uvm_reg_block::get_virtual_registers

 (  ref uvm_vreg regs [$], input uvm_hier_e hier  ) 

  function uvm_vreg
 uvm_reg_block::get_vreg_by_name

 (  string name  ) 

  function bit
 uvm_reg_block::has_coverage

 (  uvm_reg_cvr_t models  ) 

  function bit
 uvm_reg_block::has_hdl_path

 (  string kind = ""  ) 

  function bit
 uvm_reg_block::is_hdl_path_root

 (  string kind = ""  ) 

  function bit
 uvm_reg_block::is_locked

 (   ) 

  function void
 uvm_reg_block::lock_model

 (   ) 

  task
 uvm_reg_block::mirror

 (  output uvm_status_e status , input uvm_check_e check , input uvm_path_e path , input uvm_sequence_base parent , input int prior , input uvm_object extension , input string fname , input int lineno  ) 

  function bit
 uvm_reg_block::needs_update

 (   ) 

  function void
 uvm_reg_block::new

 (  string name = "", int has_coverage = UVM_NO_COVERAGE  ) 

  task
 uvm_reg_block::read_mem_by_name

 (  output uvm_status_e status , input string name , input uvm_reg_addr_t offset , output uvm_reg_data_t data , input uvm_path_e path , input uvm_reg_map map , input uvm_sequence_base parent , input int prior , input uvm_object extension , input string fname , input int lineno  ) 

  task
 uvm_reg_block::read_reg_by_name

 (  output uvm_status_e status , input string name , output uvm_reg_data_t data , input uvm_path_e path , input uvm_reg_map map , input uvm_sequence_base parent , input int prior , input uvm_object extension , input string fname , input int lineno  ) 

  task
 uvm_reg_block::readmemh

 (  string filename  ) 

  function void
 uvm_reg_block::reset

 (  string kind = "HARD"  ) 

 protected virtual function void
 uvm_reg_block::sample

 (  uvm_reg_addr_t offset , bit is_read , uvm_reg_map map  ) 

  function void
 uvm_reg_block::sample_values

 (   ) 

  function void
 uvm_reg_block::set_backdoor

 (  uvm_reg_backdoor bkdr , string fname = "", int lineno = 0  ) 

  function uvm_reg_cvr_t
 uvm_reg_block::set_coverage

 (  uvm_reg_cvr_t is_on  ) 

  function void
 uvm_reg_block::set_default_hdl_path

 (  string kind  ) 

  function void
 uvm_reg_block::set_default_map

 (  uvm_reg_map map  ) 

  function void
 uvm_reg_block::set_hdl_path_root

 (  string path , string kind = "RTL"  ) 

  function void
 uvm_reg_block::set_parent

 (  uvm_reg_block parent  ) 

  task
 uvm_reg_block::update

 (  output uvm_status_e status , input uvm_path_e path , input uvm_sequence_base parent , input int prior , input uvm_object extension , input string fname , input int lineno  ) 

  task
 uvm_reg_block::write_mem_by_name

 (  output uvm_status_e status , input string name , input uvm_reg_addr_t offset , input uvm_reg_data_t data , input uvm_path_e path , input uvm_reg_map map , input uvm_sequence_base parent , input int prior , input uvm_object extension , input string fname , input int lineno  ) 

  task
 uvm_reg_block::write_reg_by_name

 (  output uvm_status_e status , input string name , input uvm_reg_data_t data , input uvm_path_e path , input uvm_reg_map map , input uvm_sequence_base parent , input int prior , input uvm_object extension , input string fname , input int lineno  ) 

  task
 uvm_reg_block::writememh

 (  string filename  ) 

  function void
 uvm_reg_block::XsampleX

 (  uvm_reg_addr_t addr , bit is_read , uvm_reg_map map  ) 


Member Attribute Documentation

 uvm_reg_map  attribute
 uvm_reg_block::default_map

 uvm_path_e  attribute
 uvm_reg_block::default_path = UVM_DEFAULT_PATH