uvm_reg Class Reference

Inheritance diagram for class uvm_reg:

List of all members.



Public Member Functions

function void  add_field ( uvm_reg_field field )
function void  add_hdl_path ( uvm_hdl_path_slice slices[], string kind = "RTL" )
function void  add_hdl_path_slice ( string name, int offset, int size, bit first = 0, string kind = "RTL" )
function void  add_map ( uvm_reg_map map )
task   backdoor_read ( uvm_reg_item rw )
function uvm_status_e  backdoor_read_func ( uvm_reg_item rw )
virtual task   backdoor_watch ( )
task   backdoor_write ( uvm_reg_item rw )
function void  clear_hdl_path ( string kind = "RTL" )
function uvm_object  clone ( )
function void  configure ( uvm_reg_block blk_parent, uvm_reg_file regfile_parent = null, string hdl_path = "" )
function string  convert2string ( )
function bit  do_check ( input uvm_reg_data_t expected, input uvm_reg_data_t actual, uvm_reg_map map )
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_predict ( uvm_reg_item rw, uvm_predict_e kind = UVM_PREDICT_DIRECT, uvm_reg_byte_en_t be = -1 )
function void  do_print ( uvm_printer printer )
task   do_read ( uvm_reg_item rw )
function void  do_unpack ( uvm_packer packer )
task   do_write ( uvm_reg_item rw )
function uvm_reg_data_t  get ( string fname = "", int lineno = 0 )
function uvm_reg_addr_t  get_address ( uvm_reg_map map = null )
function int  get_addresses ( uvm_reg_map map = null, ref uvm_reg_addr_t addr[] )
function uvm_reg_backdoor  get_backdoor ( bit inherited = 1 )
function uvm_reg_block  get_block ( )
function bit  get_coverage ( uvm_reg_cvr_t is_on )
function uvm_reg_map  get_default_map ( string caller = "" )
function void  get_fields ( ref uvm_reg_field fields[$] )
function uvm_reg_field  get_field_by_name ( string name )
function uvm_reg_frontdoor  get_frontdoor ( uvm_reg_map map = null )
function void  get_full_hdl_path ( ref uvm_hdl_path_concat paths[$], input string kind, input string separator )
function string  get_full_name ( )
function void  get_hdl_path ( ref uvm_hdl_path_concat paths[$], input string kind )
function void  get_hdl_path_kinds ( ref string kinds[$] )
function uvm_reg_map  get_local_map ( uvm_reg_map map, string caller = "" )
function void  get_maps ( ref uvm_reg_map maps[$] )
static function unsigned int  get_max_size ( )
function uvm_reg_data_t  get_mirrored_value ( string fname = "", int lineno = 0 )
function unsigned int  get_n_bits ( )
function unsigned int  get_n_bytes ( )
function int  get_n_maps ( )
function uvm_reg_addr_t  get_offset ( uvm_reg_map map = null )
function uvm_reg_block  get_parent ( )
function uvm_reg_file  get_regfile ( )
function uvm_reg_data_t  get_reset ( string kind = "HARD" )
function string  get_rights ( uvm_reg_map map = null )
function bit  has_coverage ( uvm_reg_cvr_t models )
function bit  has_hdl_path ( string kind = "" )
function bit  has_reset ( string kind = "HARD", bit delete = 0 )
static function void  include_coverage ( string scope, uvm_reg_cvr_t models, uvm_object accessor = null )
function bit  is_busy ( )
function bit  is_in_map ( uvm_reg_map map )
task   mirror ( output uvm_status_e status, input uvm_check_e check, 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 )
function bit  needs_update ( )
function void  new ( string name = "", int unsigned n_bits, int has_coverage )
task   peek ( output uvm_status_e status, output uvm_reg_data_t value, input string kind, input uvm_sequence_base parent, input uvm_object extension, input string fname, input int lineno )
task   poke ( output uvm_status_e status, input uvm_reg_data_t value, input string kind, input uvm_sequence_base parent, input uvm_object extension, input string fname, input int lineno )
virtual task   post_read ( uvm_reg_item rw )
virtual task   post_write ( uvm_reg_item rw )
function bit  predict ( uvm_reg_data_t value, uvm_reg_byte_en_t be = -1, uvm_predict_e kind = UVM_PREDICT_DIRECT, uvm_path_e path = UVM_FRONTDOOR, uvm_reg_map map = null, string fname = "", int lineno = 0 )
virtual task   pre_read ( uvm_reg_item rw )
virtual task   pre_write ( uvm_reg_item rw )
task   read ( output uvm_status_e status, output uvm_reg_data_t value, 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 )
function void  reset ( string kind = "HARD" )
virtual function void  sample_values ( )
function void  set ( uvm_reg_data_t value, string fname = "", int lineno = 0 )
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_frontdoor ( uvm_reg_frontdoor ftdr, uvm_reg_map map = null, string fname = "", int lineno = 0 )
function void  set_offset ( uvm_reg_map map, uvm_reg_addr_t offset, bit unmapped = 0 )
function void  set_parent ( uvm_reg_block blk_parent, uvm_reg_file regfile_parent )
function void  set_reset ( uvm_reg_data_t value, string kind = "HARD" )
task   update ( output uvm_status_e status, 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 ( output uvm_status_e status, input uvm_reg_data_t value, 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   XatomicX ( bit on )
function bit  Xcheck_accessX ( input uvm_reg_item rw, output uvm_reg_map_info map_info, input string caller )
function string  Xget_fields_accessX ( uvm_reg_map map )
function bit  Xis_locked_by_fieldX ( )
function void  Xlock_modelX ( )
task   XreadX ( output uvm_status_e status, output uvm_reg_data_t value, 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 )
function void  XsampleX ( uvm_reg_data_t data, uvm_reg_data_t byte_en, bit is_read, uvm_reg_map map )
function void  Xset_busyX ( bit busy )

Public Attributes

bit  m_is_busy 
bit  m_is_locked_by_field 

Protected Member Functions

function void  add_coverage ( uvm_reg_cvr_t models )
function uvm_reg_cvr_t  build_coverage ( uvm_reg_cvr_t models )
virtual function void  sample ( uvm_reg_data_t data, uvm_reg_data_t byte_en, bit is_read, uvm_reg_map map )

Protected Attributes

protected uvm_reg_field  m_fields [$] 
protected bit  m_maps [ uvm_reg_map ] 
protected bit  m_update_in_progress 


Member Function Documentation

 protected function void
 uvm_reg::add_coverage

 (  uvm_reg_cvr_t models  ) 

  function void
 uvm_reg::add_field

 (  uvm_reg_field field  ) 


 Superseding functions 
 uvm_reg_indirect_data :: add_field 

  function void
 uvm_reg::add_hdl_path

 (  uvm_hdl_path_slice slices [], string kind = "RTL"  ) 

  function void
 uvm_reg::add_hdl_path_slice

 (  string name , int offset , int size , bit first = 0, string kind = "RTL"  ) 

  function void
 uvm_reg::add_map

 (  uvm_reg_map map  ) 


 Superseding functions 
 uvm_reg_indirect_data :: add_map 

  task
 uvm_reg::backdoor_read

 (  uvm_reg_item rw  ) 

  function uvm_status_e
 uvm_reg::backdoor_read_func

 (  uvm_reg_item rw  ) 

 virtual task
 uvm_reg::backdoor_watch

 (   ) 

  task
 uvm_reg::backdoor_write

 (  uvm_reg_item rw  ) 

 protected function uvm_reg_cvr_t
 uvm_reg::build_coverage

 (  uvm_reg_cvr_t models  ) 

  function void
 uvm_reg::clear_hdl_path

 (  string kind = "RTL"  ) 

  function uvm_object
 uvm_reg::clone

 (   ) 


 Superseded functions 
 uvm_object :: clone 

  function void
 uvm_reg::configure

 (  uvm_reg_block blk_parent , uvm_reg_file regfile_parent = null, string hdl_path = ""  ) 

  function string
 uvm_reg::convert2string

 (   ) 


 Superseded functions 
 uvm_object :: convert2string 

  function bit
 uvm_reg::do_check

 (  input uvm_reg_data_t expected , input uvm_reg_data_t actual , uvm_reg_map map  ) 

  function bit
 uvm_reg::do_compare

 (  uvm_object rhs , uvm_comparer comparer  ) 


 Superseded functions 
 uvm_object :: do_compare 

  function void
 uvm_reg::do_copy

 (  uvm_object rhs  ) 


 Superseded functions 
 uvm_object :: do_copy 

  function void
 uvm_reg::do_pack

 (  uvm_packer packer  ) 


 Superseded functions 
 uvm_object :: do_pack 

  function void
 uvm_reg::do_predict

 (  uvm_reg_item rw , uvm_predict_e kind = UVM_PREDICT_DIRECT, uvm_reg_byte_en_t be = -1  ) 


 Superseding functions 
 uvm_reg_fifo :: do_predict 
 uvm_reg_indirect_data :: do_predict 

  function void
 uvm_reg::do_print

 (  uvm_printer printer  ) 


 Superseded functions 
 uvm_object :: do_print 

  task
 uvm_reg::do_read

 (  uvm_reg_item rw  ) 

  function void
 uvm_reg::do_unpack

 (  uvm_packer packer  ) 


 Superseded functions 
 uvm_object :: do_unpack 

  task
 uvm_reg::do_write

 (  uvm_reg_item rw  ) 

  function uvm_reg_data_t
 uvm_reg::get

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


 Superseding functions 
 uvm_reg_fifo :: get 
 uvm_reg_indirect_data :: get 

  function uvm_reg_addr_t
 uvm_reg::get_address

 (  uvm_reg_map map = null  ) 

  function int
 uvm_reg::get_addresses

 (  uvm_reg_map map = null, ref uvm_reg_addr_t addr []  ) 

  function uvm_reg_backdoor
 uvm_reg::get_backdoor

 (  bit inherited = 1  ) 

  function uvm_reg_block
 uvm_reg::get_block

 (   ) 

  function bit
 uvm_reg::get_coverage

 (  uvm_reg_cvr_t is_on  ) 

  function uvm_reg_map
 uvm_reg::get_default_map

 (  string caller = ""  ) 

  function void
 uvm_reg::get_fields

 (  ref uvm_reg_field fields [$]  ) 

  function uvm_reg_field
 uvm_reg::get_field_by_name

 (  string name  ) 

  function uvm_reg_frontdoor
 uvm_reg::get_frontdoor

 (  uvm_reg_map map = null  ) 

  function void
 uvm_reg::get_full_hdl_path

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

  function string
 uvm_reg::get_full_name

 (   ) 


 Superseded functions 
 uvm_object :: get_full_name 

  function void
 uvm_reg::get_hdl_path

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

  function void
 uvm_reg::get_hdl_path_kinds

 (  ref string kinds [$]  ) 

  function uvm_reg_map
 uvm_reg::get_local_map

 (  uvm_reg_map map , string caller = ""  ) 


 Superseding functions 
 uvm_reg_indirect_data :: get_local_map 

  function void
 uvm_reg::get_maps

 (  ref uvm_reg_map maps [$]  ) 

 static function unsigned int
 uvm_reg::get_max_size

 (   ) 

  function uvm_reg_data_t
 uvm_reg::get_mirrored_value

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

  function unsigned int
 uvm_reg::get_n_bits

 (   ) 

  function unsigned int
 uvm_reg::get_n_bytes

 (   ) 

  function int
 uvm_reg::get_n_maps

 (   ) 

  function uvm_reg_addr_t
 uvm_reg::get_offset

 (  uvm_reg_map map = null  ) 

  function uvm_reg_block
 uvm_reg::get_parent

 (   ) 

  function uvm_reg_file
 uvm_reg::get_regfile

 (   ) 

  function uvm_reg_data_t
 uvm_reg::get_reset

 (  string kind = "HARD"  ) 

  function string
 uvm_reg::get_rights

 (  uvm_reg_map map = null  ) 

  function bit
 uvm_reg::has_coverage

 (  uvm_reg_cvr_t models  ) 

  function bit
 uvm_reg::has_hdl_path

 (  string kind = ""  ) 

  function bit
 uvm_reg::has_reset

 (  string kind = "HARD", bit delete = 0  ) 

 static function void
 uvm_reg::include_coverage

 (  string scope , uvm_reg_cvr_t models , uvm_object accessor = null  ) 

  function bit
 uvm_reg::is_busy

 (   ) 

  function bit
 uvm_reg::is_in_map

 (  uvm_reg_map map  ) 

  task
 uvm_reg::mirror

 (  output uvm_status_e status , input uvm_check_e check , 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  ) 


 Superseding tasks 
 uvm_reg_indirect_data :: mirror 

  function bit
 uvm_reg::needs_update

 (   ) 


 Superseding functions 
 uvm_reg_indirect_data :: needs_update 

  function void
 uvm_reg::new

 (  string name = "", int unsigned n_bits , int has_coverage  ) 


 Superseding functions 
 uvm_reg_indirect_data :: new 

  task
 uvm_reg::peek

 (  output uvm_status_e status , output uvm_reg_data_t value , input string kind , input uvm_sequence_base parent , input uvm_object extension , input string fname , input int lineno  ) 


 Superseding tasks 
 uvm_reg_indirect_data :: peek 

  task
 uvm_reg::poke

 (  output uvm_status_e status , input uvm_reg_data_t value , input string kind , input uvm_sequence_base parent , input uvm_object extension , input string fname , input int lineno  ) 


 Superseding tasks 
 uvm_reg_indirect_data :: poke 

 virtual task
 uvm_reg::post_read

 (  uvm_reg_item rw  ) 

 virtual task
 uvm_reg::post_write

 (  uvm_reg_item rw  ) 

  function bit
 uvm_reg::predict

 (  uvm_reg_data_t value , uvm_reg_byte_en_t be = -1, uvm_predict_e kind = UVM_PREDICT_DIRECT, uvm_path_e path = UVM_FRONTDOOR, uvm_reg_map map = null, string fname = "", int lineno = 0  ) 

 virtual task
 uvm_reg::pre_read

 (  uvm_reg_item rw  ) 


 Superseding tasks 
 uvm_reg_fifo :: pre_read 

 virtual task
 uvm_reg::pre_write

 (  uvm_reg_item rw  ) 


 Superseding tasks 
 uvm_reg_fifo :: pre_write 

  task
 uvm_reg::read

 (  output uvm_status_e status , output uvm_reg_data_t value , 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  ) 


 Superseding tasks 
 uvm_reg_indirect_data :: read 

  function void
 uvm_reg::reset

 (  string kind = "HARD"  ) 

 protected virtual function void
 uvm_reg::sample

 (  uvm_reg_data_t data , uvm_reg_data_t byte_en , bit is_read , uvm_reg_map map  ) 

 virtual function void
 uvm_reg::sample_values

 (   ) 

  function void
 uvm_reg::set

 (  uvm_reg_data_t value , string fname = "", int lineno = 0  ) 


 Superseding functions 
 uvm_reg_fifo :: set 
 uvm_reg_indirect_data :: set 

  function void
 uvm_reg::set_backdoor

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

  function uvm_reg_cvr_t
 uvm_reg::set_coverage

 (  uvm_reg_cvr_t is_on  ) 

  function void
 uvm_reg::set_frontdoor

 (  uvm_reg_frontdoor ftdr , uvm_reg_map map = null, string fname = "", int lineno = 0  ) 

  function void
 uvm_reg::set_offset

 (  uvm_reg_map map , uvm_reg_addr_t offset , bit unmapped = 0  ) 

  function void
 uvm_reg::set_parent

 (  uvm_reg_block blk_parent , uvm_reg_file regfile_parent  ) 

  function void
 uvm_reg::set_reset

 (  uvm_reg_data_t value , string kind = "HARD"  ) 

  task
 uvm_reg::update

 (  output uvm_status_e status , 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  ) 


 Superseding tasks 
 uvm_reg_fifo :: update 
 uvm_reg_indirect_data :: update 

  task
 uvm_reg::write

 (  output uvm_status_e status , input uvm_reg_data_t value , 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  ) 


 Superseding tasks 
 uvm_reg_indirect_data :: write 

  task
 uvm_reg::XatomicX

 (  bit on  ) 

  function bit
 uvm_reg::Xcheck_accessX

 (  input uvm_reg_item rw , output uvm_reg_map_info map_info , input string caller  ) 

  function string
 uvm_reg::Xget_fields_accessX

 (  uvm_reg_map map  ) 

  function bit
 uvm_reg::Xis_locked_by_fieldX

 (   ) 

  function void
 uvm_reg::Xlock_modelX

 (   ) 

  task
 uvm_reg::XreadX

 (  output uvm_status_e status , output uvm_reg_data_t value , 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  ) 

  function void
 uvm_reg::XsampleX

 (  uvm_reg_data_t data , uvm_reg_data_t byte_en , bit is_read , uvm_reg_map map  ) 

  function void
 uvm_reg::Xset_busyX

 (  bit busy  ) 


Member Attribute Documentation

 protected uvm_reg_field  attribute
 uvm_reg::m_fields[$]

 bit  attribute
 uvm_reg::m_is_busy

 bit  attribute
 uvm_reg::m_is_locked_by_field

 protected bit  attribute
 uvm_reg::m_maps[ uvm_reg_map ]

 protected bit  attribute
 uvm_reg::m_update_in_progress