SVT svt_mem_backdoor Class Member List

This is the complete list of members for class svt_mem_backdoor, including all inherited members.


 svt_mem_backdoor   function bit  are_set ( svt_mem_attr_t attr, svt_mem_addr_t addr )  Return TRUE if the specified address exists and all of the specified attributes are set for the specified address.  
 svt_mem_backdoor   function bit  clear_attributes ( svt_mem_attr_t attr, svt_mem_addr_t addr )  Clear the specified attributes for the specified address  
 svt_mem_backdoor   function svt_mem_backdoor  clone ( )  Make a copy of this class, including the state of the iterator  
 svt_mem_backdoor_base   function int  compare ( string filename, svt_mem_backdoor_base :: compare_type_enum compare_type, int max_errors, svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi )  Compare the content of the memory in the specifed address range (entire memory by default) with the data found in the specifed file, using the relevant policy based on the filename. This is the method that the user should use when doing 'compare' operations.  
 svt_mem_backdoor   function int  compare_base ( string filename, svt_mem_backdoor_base :: compare_type_enum compare_type, int max_errors, svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi, svt_mem_address_mapper mapper = null )  Internal method for comparing the content of the memory in the specifed address range (entire memory by default) with the data found in the specifed file, using the relevant policy based on the filename.  
 svt_mem_backdoor_base  enum  compare_type_enum  The same addresses present in the memory core and in the file contain the same data and addresses present only in the file or the memory core are ignored  
 svt_mem_backdoor_base  typedef  compare_type_enum   
 svt_mem_backdoor   function void  copy ( svt_mem_backdoor rhs )  Copy the state of the specified iterator to this iterator. The specified iterator must refer to the same memory core.  
 svt_mem_backdoor_base   function void  dump ( string filename, string filetype, bit append, svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi, int modes = 0 )  Saves memory contents within the indicated 'addr_lo' to 'addr_hi' address range into the specified 'file' using the format identified by 'filetype', where the only supported values are "MIF" and "MEMH". The 'append' bit indicates whether the content should be appended to the file if it already exists. This is the method that the user should use when doing 'dump' operations.  
 svt_mem_backdoor   function void  dump_base ( string filename, string filetype, svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi, svt_mem_address_mapper mapper = null, int modes = 0 )  Internal method for saving memory contents within the indicated 'addr_lo' to 'addr_hi' address range into the specified 'file' using the format identified by 'filetype', where the only supported values are "MIF" and "MEMH".  
 svt_mem_backdoor_base   function bit  free ( svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi )  Free the data associated with the specified address range, as if it had never been written. If addr_lo == 0 and addr_hi == -1 then this frees all of the data in the memory.  
 svt_mem_backdoor   function void  free_all ( )  Free all data in the memory.  
 svt_mem_backdoor   function bit  free_attribute ( svt_mem_attr_t free_attr_mask )  Release a presviously-created user-defined attribute. The released attibute may be reused by a new subsequently created user-defined attibute.  
 svt_mem_backdoor   function bit  free_base ( svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi, int modes = 0 )  Free the data associated with the specified address range, as if it had never been written. If addr_lo == 0 and addr_hi == -1 then this frees all of the data in the memory.  
 svt_mem_backdoor   function int  get_access_lock_attr ( )  Retrieve the attribute mask for the lock attribute  
 svt_mem_backdoor   function svt_mem_addr_t  get_addr ( )  Return the address of the memory location corresponding to the current location of the iterator. 
 svt_mem_backdoor   function int  get_addr_width ( )  Returns the configured address width of the memcore  
 svt_mem_backdoor   function svt_mem_attr_t  get_attributes ( )  Return the bitwise-OR of all attributes set for the memory location corresponding to the current location of the iterator 
 svt_mem_backdoor   function unsigned int  get_checks ( )  Retrieves the check mask which determines which checks the memserver performs  
 svt_mem_backdoor   function svt_mem_data_t  get_data ( )  Return the value in the memory location corresponding to the current location of the iterator. 
 svt_mem_backdoor   function int  get_data_width ( )  Returns the configured data width of the memcore  
 svt_mem_backdoor_base   function string  get_formatted_name ( )  Used to get the backdoor name in a form that can easily be added to a message.  
 svt_mem_backdoor_base   function int  get_fully_supported_features ( )  Method to provide a bit vector identifying which operations are fully supported.  
 svt_mem_backdoor_base   function string  get_name ( )  Used to get the backdoor name.  
 svt_mem_backdoor   function int  get_supported_features ( )  Method to provide a bit vector identifying which of the common memory operations (i.e., currently peek, poke, load, and dump) are supported.  
 svt_mem_backdoor   function int  get_write_protect_attr ( )  Retrieve the attribute mask for the write protect attribute  
 svt_mem_backdoor_base   function void  initialize ( svt_mem_backdoor_base :: init_pattern_type_enum pattern = INIT_CONST, svt_mem_data_t base_data = 0, svt_mem_addr_t start_addr = 0, svt_mem_addr_t end_addr = -1, svt_mem_data_t optional_data = 0 )  Initialize the specified address range in the memory with the specified pattern.  
 svt_mem_backdoor   function void  initialize_base ( svt_mem_backdoor_base :: init_pattern_type_enum pattern = INIT_CONST, svt_mem_data_t base_data = 0, svt_mem_addr_t start_addr = 0, svt_mem_addr_t end_addr = -1, int modes = 0, svt_mem_data_t optional_data = 0 )  Initialize the specified address range in the memory with the specified pattern. Supported patterns are: constant value, incrementing values, decrementing values, walk left, walk right. For user-defined patterns, the backdoor should be used.  
 svt_mem_backdoor_base  enum value  INIT_CONST   
 svt_mem_backdoor_base  enum value  INIT_DECR   
 svt_mem_backdoor_base  enum value  INIT_INCR   
 svt_mem_backdoor_base  enum value  INIT_ODD_EVEN_CONST   
 svt_mem_backdoor_base  enum  init_pattern_type_enum  Pattern type to define the default value for uninitialized memory locations.  
 svt_mem_backdoor_base  typedef  init_pattern_type_enum   
 svt_mem_backdoor_base  enum value  INIT_RAND   
 svt_mem_backdoor_base  enum value  INIT_WALK_LEFT   
 svt_mem_backdoor_base  enum value  INIT_WALK_RIGHT   
 svt_mem_backdoor_base  enum value  INTERSECT   
 svt_mem_backdoor  static const svt_mem_attr_t  LAST_RD = SVT_MEM_ATTRIBUTE_LAST_RD; Predefined attribute indicating an address was last accessed by a READ operation. 
 svt_mem_backdoor  static const svt_mem_attr_t  LAST_WR = SVT_MEM_ATTRIBUTE_LAST_WR; Predefined attribute indicating an address was last accessed by a WRITE operation. Provided for backwards compatibility, but clients should actually use the SVT specified attribute constants. 
 svt_mem_backdoor_base   function void  load ( string filename, bit write_protected = 0 )  Loads memory locations with the contents of the specified file. This is the method that the user should use when doing 'load' operations.  
 svt_mem_backdoor   function void  load_base ( string filename, svt_mem_address_mapper mapper = null, int modes = 0 )  Internal method for loading memory locations with the contents of the specified file.  
 svt_mem_backdoor_base  vmm_log  log Log instance used to report messages.  
 svt_mem_backdoor  string  name  
 svt_mem_backdoor   function void  new ( string name = "", svt_mem_core mem_core = null, vmm_log log = null )  CONSTRUCTOR: Create a new svt_mem_backdoor instance  
 svt_mem_backdoor   function svt_mem_attr_t  new_attribute ( )  Creates a new user-defined attribute that can be attanched to any address. Different user-defined attributes can be bitwise-OR's to operate on multiple attributes at the same time.  
 svt_mem_backdoor   function bit  next ( )  Move the iterator to the next memory location. The order in which memory location are visited is not specified. 
 svt_mem_backdoor_base   function bit  peek ( svt_mem_addr_t addr, output svt_mem_data_t data )  Set the output argument to the value found at the specified address  
 svt_mem_backdoor   function svt_mem_attr_t  peek_attributes ( svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi, int modes = 0 )  Return the attribute settings for the indicated address range. Does an 'AND' or an 'OR' of the attributes within the range, based on the 'modes' setting. The default setting results in an 'AND' of the attributes.  
 svt_mem_backdoor   function bit  peek_base ( svt_mem_addr_t addr, output svt_mem_data_t data, input int modes )  Set the output argument to the value found a the specified address Returns TRUE if a value was found. Returns FALSE otherwise. By default. the attributes are not modified but if specified, attributes may be set or cleared.  
 svt_mem_backdoor_base   function bit  poke ( svt_mem_addr_t addr, svt_mem_data_t data )  Write the specified value at the specified address.  
 svt_mem_backdoor   function void  poke_attributes ( svt_mem_attr_t attr, svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi, int modes = 0 )  Set the attributes for the addresses in the indicated address range. Does an 'AND' or an 'OR' of the attributes within the range, based on the 'modes' setting. The default setting results in an 'AND' of the attributes.  
 svt_mem_backdoor   function bit  poke_base ( svt_mem_addr_t addr, svt_mem_data_t data, int modes = 0 )  Write the specified value at the specified address. By default, the attributes are not modified but if specified, attributes may be set or cleared.  
 svt_mem_backdoor   function void  protect ( svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi )  Create a write protect to a memory range  
 svt_mem_backdoor_base   function string  psdisplay ( string prefix = "" )  Generates short description of the backdoor instance.  
 svt_mem_backdoor   function bit  reset ( svt_mem_attr_t attr = 'h2 )  Reset the iterator to the first address with all the specified(bitwise-OR'd) attributes set. Default is SVT_MEM_ATTRIBUTE_INIT, which is interpreted to represent all occupied locations, whether they have been initialized or written to. 
 svt_mem_backdoor   function void  set_attributes ( svt_mem_attr_t attr, svt_mem_addr_t addr )  Set the specified attributes for the specified address  
 svt_mem_backdoor   function void  set_checks ( int unsigned enables )  Sets the error checking enables which determine whether particular types of errors or warnings will be checked by the C-based memserver application. The check_enables mask uses the same bits as the status values.  
 svt_mem_backdoor_base   function void  set_name ( string name )  Used to set the backdoor name.  
 svt_mem_backdoor_base  enum value  STRICT   
 svt_mem_backdoor_base  enum value  SUBSET   
 svt_mem_backdoor_base  enum value  SUPERSET   
 svt_mem_backdoor   function void  unprotect ( svt_mem_addr_t addr_lo, svt_mem_addr_t addr_hi )  Release write protect to a memory range  
 svt_mem_backdoor  static const svt_mem_attr_t  WRITTEN = SVT_MEM_ATTRIBUTE_INIT; Pre-defined attribute indicating an address has been written or initialized. Provided for backwards compatibility, but clients should actually use the SVT specified attribute constants.