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_transition.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_transition.cpp
r66 r68 49 49 bool not_full = not (_queue->size() == _param->_size_queue); 50 50 bool empty = _queue->empty(); 51 bool ne ad_new_head = false;51 bool need_new_head = false; 52 52 53 53 log_printf(TRACE,Read_queue,FUNCTION," * test transaction READ_QUEUE_IN : %d,%d",PORT_READ(in_READ_QUEUE_IN_VAL), not_full); … … 56 56 Tread_queue_entry_t * entry = new Tread_queue_entry_t; 57 57 58 entry->_context_id = PORT_READ(in_READ_QUEUE_IN_CONTEXT_ID ); 59 entry->_front_end_id = PORT_READ(in_READ_QUEUE_IN_FRONT_END_ID); 60 entry->_ooo_engine_id= PORT_READ(in_READ_QUEUE_IN_OOO_ENGINE_ID); 61 entry->_rob_id = PORT_READ(in_READ_QUEUE_IN_ROB_ID ); 58 if(_param->_have_port_context_id ) 59 entry->_context_id = PORT_READ(in_READ_QUEUE_IN_CONTEXT_ID ); 60 if(_param->_have_port_front_end_id ) 61 entry->_front_end_id = PORT_READ(in_READ_QUEUE_IN_FRONT_END_ID); 62 if(_param->_have_port_ooo_engine_id) 63 entry->_ooo_engine_id= PORT_READ(in_READ_QUEUE_IN_OOO_ENGINE_ID); 64 if(_param->_have_port_rob_id ) 65 entry->_rob_id = PORT_READ(in_READ_QUEUE_IN_ROB_ID ); 62 66 entry->_operation = PORT_READ(in_READ_QUEUE_IN_OPERATION ); 63 67 entry->_type = PORT_READ(in_READ_QUEUE_IN_TYPE ); … … 83 87 { 84 88 log_printf(TRACE,Read_queue,FUNCTION," * queue was empty"); 85 ne ad_new_head = true;89 need_new_head = true; 86 90 } 87 91 } … … 100 104 { 101 105 log_printf(TRACE,Read_queue,FUNCTION," * queue was not empty"); 102 ne ad_new_head = true;106 need_new_head = true; 103 107 } 104 108 } … … 119 123 } 120 124 121 if (ne ad_new_head == true)125 if (need_new_head == true) 122 126 { 123 127 log_printf(TRACE,Read_queue,FUNCTION," * new head");
Note: See TracChangeset
for help on using the changeset viewer.