Changeset 106 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/SelfTest/src/test.cpp
- Timestamp:
- Feb 9, 2009, 11:55:26 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/Register_Address_Translation_unit/SelfTest/src/test.cpp
r104 r106 245 245 in_INSERT_WRITE_RE [i]->write(rand() % 2); 246 246 in_INSERT_NUM_REG_RD_LOG [i]->write((rand() % (_param->_nb_general_register_logic-1))+1); 247 in_INSERT_NUM_REG_RE_LOG [i]->write( rand() % _param->_nb_special_register_logic );248 in_INSERT_NUM_REG_RD_PHY [i]->write( rand() % _param->_nb_general_register);249 in_INSERT_NUM_REG_RE_PHY [i]->write( rand() % _param->_nb_special_register);247 in_INSERT_NUM_REG_RE_LOG [i]->write( rand() % _param->_nb_special_register_logic ); 248 in_INSERT_NUM_REG_RD_PHY [i]->write((rand() % (_param->_nb_general_register -1))+1); 249 in_INSERT_NUM_REG_RE_PHY [i]->write( rand() % _param->_nb_special_register ); 250 250 } 251 251 … … 285 285 if (in_INSERT_VAL [i]->read() and out_INSERT_ACK [i]->read()) 286 286 { 287 // ERROR BECAUSE write same register 287 288 if (in_INSERT_WRITE_RD [i]->read() == 1) 288 289 rat_gpr[front_end_id][context_id][in_INSERT_NUM_REG_RD_LOG[i]->read()] = in_INSERT_NUM_REG_RD_PHY[i]->read();
Note: See TracChangeset
for help on using the changeset viewer.