Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/src/Free_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/Free_List_unit/src/Free_List_unit.cpp
r81 r88 39 39 log_printf(FUNC,Free_List_unit,FUNCTION,"Begin"); 40 40 41 #if DEBUG_Free_List_unit == true 42 log_printf(INFO,Free_List_unit,FUNCTION,_("<%s> Parameters"),_name.c_str()); 43 44 std::cout << *param << std::endl; 45 #endif 46 41 47 log_printf(INFO,Free_List_unit,FUNCTION,"Allocation"); 42 48 … … 48 54 49 55 #ifdef STATISTICS 50 if ( _usage & USE_STATISTICS)56 if (usage_is_set(_usage,USE_STATISTICS)) 51 57 { 52 58 log_printf(INFO,Free_List_unit,FUNCTION,"Allocation of statistics"); … … 57 63 58 64 #ifdef VHDL 59 if ( _usage & USE_VHDL)65 if (usage_is_set(_usage,USE_VHDL)) 60 66 { 61 67 // generate the vhdl … … 67 73 68 74 #ifdef SYSTEMC 69 if ( _usage & USE_SYSTEMC)75 if (usage_is_set(_usage,USE_SYSTEMC)) 70 76 { 71 77 log_printf(INFO,Free_List_unit,FUNCTION,"Method - transition"); … … 83 89 SC_METHOD (genMealy_pop); 84 90 dont_initialize (); 85 sensitive << (*(in_CLOCK)).neg(); 91 sensitive << (*(in_CLOCK)).neg(); // need internal register 86 92 for (uint32_t i=0; i<_param->_nb_pop; i++) 87 93 sensitive << (*(in_POP_GPR_VAL[i])) … … 104 110 SC_METHOD (genMealy_push_gpr); 105 111 dont_initialize (); 106 sensitive << (*(in_CLOCK)).neg(); 112 sensitive << (*(in_CLOCK)).neg(); // need internal register 107 113 for (uint32_t i=0; i<_param->_nb_push; i++) 108 114 sensitive << (*(in_PUSH_GPR_VAL [i])) … … 123 129 SC_METHOD (genMealy_push_spr); 124 130 dont_initialize (); 125 sensitive << (*(in_CLOCK)).neg(); 131 sensitive << (*(in_CLOCK)).neg(); // need internal register 126 132 for (uint32_t i=0; i<_param->_nb_push; i++) 127 133 sensitive << (*(in_PUSH_SPR_VAL [i])) … … 150 156 151 157 #ifdef STATISTICS 152 if ( _usage & USE_STATISTICS)158 if (usage_is_set(_usage,USE_STATISTICS)) 153 159 { 154 160 log_printf(INFO,Free_List_unit,FUNCTION,"Generate Statistics file");
Note: See TracChangeset
for help on using the changeset viewer.