vmm_ral_block_or_sys Class Reference

Inheritance diagram for vmm_ral_block_or_sys:
Inheritance graph
[legend]
Collaboration diagram for vmm_ral_block_or_sys:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 new (vmm_ral_sys parent, string block_or_sys, string name, string typename, int unsigned n_bytes, vmm_ral::endianness_e endian, bit< VMM_RAL_ADDR_WIDTH-1:0 > base_addr, string domain="", bit cover_on=1)
virtual void Xlock_modelX ()
bit Xis_lockedX ()
virtual void add_domain (int unsigned n_bytes, vmm_ral::endianness_e endian, string domain)
virtual void map_domain (string domain, string in_domain, bit< VMM_RAL_ADDR_WIDTH-1:0 > base_addr)
virtual void Xregister_ral_accessX (vmm_ral_access access)
void Xadd_constraintsX (string name)
virtual string get_name ()
virtual string get_type ()
virtual string get_fullname ()
void get_domains (ref string names[])
virtual vmm_ral_sys get_parent ()
virtual bit
< VMM_RAL_ADDR_WIDTH-1:0 > 
get_base_addr (string domain="")
virtual int unsigned get_n_bytes (string domain="")
virtual vmm_ral::endianness_e get_endian (string domain="")
virtual vmm_ral::path_e get_default_access ()
virtual string get_parent_domain (string domain="")
virtual string get_external_domain (string domain="")
virtual void display (string prefix="", string domain="")
virtual string psdisplay (string prefix="", string domain="")
virtual void get_fields (ref vmm_ral_field fields[], input string domain="")
virtual vmm_ral_field get_field_by_name (string name)
virtual void get_registers (ref vmm_ral_reg regs[], input string domain="")
virtual void get_virtual_registers (ref vmm_ral_vreg vregs[], input string domain="")
virtual vmm_ral_reg get_reg_by_name (string name)
virtual vmm_ral_reg get_reg_by_offset (bit< VMM_RAL_ADDR_WIDTH-1:0 > offset, string domain="")
virtual void get_memories (ref vmm_ral_mem mems[], input string domain="")
virtual vmm_ral_mem get_mem_by_name (string name)
virtual vmm_ral_mem get_mem_by_offset (bit< VMM_RAL_ADDR_WIDTH-1:0 > offset, string domain="")
virtual void get_constraints (ref string names[])
virtual bit set_cover (bit is_on)
virtual bit is_cover_on ()
virtual void reset (string domain="", vmm_ral::reset_e kind=vmm_ral::HARD)
virtual bit needs_update ()
virtual task update (output vmm_rw::status_e status, input vmm_ral::path_e path=vmm_ral::DEFAULT)
virtual task mirror (output vmm_rw::status_e status, input vmm_ral::check_e check=vmm_ral::QUIET, input vmm_ral::path_e path=vmm_ral::DEFAULT)
virtual task readmemh (string filename)
virtual task writememh (string filename)
void prepend_callback (vmm_ral_callbacks cbs)
void append_callback (vmm_ral_callbacks cbs)
void unregister_callback (vmm_ral_callbacks cbs)

Public Attributes

vmm_ral::path_e default_access = vmm_ral::DEFAULT

Static Public Attributes

static vmm_log log = new("RAL", "Block/Sys")

Protected Member Functions

int get_domain_index (string domain)

Protected Attributes

vmm_ral_access ral_access

Private Attributes

bit locked
string name
string typename
string domains []
string in_domains []
int unsigned n_bytes []
vmm_ral::endianness_e endian []
bit< VMM_RAL_ADDR_WIDTH-1:0 > base_addr []
string constr []
vmm_ral_sys parent
bit no_cover
bit cover_on

Detailed Description

Definition at line 23 of file vmm_ral_block_or_sys.sv.


Member Function Documentation

void vmm_ral_block_or_sys::add_domain ( int unsigned  n_bytes,
vmm_ral::endianness_e  endian,
string  domain 
) [virtual]

