Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue.cpp
r81 r88 38 38 log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin"); 39 39 40 log_printf(INFO,Ifetch_queue,FUNCTION,"Allocation"); 40 #if DEBUG_Ifetch_queue == true 41 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Parameters"),_name.c_str()); 42 43 std::cout << *param << std::endl; 44 #endif 45 46 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Allocation"),_name.c_str()); 41 47 42 48 allocation ( … … 47 53 48 54 #ifdef STATISTICS 49 if ( _usage & USE_STATISTICS)55 if (usage_is_set(_usage,USE_STATISTICS)) 50 56 { 51 log_printf(INFO,Ifetch_queue,FUNCTION, "Allocation of statistics");57 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Allocation of statistics"),_name.c_str()); 52 58 53 59 statistics_allocation(param_statistics); … … 56 62 57 63 #ifdef VHDL 58 if ( _usage & USE_VHDL)64 if (usage_is_set(_usage,USE_VHDL)) 59 65 { 60 66 // generate the vhdl 61 log_printf(INFO,Ifetch_queue,FUNCTION, "Generate the vhdl");67 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Generate the vhdl"),_name.c_str()); 62 68 63 69 vhdl(); … … 66 72 67 73 #ifdef SYSTEMC 68 if ( _usage & USE_SYSTEMC)74 if (usage_is_set(_usage,USE_SYSTEMC)) 69 75 { 70 76 // constant output … … 75 81 PORT_WRITE(out_EVENT_RESET_ACK, internal_EVENT_RESET_ACK); 76 82 77 log_printf(INFO,Ifetch_queue,FUNCTION, "Method - transition");83 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Method - transition"),_name.c_str()); 78 84 79 85 SC_METHOD (transition); … … 85 91 # endif 86 92 87 log_printf(INFO,Ifetch_queue,FUNCTION, "Method - genMoore");93 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Method - genMoore"),_name.c_str()); 88 94 89 95 SC_METHOD (genMoore); … … 107 113 108 114 #ifdef STATISTICS 109 if ( _usage & USE_STATISTICS)115 if (usage_is_set(_usage,USE_STATISTICS)) 110 116 { 111 117 statistics_deallocation(); … … 113 119 #endif 114 120 115 log_printf(INFO,Ifetch_queue,FUNCTION, "Deallocation");121 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Deallocation"),_name.c_str()); 116 122 deallocation (); 117 123
Note: See TracChangeset
for help on using the changeset viewer.