Changeset 101 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_function_speculative_load_commit_genMoore.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_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_function_speculative_load_commit_genMoore.cpp
r97 r101 24 24 void Load_store_unit::function_speculative_load_commit_genMoore (void) 25 25 { 26 log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); 26 log_begin(Load_store_unit,FUNCTION); 27 log_function(Load_store_unit,FUNCTION,_name.c_str()); 27 28 28 29 // ~~~~~[ Interface "memory_out" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 44 45 // Test store and load queue 45 46 46 log_printf(TRACE,Load_store_unit,FUNCTION," genMoore :Test MEMORY_OUT");47 48 log_printf(TRACE,Load_store_unit,FUNCTION," * Load queue");47 log_printf(TRACE,Load_store_unit,FUNCTION," * Test MEMORY_OUT"); 48 49 log_printf(TRACE,Load_store_unit,FUNCTION," * Load queue"); 49 50 for (internal_MEMORY_OUT_PTR=0; internal_MEMORY_OUT_PTR<_param->_size_load_queue; internal_MEMORY_OUT_PTR++) 50 51 // for (uin32_t i=0; (i<_param->_size_load_queue) and not (find_load); i++) … … 71 72 _load_queue [internal_MEMORY_OUT_PTR]._is_load_signed, 72 73 _load_queue [internal_MEMORY_OUT_PTR]._access_size); 73 log_printf(TRACE,Load_store_unit,FUNCTION," * data : %.8x",data_new); 74 log_printf(TRACE,Load_store_unit,FUNCTION," * data (old) : %.8x",data_old); 75 log_printf(TRACE,Load_store_unit,FUNCTION," * data (new) : %.8x",data_new); 74 76 log_printf(TRACE,Load_store_unit,FUNCTION," * rdata : %.8x",_load_queue [internal_MEMORY_OUT_PTR]._rdata); 75 77 log_printf(TRACE,Load_store_unit,FUNCTION," * shift : %d",_load_queue [internal_MEMORY_OUT_PTR]._shift); … … 91 93 if (not internal_MEMORY_OUT_VAL) 92 94 { 93 log_printf(TRACE,Load_store_unit,FUNCTION," * Store queue");95 log_printf(TRACE,Load_store_unit,FUNCTION," * Store queue"); 94 96 if (_store_queue [reg_STORE_QUEUE_PTR_READ]._state == STORE_QUEUE_COMMIT) 95 97 { … … 143 145 Tdcache_data_t dcache_req_wdata ; 144 146 145 log_printf(TRACE,Load_store_unit,FUNCTION," genMoore :Test DCACHE_REQ");147 log_printf(TRACE,Load_store_unit,FUNCTION," * Test DCACHE_REQ"); 146 148 147 149 internal_DCACHE_REQ_VAL = 0; … … 152 154 if (_speculative_access_queue [internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ]._state == SPECULATIVE_ACCESS_QUEUE_WAIT_CACHE) 153 155 { 154 log_printf(TRACE,Load_store_unit,FUNCTION," * speculative_access_queue[%d]",internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ);156 log_printf(TRACE,Load_store_unit,FUNCTION," * speculative_access_queue [%d]",internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ); 155 157 156 158 internal_DCACHE_REQ_VAL = 1; … … 169 171 170 172 dcache_req_packet_id = DCACHE_REQ_IS_LOAD(_speculative_access_queue [internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ]._load_queue_ptr_write); 171 dcache_req_address = _speculative_access_queue [internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ]._address & _param->_mask_address_msb;173 dcache_req_address = _speculative_access_queue [internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ]._address;// & _param->_mask_address_msb; 172 174 dcache_req_type = operation_to_dcache_type(_speculative_access_queue [internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ]._operation); 175 176 // log_printf(TRACE,Load_store_unit,FUNCTION," * address : %.8x",_speculative_access_queue [internal_SPECULATIVE_ACCESS_QUEUE_PTR_READ]._address); 177 // log_printf(TRACE,Load_store_unit,FUNCTION," * mask : %.8x",_param->_mask_address_msb); 178 log_printf(TRACE,Load_store_unit,FUNCTION," * dcache_req_address : %.8x",dcache_req_address); 179 173 180 #ifdef SYSTEMC_VHDL_COMPATIBILITY 174 181 dcache_req_wdata = 0; … … 210 217 PORT_WRITE(out_DCACHE_REQ_WDATA [0], dcache_req_wdata ); 211 218 212 log_ printf(FUNC,Load_store_unit,FUNCTION,"End");219 log_end(Load_store_unit,FUNCTION); 213 220 }; 214 221
Note: See TracChangeset
for help on using the changeset viewer.