vmm_mam Class Reference

Collaboration diagram for vmm_mam:

Collaboration graph
[legend]

List of all members.

Public Types

enum  alloc_mode_e { GREEDY, THRIFTY }
enum  locality_e { BROAD, NEARBY }

Public Member Functions

 new (string name, vmm_mam_cfg cfg, vmm_ral_mem mem=null)
vmm_mam_cfg reconfigure (vmm_mam_cfg cfg=null)
vmm_mam_region reserve_region (bit< 63:0 > start_offset, int unsigned n_bytes)
vmm_mam_region request_region (int unsigned n_bytes, vmm_mam_allocator alloc=null)
void release_region (vmm_mam_region region)
void release_all_regions ()
string psdisplay (string prefix=" ")
vmm_mam_region for_each (bit reset=0)
vmm_ral_mem get_memory ()

Public Attributes

vmm_log log
vmm_mam_allocator default_alloc

Private Attributes

vmm_mam_cfg cfg
vmm_ral_mem memory
vmm_mam_region in_use [$]
int for_each_idx = -1


Detailed Description

Definition at line 140 of file vmm_mam.sv.


Member Enumeration Documentation

Enumerator:
GREEDY 
THRIFTY 

Definition at line 142 of file vmm_mam.sv.

Enumerator:
BROAD 
NEARBY 

Definition at line 143 of file vmm_mam.sv.


Member Function Documentation

vmm_mam::new ( string  name,
vmm_mam_cfg  cfg,
vmm_ral_mem  mem = null 
)

Definition at line 253 of file vmm_mam.sv.

vmm_mam_cfg vmm_mam::reconfigure ( vmm_mam_cfg  cfg = null  ) 

Definition at line 263 of file vmm_mam.sv.

vmm_mam_region vmm_mam::reserve_region ( bit< 63:0 >  start_offset,
int unsigned  n_bytes 
)

Definition at line 292 of file vmm_mam.sv.

vmm_mam_region vmm_mam::request_region ( int unsigned  n_bytes,
vmm_mam_allocator  alloc = null 
)

Definition at line 344 of file vmm_mam.sv.

void vmm_mam::release_region ( vmm_mam_region  region  ) 

Definition at line 362 of file vmm_mam.sv.

void vmm_mam::release_all_regions (  ) 

Definition at line 376 of file vmm_mam.sv.

string vmm_mam::psdisplay ( string  prefix = " "  ) 

Definition at line 388 of file vmm_mam.sv.

vmm_mam_region vmm_mam::for_each ( bit  reset = 0  ) 

Definition at line 397 of file vmm_mam.sv.

vmm_ral_mem vmm_mam::get_memory (  ) 

Definition at line 410 of file vmm_mam.sv.


Member Data Documentation

Definition at line 145 of file vmm_mam.sv.

Definition at line 147 of file vmm_mam.sv.

Definition at line 149 of file vmm_mam.sv.

Definition at line 150 of file vmm_mam.sv.

Definition at line 152 of file vmm_mam.sv.

int vmm_mam::for_each_idx = -1 [private]

Definition at line 153 of file vmm_mam.sv.


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

Intelligent Design Verification
Intelligent Design Verification
Project: VMM, Revision: 1.0.1
Copyright (c) 2008 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.5.6
Sat Oct 18 11:32:23 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV