Last change
on this file since 135 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Rev | Line | |
---|
[80] | 1 | #ifndef ENVIRONMENT_CACHE_CACHE_MULTILEVEL_H |
---|
| 2 | #define ENVIRONMENT_CACHE_CACHE_MULTILEVEL_H |
---|
[78] | 3 | |
---|
| 4 | #include "Cache_MultiLevel_Parameters.h" |
---|
| 5 | #include "Cache_MultiLevel_Access.h" |
---|
| 6 | #include "Cache_OneLevel.h" |
---|
| 7 | |
---|
[80] | 8 | namespace environment { |
---|
[78] | 9 | namespace cache { |
---|
| 10 | namespace cache_multilevel { |
---|
| 11 | |
---|
| 12 | class Cache_MultiLevel |
---|
| 13 | { |
---|
| 14 | protected : std::string name; |
---|
| 15 | public : Parameters * param; |
---|
| 16 | protected : cache_onelevel::Cache_OneLevel ** hierarchy_cache; |
---|
| 17 | |
---|
| 18 | public : Cache_MultiLevel (std::string name, Parameters * param); |
---|
| 19 | public : ~Cache_MultiLevel (void); |
---|
| 20 | |
---|
| 21 | public : void reset (void); |
---|
| 22 | public : void transition (void); |
---|
| 23 | public : Access access (uint32_t num_port, uint32_t address, uint32_t trdid, type_req_cache_t type, direction_req_cache_t dir); |
---|
| 24 | public : uint32_t latence (uint32_t num_port, uint32_t address, uint32_t trdid, type_req_cache_t type, direction_req_cache_t dir); |
---|
| 25 | public : uint32_t update_access (Access cur_access); |
---|
| 26 | |
---|
| 27 | public : std::string information (uint32_t depth); |
---|
| 28 | public : friend std::ostream& operator<< (std::ostream& output, Cache_MultiLevel & x); |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | }; |
---|
| 32 | }; |
---|
| 33 | }; |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.