uvm_mem Class Reference

Inheritance diagram for class uvm_mem:

List of all members.



Public Member Functions

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 )
function uvm_status_e  backdoor_read_func ( uvm_reg_item rw )
task   backdoor_write ( uvm_reg_item rw )
task   burst_read ( output uvm_status_e status, input uvm_reg_addr_t offset, ref 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   burst_write ( output uvm_status_e status, input uvm_reg_addr_t offset, 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 )
function void  clear_hdl_path ( string kind = "RTL" )
function uvm_object  clone ( )
function void  configure ( uvm_reg_block parent, string hdl_path = "" )
function string  convert2string ( )
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 )
task   do_read ( uvm_reg_item rw )
function void  do_unpack ( uvm_packer packer )
task   do_write ( uvm_reg_item rw )
function string  get_access ( uvm_reg_map map = null )
function uvm_reg_addr_t  get_address ( uvm_reg_addr_t offset = 0, uvm_reg_map map = null )
function int  get_addresses ( uvm_reg_addr_t offset = 0, 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 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 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_addr_t offset = 0, uvm_reg_map map = null )
function uvm_reg_block  get_parent ( )
function string  get_rights ( uvm_reg_map map = null )
function longint unsigned  get_size ( )
function uvm_vreg_field  get_vfield_by_name ( string name )
function void  get_virtual_fields ( ref uvm_vreg_field fields[$] )
function void  get_virtual_registers ( ref uvm_vreg regs[$] )
function uvm_vreg  get_vreg_by_name ( string name )
function uvm_vreg  get_vreg_by_offset ( uvm_reg_addr_t offset, uvm_reg_map map = null )
function bit  has_coverage ( uvm_reg_cvr_t models )
function bit  has_hdl_path ( string kind = "" )
function bit  is_in_map ( uvm_reg_map map )
function void  new ( string name, longint unsigned size, int unsigned n_bits, string access = "RW", int has_coverage = UVM_NO_COVERAGE )
task   peek ( output uvm_status_e status, input uvm_reg_addr_t offset, 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_addr_t offset, 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 )
virtual task   pre_read ( uvm_reg_item rw )
virtual task   pre_write ( uvm_reg_item rw )
task   read ( output uvm_status_e status, input uvm_reg_addr_t offset, 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  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 parent )
task   write ( output uvm_status_e status, input uvm_reg_addr_t offset, 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 )
function void  Xadd_vregX ( uvm_vreg vreg )
function void  Xdelete_vregX ( uvm_vreg vreg )
function void  Xlock_modelX ( )
function void  XsampleX ( uvm_reg_addr_t addr, bit is_read, uvm_reg_map map )

Public Attributes

uvm_mem_mam  mam 

Protected Member Functions

function void  add_coverage ( uvm_reg_cvr_t models )
task   backdoor_read ( uvm_reg_item rw )
function uvm_reg_cvr_t  build_coverage ( uvm_reg_cvr_t models )
virtual function void  sample ( uvm_reg_addr_t offset, bit is_read, uvm_reg_map map )
function bit  Xcheck_accessX ( input uvm_reg_item rw, output uvm_reg_map_info map_info, input string caller )

Member Typedefs

 typedef enum  init_e 


