Changeset 101 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/src/Execute_queue_transition.cpp
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/src/Execute_queue_transition.cpp
r96 r101 23 23 void Execute_queue::transition (void) 24 24 { 25 log_printf(FUNC,Execute_queue,FUNCTION,"Begin"); 25 log_begin(Execute_queue,FUNCTION); 26 log_function(Execute_queue,FUNCTION,_name.c_str()); 26 27 27 28 if (PORT_READ(in_NRESET) == 0) … … 32 33 // > 2) flush all slot in one cycle 33 34 34 while (_queue->empty() == false) 35 _queue->pop(); 35 _queue->clear(); 36 36 } 37 37 else … … 53 53 PORT_READ(in_EXECUTE_QUEUE_IN_DATA )); 54 54 55 _queue->push (entry);55 _queue->push_back(entry); 56 56 } 57 57 … … 60 60 { 61 61 delete _queue->front(); 62 _queue->pop ();62 _queue->pop_front(); 63 63 } 64 64 } … … 69 69 #endif 70 70 71 #if DEBUG_Execute_queue and (DEBUG >= DEBUG_TRACE) 72 log_printf(TRACE,Execute_queue,FUNCTION," * Dump Execute_queue"); 73 { 74 uint32_t i=0; 75 for (std::list<execute_queue_entry_t *>::iterator it=_queue->begin(); 76 it!=_queue->end(); 77 ++it) 78 { 79 log_printf(TRACE,Execute_queue,FUNCTION," [%d] %.2d %.2d %.2d, %.4d, %.1d, %.2d %.1d, %.8x %.8x", 80 i, 81 (*it)->_context_id , 82 (*it)->_front_end_id , 83 (*it)->_ooo_engine_id, 84 (*it)->_packet_id , 85 //(*it)->_operation , 86 //(*it)->_type , 87 (*it)->_flags , 88 (*it)->_exception , 89 (*it)->_no_sequence , 90 (*it)->_address , 91 (*it)->_data 92 ); 93 i++; 94 } 95 } 96 #endif 97 71 98 72 99 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) … … 74 101 #endif 75 102 76 log_ printf(FUNC,Execute_queue,FUNCTION,"End");103 log_end(Execute_queue,FUNCTION); 77 104 }; 78 105
Note: See TracChangeset
for help on using the changeset viewer.