Reimplemented in vmm_ral_sys.

Definition at line 166 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::append_callback ( vmm_ral_callbacks  cbs  ) 

Definition at line 372 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::display ( string  prefix = "",
string  domain = "" 
) [virtual]

Definition at line 340 of file vmm_ral_block_or_sys.sv.

bit< VMM_RAL_ADDR_WIDTH-1:0 > vmm_ral_block_or_sys::get_base_addr ( string  domain = ""  )  [virtual]

Definition at line 263 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::get_constraints ( ref string  names[]  )  [virtual]

Reimplemented in vmm_ral_block.

Definition at line 346 of file vmm_ral_block_or_sys.sv.

vmm_ral::path_e vmm_ral_block_or_sys::get_default_access (  )  [virtual]

Definition at line 290 of file vmm_ral_block_or_sys.sv.

int vmm_ral_block_or_sys::get_domain_index ( string  domain  )  [protected]

Definition at line 380 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::get_domains ( ref string  names[]  ) 

Definition at line 253 of file vmm_ral_block_or_sys.sv.

vmm_ral::endianness_e vmm_ral_block_or_sys::get_endian ( string  domain = ""  )  [virtual]

Definition at line 281 of file vmm_ral_block_or_sys.sv.

string vmm_ral_block_or_sys::get_external_domain ( string  domain = ""  )  [virtual]

Definition at line 328 of file vmm_ral_block_or_sys.sv.