Member Function Documentation

 protected function void
 uvm_mem::add_coverage

 (  uvm_reg_cvr_t models  ) 

  function void
 uvm_mem::add_hdl_path

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

  function void
 uvm_mem::add_hdl_path_slice

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

  function void
 uvm_mem::add_map

 (  uvm_reg_map map  ) 

 protected task
 uvm_mem::backdoor_read

 (  uvm_reg_item rw  ) 

  function uvm_status_e
 uvm_mem::backdoor_read_func

 (  uvm_reg_item rw  ) 

  task
 uvm_mem::backdoor_write

 (  uvm_reg_item rw  ) 

 protected function uvm_reg_cvr_t
 uvm_mem::build_coverage

 (  uvm_reg_cvr_t models  ) 

  task
 uvm_mem::burst_read

 (  output uvm_status_e status , input uvm_reg_addr_t offset , ref 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
 uvm_mem::burst_write

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

  function void
 uvm_mem::clear_hdl_path

 (  string kind = "RTL"  ) 

  function uvm_object
 uvm_mem::clone

 (   ) 


 Superseded functions 
 uvm_object :: clone 

  function void
 uvm_mem::configure

 (  uvm_reg_block parent , string hdl_path = ""  ) 

  function string
 uvm_mem::convert2string

 (   ) 


 Superseded functions 
 uvm_object :: convert2string 

  function bit
 uvm_mem::do_compare

 (  uvm_object rhs , uvm_comparer comparer  ) 


 Superseded functions 
 uvm_object :: do_compare 

  function void
 uvm_mem::do_copy

 (  uvm_object rhs  ) 


 Superseded functions 
 uvm_object :: do_copy 

  function void
 uvm_mem::do_pack

 (  uvm_packer packer  ) 


 Superseded functions 
 uvm_object :: do_pack 

  function void
 uvm_mem::do_print

 (  uvm_printer printer  ) 


 Superseded functions 
 uvm_object :: do_print 

  task
 uvm_mem::do_read

 (  uvm_reg_item rw  ) 

  function void
 uvm_mem::do_unpack

 (  uvm_packer packer  ) 


 Superseded functions 
 uvm_object :: do_unpack 

  task
 uvm_mem::do_write

 (  uvm_reg_item rw  ) 

  function string
 uvm_mem::get_access

 (  uvm_reg_map map = null  ) 

  function uvm_reg_addr_t
 uvm_mem::get_address

 (  uvm_reg_addr_t offset = 0, uvm_reg_map map = null  ) 

  function int
 uvm_mem::get_addresses

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

  function uvm_reg_backdoor
 uvm_mem::get_backdoor

 (  bit inherited = 1  ) 

  function uvm_reg_block
 uvm_mem::get_block

 (   ) 

  function bit
 uvm_mem::get_coverage

 (  uvm_reg_cvr_t is_on  ) 

  function uvm_reg_map
 uvm_mem::get_default_map

 (  string caller = ""  ) 

  function uvm_reg_frontdoor
 uvm_mem::get_frontdoor

 (  uvm_reg_map map = null  ) 

  function void
 uvm_mem::get_full_hdl_path

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

  function string
 uvm_mem::get_full_name

 (   ) 


 Superseded functions 
 uvm_object :: get_full_name 

  function void
 uvm_mem::get_hdl_path

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

  function void
 uvm_mem::get_hdl_path_kinds

 (  ref string kinds [$]  ) 

  function uvm_reg_map
 uvm_mem::get_local_map

 (  uvm_reg_map map , string caller = ""  ) 

  function void
 uvm_mem::get_maps

 (  ref uvm_reg_map maps [$]  ) 

 static function unsigned int
 uvm_mem::get_max_size

 (   ) 

  function unsigned int
 uvm_mem::get_n_bits

 (   ) 

  function unsigned int
 uvm_mem::get_n_bytes

 (   ) 

  function int
 uvm_mem::get_n_maps

 (   ) 

  function uvm_reg_addr_t
 uvm_mem::get_offset

 (  uvm_reg_addr_t offset = 0, uvm_reg_map map = null  ) 

  function uvm_reg_block
 uvm_mem::get_parent

 (   ) 

  function string
 uvm_mem::get_rights

 (  uvm_reg_map map = null  ) 

  function longint unsigned
 uvm_mem::get_size

 (   ) 

  function uvm_vreg_field
 uvm_mem::get_vfield_by_name

 (  string name  ) 

  function void
 uvm_mem::get_virtual_fields

 (  ref uvm_vreg_field fields [$]  ) 

  function void
 uvm_mem::get_virtual_registers

 (  ref uvm_vreg regs [$]  ) 

  function uvm_vreg
 uvm_mem::get_vreg_by_name

 (  string name  ) 

  function uvm_vreg
 uvm_mem::get_vreg_by_offset

 (  uvm_reg_addr_t offset , uvm_reg_map map = null  ) 

  function bit
 uvm_mem::has_coverage

 (  uvm_reg_cvr_t models  ) 

  function bit
 uvm_mem::has_hdl_path

 (  string kind = ""  ) 

  function bit
 uvm_mem::is_in_map

 (  uvm_reg_map map  ) 

  function void
 uvm_mem::new

 (  string name , longint unsigned size , int unsigned n_bits , string access = "RW", int has_coverage = UVM_NO_COVERAGE  ) 

  task
 uvm_mem::peek

 (  output uvm_status_e status , input uvm_reg_addr_t offset , 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
 uvm_mem::poke

 (  output uvm_status_e status , input uvm_reg_addr_t offset , 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
 uvm_mem::post_read

 (  uvm_reg_item rw  ) 

 virtual task
 uvm_mem::post_write

 (  uvm_reg_item rw  ) 

 virtual task
 uvm_mem::pre_read

 (  uvm_reg_item rw  ) 

 virtual task
 uvm_mem::pre_write

 (  uvm_reg_item rw  ) 

  task
 uvm_mem::read

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

 protected virtual function void
 uvm_mem::sample

 (  uvm_reg_addr_t offset , bit is_read , uvm_reg_map map  ) 

  function void
 uvm_mem::set_backdoor

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

  function uvm_reg_cvr_t
 uvm_mem::set_coverage

 (  uvm_reg_cvr_t is_on  ) 

  function void
 uvm_mem::set_frontdoor

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

  function void
 uvm_mem::set_offset

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

  function void
 uvm_mem::set_parent

 (  uvm_reg_block parent  ) 

  task
 uvm_mem::write

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

  function void
 uvm_mem::Xadd_vregX

 (  uvm_vreg vreg  ) 

 protected function bit
 uvm_mem::Xcheck_accessX

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

  function void
 uvm_mem::Xdelete_vregX

 (  uvm_vreg vreg  ) 

  function void
 uvm_mem::Xlock_modelX

 (   ) 

  function void
 uvm_mem::XsampleX

 (  uvm_reg_addr_t addr , bit is_read , uvm_reg_map map  ) 


Member Attribute Documentation

 uvm_mem_mam  attribute
 uvm_mem::mam


Member Typedef Documentation

 typedef enum  uvm_mem::init_e
UNKNOWNS
ZEROES
ONES
ADDRESS
VALUE
INCR
DECR