Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Macros
vmap.h File Reference
#include <map>
Include dependency graph for vmap.h:
This graph shows which files directly or indirectly include this file:

Macros

#define vmap   std::map
 

Detailed Description

To save system memory and optimize simulation performance large, sparse memories should be implemented as maps. In this case the memory address represents the key and the actual data the entry. Because the performance of the various existing map implementation strongly depends on the system environment, the SoCRocket library provides the flexible type vmap. The vmap.h header contains a macro defining vmap as either std::map, hash_map or std::tr1::unordered_map.

An example for the usage of vmap is given by the MapMemory implementation of the Generic Memory (Generic Memory SystemC Model).

Date
2010-2015
Author
Thomas Schuster