Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Core_Glue/src/Core_Glue_genMealy_issue.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/Core_Glue/src/Core_Glue_genMealy_issue.cpp
r122 r123 64 64 Tcontrol_t ISSUE_OOO_ENGINE_ACK [_param->_nb_ooo_engine ][_param->_max_nb_inst_issue_queue]; 65 65 Tcontrol_t ISSUE_EXECUTE_LOOP_VAL [_param->_nb_execute_loop][_param->_max_nb_read_unit]; 66 67 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) 68 for (uint32_t j=0; j<_param->_nb_inst_issue_queue[i]; ++j) 69 ISSUE_OOO_ENGINE_ACK [i][j] = 0; 70 for (uint32_t i=0; i<_param->_nb_execute_loop; ++i) 71 for (uint32_t j=0; j<_param->_nb_read_unit[i]; ++j) 72 ISSUE_EXECUTE_LOOP_VAL [i][j] = 0; 73 74 if (PORT_READ(in_NRESET)) 75 { 66 76 Tcontrol_t READ_UNIT_ENABLE [_param->_nb_execute_loop][_param->_max_nb_read_unit]; 67 77 Tcontrol_t SLOT_ENABLE [_param->_nb_ooo_engine ][_param->_max_nb_inst_issue_slot]; … … 69 79 // Init -> all at 0 70 80 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) 71 { 72 for (uint32_t j=0; j<_param->_nb_inst_issue_queue[i]; ++j) 73 ISSUE_OOO_ENGINE_ACK [i][j] = 0; 74 for (uint32_t j=0; j<_param->_nb_inst_issue_slot[i]; ++j) 75 SLOT_ENABLE [i][j] = 1; 76 } 81 for (uint32_t j=0; j<_param->_nb_inst_issue_slot[i]; ++j) 82 SLOT_ENABLE [i][j] = 1; 77 83 78 84 for (uint32_t i=0; i<_param->_nb_execute_loop; ++i) 79 85 for (uint32_t j=0; j<_param->_nb_read_unit[i]; ++j) 80 86 { 81 ISSUE_EXECUTE_LOOP_VAL [i][j] = 0;82 83 87 // Read unit is enable is signal ack is set 84 88 READ_UNIT_ENABLE [i][j] = (PORT_READ(in_ISSUE_EXECUTE_LOOP_ACK [i][j]) == 1); … … 236 240 } 237 241 242 } 243 238 244 // Write output 239 245 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i)
Note: See TracChangeset
for help on using the changeset viewer.