Changeset 113 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Write_unit.cpp
- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Write_unit.cpp
r88 r113 36 36 ,_usage (usage) 37 37 { 38 log_ printf(FUNC,Write_unit,FUNCTION,"Begin");38 log_begin(Write_unit,FUNCTION); 39 39 40 #if DEBUG_Write_unit == true41 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Parameters"),_name.c_str());40 // #if DEBUG_Write_unit == true 41 // log_printf(INFO,Write_unit,FUNCTION,_("<%s> Parameters"),_name.c_str()); 42 42 43 std::cout << *param << std::endl;44 #endif43 // std::cout << *param << std::endl; 44 // #endif 45 45 46 log_printf(INFO,Write_unit,FUNCTION, "Allocation");46 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Allocation"),_name.c_str()); 47 47 48 48 allocation ( … … 55 55 if (usage_is_set(_usage,USE_STATISTICS)) 56 56 { 57 log_printf(INFO,Write_unit,FUNCTION, "Allocation of statistics");57 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Allocation of statistics"),_name.c_str()); 58 58 59 59 statistics_declaration(param_statistics); … … 65 65 { 66 66 // generate the vhdl 67 log_printf(INFO,Write_unit,FUNCTION, "Generate the vhdl");67 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Generate the vhdl"),_name.c_str()); 68 68 69 69 vhdl(); … … 74 74 if (usage_is_set(_usage,USE_SYSTEMC)) 75 75 { 76 log_printf(INFO,Write_unit,FUNCTION, "Method - transition");76 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Method - transition"),_name.c_str()); 77 77 78 78 SC_METHOD (transition); … … 86 86 #endif 87 87 } 88 log_ printf(FUNC,Write_unit,FUNCTION,"End");88 log_end(Write_unit,FUNCTION); 89 89 }; 90 90 … … 93 93 Write_unit::~Write_unit (void) 94 94 { 95 log_ printf(FUNC,Write_unit,FUNCTION,"Begin");95 log_begin(Write_unit,FUNCTION); 96 96 97 97 #ifdef STATISTICS 98 98 if (usage_is_set(_usage,USE_STATISTICS)) 99 99 { 100 log_printf(INFO,Write_unit,FUNCTION, "Generate Statistics file");100 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Generate Statistics file"),_name.c_str()); 101 101 102 102 delete _stat; … … 104 104 #endif 105 105 106 log_printf(INFO,Write_unit,FUNCTION, "Deallocation");106 log_printf(INFO,Write_unit,FUNCTION,_("<%s> Deallocation"),_name.c_str()); 107 107 deallocation (); 108 108 109 log_ printf(FUNC,Write_unit,FUNCTION,"End");109 log_end(Write_unit,FUNCTION); 110 110 }; 111 111
Note: See TracChangeset
for help on using the changeset viewer.