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:
907 bytes
|
Rev | Line | |
---|
[62] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Entity.h" |
---|
[78] | 9 | #include <iostream> |
---|
[62] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "Entity::test_map" |
---|
[78] | 16 | bool Entity::test_map (uint32_t depth, bool top_level) |
---|
[62] | 17 | { |
---|
| 18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 19 | |
---|
[78] | 20 | std::string tab = std::string(depth,'\t'); |
---|
| 21 | log_printf(NONE,Behavioural,FUNCTION, "%s* Test mapping : Entity \"%s\"",tab.c_str(),_name.c_str()); |
---|
[62] | 22 | |
---|
[78] | 23 | bool _return = _interfaces->test_map(depth+1,top_level); |
---|
[62] | 24 | |
---|
[78] | 25 | #ifndef DEBUG |
---|
| 26 | if (_return == false) |
---|
| 27 | { |
---|
| 28 | std::cerr << "In entity \"" << _name << "\" (type : \"" << _type << "\"), a lot of port is not connected !" << std::endl; |
---|
| 29 | } |
---|
| 30 | #endif |
---|
| 31 | |
---|
[62] | 32 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 33 | |
---|
| 34 | return _return; |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | }; // end namespace behavioural |
---|
| 38 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.