Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed.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/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed.cpp
r81 r88 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 */ … … 33 33 log_printf(FUNC,Select_Priority_Fixed,"Select_Priority_Fixed","Begin"); 34 34 35 #if DEBUG_Select_Priority_Fixed == true 36 log_printf(INFO,Select_Priority_Fixed,FUNCTION,_("<%s> Parameters"),_name.c_str()); 37 38 std::cout << *param << std::endl; 39 #endif 40 35 41 log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Allocation"); 36 42 allocation (); 37 43 38 44 #ifdef STATISTICS 39 if ( _usage & USE_STATISTICS)45 if (usage_is_set(_usage,USE_STATISTICS)) 40 46 { 41 47 log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Allocation of statistics"); … … 46 52 47 53 #ifdef VHDL 48 // generate the vhdl 49 log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Generate the vhdl"); 50 51 vhdl(); 54 if (usage_is_set(_usage,USE_VHDL) 55 { 56 // generate the vhdl 57 log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Generate the vhdl"); 58 59 vhdl(); 60 } 52 61 #endif 53 62 54 63 #ifdef SYSTEMC 55 if (_usage & USE_SYSTEMC)56 {64 if (usage_is_set(_usage,USE_SYSTEMC)) 65 { 57 66 # if defined(STATISTICS) or defined(VHDL_TESTBENCH) 58 67 log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Method - transition"); … … 96 105 97 106 #ifdef STATISTICS 98 if ( _usage & USE_STATISTICS)107 if (usage_is_set(_usage,USE_STATISTICS)) 99 108 { 100 109 log_printf(INFO,Select_Priority_Fixed,"~Select_Priority_Fixed","Generate Statistics file"); … … 104 113 #endif 105 114 106 #ifdef SYSTEMC107 115 log_printf(INFO,Select_Priority_Fixed,"~Select_Priority_Fixed","Deallocation"); 108 109 116 deallocation (); 110 #endif111 117 112 118 log_printf(FUNC,Select_Priority_Fixed,"~Select_Priority_Fixed","End");
Note: See TracChangeset
for help on using the changeset viewer.