Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit.cpp
r81 r88 37 37 log_printf(FUNC,Register_unit,FUNCTION,"Begin"); 38 38 39 #if DEBUG_Register_unit == true 40 log_printf(INFO,Register_unit,FUNCTION,_("<%s> Parameters"),_name.c_str()); 41 42 std::cout << *param << std::endl; 43 #endif 44 39 45 log_printf(INFO,Register_unit,FUNCTION,"Allocation"); 40 46 allocation ( … … 45 51 46 52 #ifdef STATISTICS 47 log_printf(INFO,Register_unit,FUNCTION,"Allocation of statistics"); 53 if (usage_is_set(_usage,USE_STATISTICS)) 54 { 55 log_printf(INFO,Register_unit,FUNCTION,_("<%s> : Allocation of statistics"),_name.c_str()); 48 56 49 // Allocation of statistics 50 statistics_declaration(param_statistics);57 statistics_declaration(param_statistics); 58 } 51 59 #endif 52 60 53 61 #ifdef VHDL 54 // generate the vhdl 55 log_printf(INFO,Register_unit,FUNCTION,"Generate the vhdl"); 56 57 vhdl(); 62 if (usage_is_set(_usage,USE_VHDL)) 63 { 64 // generate the vhdl 65 log_printf(INFO,Register_unit,FUNCTION,"Generate the vhdl"); 66 67 vhdl(); 68 } 58 69 #endif 59 70 60 71 #ifdef SYSTEMC 72 if (usage_is_set(_usage,USE_SYSTEMC)) 73 { 61 74 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) 62 75 log_printf(INFO,Register_unit,FUNCTION,"Method - transition"); … … 70 83 // List dependency information 71 84 #endif 72 85 } 73 86 #endif 74 87 log_printf(FUNC,Register_unit,FUNCTION,"End"); … … 82 95 83 96 #ifdef STATISTICS 84 log_printf(INFO,Register_unit,FUNCTION,"Generate Statistics file"); 85 delete _stat; 97 if (usage_is_set(_usage,USE_STATISTICS)) 98 { 99 log_printf(INFO,Register_unit,FUNCTION,"Generate Statistics file"); 100 delete _stat; 101 } 86 102 #endif 87 103
Note: See TracChangeset
for help on using the changeset viewer.