virtual vmm_ral_field vmm_ral_block_or_sys::get_field_by_name ( string  name  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual void vmm_ral_block_or_sys::get_fields ( ref vmm_ral_field  fields[],
input string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

string vmm_ral_block_or_sys::get_fullname (  )  [virtual]

Definition at line 239 of file vmm_ral_block_or_sys.sv.

virtual vmm_ral_mem vmm_ral_block_or_sys::get_mem_by_name ( string  name  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual vmm_ral_mem vmm_ral_block_or_sys::get_mem_by_offset ( bit< VMM_RAL_ADDR_WIDTH-1:0 >  offset,
string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual void vmm_ral_block_or_sys::get_memories ( ref vmm_ral_mem  mems[],
input string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

int unsigned vmm_ral_block_or_sys::get_n_bytes ( string  domain = ""  )  [virtual]

Definition at line 272 of file vmm_ral_block_or_sys.sv.

string vmm_ral_block_or_sys::get_name (  )  [virtual]

Definition at line 229 of file vmm_ral_block_or_sys.sv.

vmm_ral_sys vmm_ral_block_or_sys::get_parent (  )  [virtual]

Definition at line 258 of file vmm_ral_block_or_sys.sv.

string vmm_ral_block_or_sys::get_parent_domain ( string  domain = ""  )  [virtual]

Definition at line 315 of file vmm_ral_block_or_sys.sv.

virtual vmm_ral_reg vmm_ral_block_or_sys::get_reg_by_name ( string  name  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual vmm_ral_reg vmm_ral_block_or_sys::get_reg_by_offset ( bit< VMM_RAL_ADDR_WIDTH-1:0 >  offset,
string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual void vmm_ral_block_or_sys::get_registers ( ref vmm_ral_reg  regs[],
input string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

string vmm_ral_block_or_sys::get_type (  )  [virtual]

Definition at line 234 of file vmm_ral_block_or_sys.sv.

virtual void vmm_ral_block_or_sys::get_virtual_registers ( ref vmm_ral_vreg  vregs[],
input string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

bit vmm_ral_block_or_sys::is_cover_on (  )  [virtual]

Definition at line 363 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::map_domain ( string  domain,
string  in_domain,
bit< VMM_RAL_ADDR_WIDTH-1:0 >  base_addr 
) [virtual]

Definition at line 185 of file vmm_ral_block_or_sys.sv.

virtual task vmm_ral_block_or_sys::mirror ( output vmm_rw::status_e  status,
input vmm_ral::check_e  check = vmm_ral::QUIET,
input vmm_ral::path_e  path = vmm_ral::DEFAULT 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual bit vmm_ral_block_or_sys::needs_update (  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

vmm_ral_block_or_sys::new ( vmm_ral_sys  parent,
string  block_or_sys,
string  name,
string  typename,
int unsigned  n_bytes,
vmm_ral::endianness_e  endian,
bit< VMM_RAL_ADDR_WIDTH-1:0 >  base_addr,
string  domain = "",
bit  cover_on = 1 
)

Definition at line 127 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::prepend_callback ( vmm_ral_callbacks  cbs  ) 

Definition at line 368 of file vmm_ral_block_or_sys.sv.

virtual string vmm_ral_block_or_sys::psdisplay ( string  prefix = "",
string  domain = "" 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual task vmm_ral_block_or_sys::readmemh ( string  filename  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual void vmm_ral_block_or_sys::reset ( string  domain = "",
vmm_ral::reset_e  kind = vmm_ral::HARD 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

bit vmm_ral_block_or_sys::set_cover ( bit  is_on  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

Definition at line 351 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::unregister_callback ( vmm_ral_callbacks  cbs  ) 

Definition at line 376 of file vmm_ral_block_or_sys.sv.

virtual task vmm_ral_block_or_sys::update ( output vmm_rw::status_e  status,
input vmm_ral::path_e  path = vmm_ral::DEFAULT 
) [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

virtual task vmm_ral_block_or_sys::writememh ( string  filename  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

void vmm_ral_block_or_sys::Xadd_constraintsX ( string  name  ) 

Definition at line 205 of file vmm_ral_block_or_sys.sv.

bit vmm_ral_block_or_sys::Xis_lockedX (  ) 

Definition at line 161 of file vmm_ral_block_or_sys.sv.

void vmm_ral_block_or_sys::Xlock_modelX (  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.

Definition at line 156 of file vmm_ral_block_or_sys.sv.

virtual void vmm_ral_block_or_sys::Xregister_ral_accessX ( vmm_ral_access  access  )  [virtual]

Reimplemented in vmm_ral_block, and vmm_ral_sys.


Member Data Documentation

bit<VMM_RAL_ADDR_WIDTH-1:0> vmm_ral_block_or_sys::base_addr[] [private]

Definition at line 37 of file vmm_ral_block_or_sys.sv.

string vmm_ral_block_or_sys::constr[] [private]

Definition at line 38 of file vmm_ral_block_or_sys.sv.

Definition at line 44 of file vmm_ral_block_or_sys.sv.

Definition at line 26 of file vmm_ral_block_or_sys.sv.

string vmm_ral_block_or_sys::domains[] [private]

Reimplemented in vmm_ral_sys.

Definition at line 33 of file vmm_ral_block_or_sys.sv.

Definition at line 36 of file vmm_ral_block_or_sys.sv.

Definition at line 34 of file vmm_ral_block_or_sys.sv.

Definition at line 28 of file vmm_ral_block_or_sys.sv.

vmm_log vmm_ral_block_or_sys::log = new("RAL", "Block/Sys") [static]

Definition at line 24 of file vmm_ral_block_or_sys.sv.

int unsigned vmm_ral_block_or_sys::n_bytes[] [private]

Definition at line 35 of file vmm_ral_block_or_sys.sv.

string vmm_ral_block_or_sys::name [private]

Definition at line 30 of file vmm_ral_block_or_sys.sv.

Definition at line 43 of file vmm_ral_block_or_sys.sv.

Definition at line 40 of file vmm_ral_block_or_sys.sv.

Definition at line 41 of file vmm_ral_block_or_sys.sv.

Definition at line 31 of file vmm_ral_block_or_sys.sv.


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

Intelligent Design Verification
Intelligent Design Verification
Project: VMM, Revision: 1.0.0
Copyright (c) 2008-2010 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.6.3
IDV SV Filter Version: 2.6.3
Sat Jun 19 12:02:05 2010
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV