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.4 KB
|
Line | |
---|
1 | #ifndef ENVIRONNEMENT_CACHE_TYPES_H |
---|
2 | #define ENVIRONNEMENT_CACHE_TYPES_H |
---|
3 | |
---|
4 | namespace environnement { |
---|
5 | namespace cache { |
---|
6 | |
---|
7 | // ===================================================== |
---|
8 | // =====[ CACHE ]======================================= |
---|
9 | // ===================================================== |
---|
10 | |
---|
11 | typedef enum |
---|
12 | { |
---|
13 | INSTRUCTION_CACHE , |
---|
14 | DATA_CACHE |
---|
15 | } cache_t; |
---|
16 | |
---|
17 | // ===================================================== |
---|
18 | // =====[ DIRECTION ]=================================== |
---|
19 | // ===================================================== |
---|
20 | |
---|
21 | typedef enum |
---|
22 | { |
---|
23 | READ , |
---|
24 | WRITE , |
---|
25 | NONE |
---|
26 | } direction_req_cache_t; |
---|
27 | |
---|
28 | // ===================================================== |
---|
29 | // =====[ REQUEST ]===================================== |
---|
30 | // ===================================================== |
---|
31 | |
---|
32 | typedef enum |
---|
33 | { |
---|
34 | CACHED , // address can be in the cache |
---|
35 | UNCACHED , // Always miss (not address in cache) |
---|
36 | INVALIDATE , // The direction is not used |
---|
37 | PREFETCH , // The direction is not used |
---|
38 | FLUSH // The direction is not used |
---|
39 | } type_req_cache_t; |
---|
40 | |
---|
41 | // ===================================================== |
---|
42 | // =====[ RESPONS ]===================================== |
---|
43 | // ===================================================== |
---|
44 | |
---|
45 | typedef enum |
---|
46 | { |
---|
47 | HIT_CACHE , |
---|
48 | HIT_BYPASS , |
---|
49 | HIT_WRITE_BUFFER , |
---|
50 | MISS |
---|
51 | } type_rsp_cache_t; |
---|
52 | |
---|
53 | }; |
---|
54 | }; |
---|
55 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.