Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station.cpp
r88 r123 39 39 log_printf(FUNC,Reservation_station,FUNCTION,"Begin"); 40 40 41 #if DEBUG_Reservation_station == true42 log_printf(INFO,Reservation_station,FUNCTION,_("<%s> Parameters"),_name.c_str());41 // #if DEBUG_Reservation_station == true 42 // log_printf(INFO,Reservation_station,FUNCTION,_("<%s> Parameters"),_name.c_str()); 43 43 44 std::cout << *param << std::endl;45 #endif44 // std::cout << *param << std::endl; 45 // #endif 46 46 47 47 #ifdef SYSTEMC -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_genMoore.cpp
r122 r123 27 27 log_function(Reservation_station,FUNCTION,_name.c_str()); 28 28 29 if (PORT_READ(in_NRESET)) 30 { 29 31 // ~~~~~[ Interface "insert" ]~~~~~~~~~~~~~~~~~~~~~~~~ 30 32 … … 36 38 internal_INSERT_ACK = not _queue_control->full(); 37 39 #endif 38 PORT_WRITE(out_INSERT_ACK, internal_INSERT_ACK);39 40 40 41 // ~~~~~[ Interface "retire" ]~~~~~~~~~~~~~~~~~~~~~~~ … … 92 93 93 94 internal_RETIRE_VAL [i] = val; 94 PORT_WRITE(out_RETIRE_VAL [i], val);95 95 96 96 if (val) … … 128 128 } 129 129 } 130 } 131 else 132 { 133 // Reset 134 internal_INSERT_ACK = 0; 135 // internal_INSERT_SLOT 136 137 for (uint32_t i=0; i<_param->_nb_inst_retire; i++) 138 { 139 internal_RETIRE_VAL [i] = 0; 140 // internal_RETIRE_SLOT [i]; 141 } 142 } 143 144 // Write Output 145 PORT_WRITE(out_INSERT_ACK , internal_INSERT_ACK); 146 for (uint32_t i=0; i<_param->_nb_inst_retire; i++) 147 PORT_WRITE(out_RETIRE_VAL [i], internal_RETIRE_VAL [i]); 130 148 131 149 log_end(Reservation_station,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.