- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Parameters.cpp
r81 r88 55 55 }; 56 56 57 #undef FUNCTION 58 #define FUNCTION "Sort::copy" 59 void Parameters::copy (void) 60 { 61 log_printf(FUNC,Sort,FUNCTION,"Begin"); 62 log_printf(FUNC,Sort,FUNCTION,"End"); 63 }; 64 57 65 }; // end namespace sort 58 66 }; // end namespace generic -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort.cpp
r81 r88 35 35 log_printf(FUNC,Sort,FUNCTION,"Begin"); 36 36 37 #if DEBUG_Sort == true 38 log_printf(INFO,Sort,FUNCTION,_("<%s> Parameters"),_name.c_str()); 39 40 std::cout << *param << std::endl; 41 #endif 42 37 43 log_printf(INFO,Sort,FUNCTION,"Allocation"); 38 44 … … 44 50 45 51 #ifdef STATISTICS 46 if ( _usage & USE_STATISTICS)52 if (usage_is_set(_usage,USE_STATISTICS)) 47 53 { 48 54 log_printf(INFO,Sort,FUNCTION,"Allocation of statistics"); … … 53 59 54 60 #ifdef VHDL 55 if ( _usage & USE_VHDL)61 if (usage_is_set(_usage,USE_VHDL)) 56 62 { 57 63 // generate the vhdl … … 63 69 64 70 #ifdef SYSTEMC 65 if ( _usage & USE_SYSTEMC)71 if (usage_is_set(_usage,USE_SYSTEMC)) 66 72 { 67 73 log_printf(INFO,Sort,FUNCTION,"Method - transition"); … … 117 123 118 124 #ifdef STATISTICS 119 if ( _usage & USE_STATISTICS)125 if (usage_is_set(_usage,USE_STATISTICS)) 120 126 { 121 127 statistics_deallocation(); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_allocation.cpp
r81 r88 13 13 namespace generic { 14 14 namespace sort { 15 16 17 15 18 16 #undef FUNCTION … … 75 73 76 74 #ifdef POSITION 77 _component->generate_file(); 75 if (usage_is_set(_usage,USE_POSTION)) 76 _component->generate_file(); 78 77 #endif 79 78 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_deallocation.cpp
r81 r88 20 20 log_printf(FUNC,Sort,FUNCTION,"Begin"); 21 21 22 if ( _usage & USE_SYSTEMC)22 if (usage_is_set(_usage,USE_SYSTEMC)) 23 23 { 24 24 delete in_CLOCK ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_end_cycle.cpp
r81 r88 22 22 23 23 #ifdef STATISTICS 24 _stat->end_cycle(); 24 if (usage_is_set(_usage,USE_STATISTICS)) 25 _stat->end_cycle(); 25 26 #endif 26 27 … … 28 29 // Evaluation before read the ouput signal 29 30 // sc_start(0); 30 _interfaces->testbench(); 31 if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) 32 _interfaces->testbench(); 31 33 #endif 32 34
Note: See TracChangeset
for help on using the changeset viewer.