Changeset 68 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_genMealy_read_queue_out_spr.cpp
- Timestamp:
- Dec 8, 2007, 5:12:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_genMealy_read_queue_out_spr.cpp
r66 r68 45 45 PORT_READ(in_SPR_READ_DATA [0])); 46 46 47 // cout << "yo1 : " << internal_READ_QUEUE_OUT_DATA_RC << endl;48 49 47 // Test all bypass 50 48 for (uint32_t i=0; i<_param->_nb_spr_write ; i++) 51 49 { 50 bool cmp; 51 52 if (_param->_have_port_ooo_engine_id) 53 cmp = (PORT_READ (in_SPR_WRITE_OOO_ENGINE_ID [i]) == _queue_head->_ooo_engine_id); 54 else 55 cmp = true; 56 52 57 // Test if this bypass is valid 53 if ( (PORT_READ (in_SPR_WRITE_VAL [i]) == 1) and 54 (PORT_READ (in_SPR_WRITE_OOO_ENGINE_ID [i]) == _queue_head->_ooo_engine_id) 55 ) 58 if ( (PORT_READ (in_SPR_WRITE_VAL [i]) == 1) and cmp) 56 59 { 57 60 if (_queue_head->_num_reg_rc == PORT_READ(in_SPR_WRITE_NUM_REG [i])) … … 59 62 log_printf(TRACE,Read_queue,FUNCTION," * internal_READ_QUEUE_OUT_DATA_RC_VAL - bypass hit (%d)",i); 60 63 internal_READ_QUEUE_OUT_DATA_RC_VAL = 1; 64 #ifdef SYSTEMC_VHDL_COMPATIBILITY 65 if (_queue_head->_read_rc == 1) 66 #endif 61 67 internal_READ_QUEUE_OUT_DATA_RC = PORT_READ(in_SPR_WRITE_DATA [i]); 62 68 } 63 69 } 64 70 } 65 66 // cout << "yo2 : " << internal_READ_QUEUE_OUT_DATA_RC << endl;67 71 68 72 // Affectation out port
Note: See TracChangeset
for help on using the changeset viewer.