Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_genMealy_retire.cpp
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_genMealy_retire.cpp
r122 r123 24 24 log_function(Commit_unit,FUNCTION,_name.c_str()); 25 25 26 if (PORT_READ(in_NRESET)) 27 { 26 28 Tcontrol_t retire_val [_param->_nb_rename_unit][_param->_max_nb_inst_retire]; 27 29 uint32_t num_inst_retire [_param->_nb_rename_unit]; … … 186 188 187 189 // if future event, don't update after this event 188 if ( reg_EVENT_STOP [front_end_id][context_id]and189 (reg_EVENT_PACKET [entry->front_end_id][entry->context_id] 190 if ((reg_EVENT_STATE [entry->front_end_id][entry->context_id] == COMMIT_EVENT_STATE_NOT_YET_EVENT) and 191 (reg_EVENT_PACKET [entry->front_end_id][entry->context_id] == packet)) 190 192 bypass = false; 191 193 } … … 211 213 PORT_WRITE(out_SPR_WRITE_SR_OV [i][j], spr_write_sr_ov [i][j]); 212 214 } 215 } 216 else 217 { 218 for (uint32_t i=0; i<_param->_nb_rename_unit; i++) 219 for (uint32_t j=0; j<_param->_nb_inst_retire[i]; j++) 220 PORT_WRITE(out_RETIRE_VAL [i][j],0); 221 } 213 222 214 223 log_end(Commit_unit,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.