Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/src/Stat_List_unit.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_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/src/Stat_List_unit.cpp
r81 r88 16 16 namespace register_translation_unit { 17 17 namespace stat_list_unit { 18 19 18 20 19 #undef FUNCTION … … 39 38 log_printf(FUNC,Stat_List_unit,FUNCTION,"Begin"); 40 39 40 #if DEBUG_Stat_List_unit == true 41 log_printf(INFO,Stat_List_unit,FUNCTION,_("<%s> Parameters"),_name.c_str()); 42 43 std::cout << *param << std::endl; 44 #endif 45 41 46 log_printf(INFO,Stat_List_unit,FUNCTION,"Allocation"); 42 47 … … 48 53 49 54 #ifdef STATISTICS 50 if ( _usage & USE_STATISTICS)55 if (usage_is_set(_usage,USE_STATISTICS)) 51 56 { 52 57 log_printf(INFO,Stat_List_unit,FUNCTION,"Allocation of statistics"); … … 57 62 58 63 #ifdef VHDL 59 if ( _usage & USE_VHDL)64 if (usage_is_set(_usage,USE_VHDL)) 60 65 { 61 66 // generate the vhdl … … 67 72 68 73 #ifdef SYSTEMC 69 if ( _usage & USE_SYSTEMC)74 if (usage_is_set(_usage,USE_SYSTEMC)) 70 75 { 71 76 // Constant … … 90 95 SC_METHOD (genMoore); 91 96 dont_initialize (); 92 sensitive << (*(in_CLOCK)).neg(); 97 sensitive << (*(in_CLOCK)).neg(); // need internal register 93 98 94 99 # ifdef SYSTEMCASS_SPECIFIC … … 100 105 SC_METHOD (genMealy); 101 106 dont_initialize (); 102 sensitive << (*(in_CLOCK)).neg(); 107 sensitive << (*(in_CLOCK)).neg(); // need internal register 103 108 for (uint32_t i=0; i<_param->_nb_inst_insert; i++) 104 109 sensitive << (*(in_INSERT_READ_RA [i])) … … 135 140 136 141 #ifdef STATISTICS 137 if ( _usage & USE_STATISTICS)142 if (usage_is_set(_usage,USE_STATISTICS)) 138 143 { 139 144 log_printf(INFO,Stat_List_unit,FUNCTION,"Generate Statistics file");
Note: See TracChangeset
for help on using the changeset viewer.