Last change
on this file since 78 was
78,
checked in by rosiere, 16 years ago
|
Add :
- Execute_loop (must be test systemC)
- Prediction
- Direction : predifined scheme
- Branch Target Buffer
- iFetch_unit
- ifetch_queue
- pc management
- Decod_unit
- coming soon : support for custom operation
- Rename_unit
- RAT
- Free_list
- Dependence RAW check
- Load store unit pointer
- New Environnement (hierarchy_memory will remove in a next version)
Modif :
- Manage Custom Operation
- All component in execute_loop to use the new statistics management
Not Finish :
- Return Address Stack
- Environnement
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef ENVIRONNEMENT_CACHE_CACHE_MULTILEVEL_ACCESS_H |
---|
2 | #define ENVIRONNEMENT_CACHE_CACHE_MULTILEVEL_ACCESS_H |
---|
3 | |
---|
4 | #include "Types.h" |
---|
5 | |
---|
6 | namespace environnement { |
---|
7 | namespace cache { |
---|
8 | namespace cache_multilevel { |
---|
9 | |
---|
10 | class Access |
---|
11 | { |
---|
12 | public : uint32_t num_port ; |
---|
13 | public : type_rsp_cache_t hit ; // result of access |
---|
14 | public : uint32_t latence ; // Latence of access |
---|
15 | public : uint32_t last_nb_level; // if access is not a hit : last level of cache before a error |
---|
16 | |
---|
17 | public : Access () |
---|
18 | { |
---|
19 | } |
---|
20 | |
---|
21 | public : Access (uint32_t num_port , |
---|
22 | type_rsp_cache_t hit , |
---|
23 | uint32_t latence , |
---|
24 | uint32_t last_nb_level) |
---|
25 | { |
---|
26 | this->num_port = num_port ; |
---|
27 | this->hit = hit ; |
---|
28 | this->latence = latence ; |
---|
29 | this->last_nb_level = last_nb_level; |
---|
30 | } |
---|
31 | |
---|
32 | friend std::ostream& operator<< (std::ostream& output, const Access & x) |
---|
33 | { |
---|
34 | output << "[" << x.num_port << "] " |
---|
35 | << x.hit << " " |
---|
36 | << x.latence << " " |
---|
37 | << x.last_nb_level; |
---|
38 | return output; |
---|
39 | } |
---|
40 | };//Access |
---|
41 | |
---|
42 | }; |
---|
43 | |
---|
44 | }; |
---|
45 | }; |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.