Changeset 114 for trunk/modules
- Timestamp:
- Nov 10, 2010, 11:20:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_xcache_wrapper_v4/caba/source/src/vci_cc_xcache_wrapper_v4.cpp
r113 r114 285 285 std::cout << "- WRITE LENGTH = " << (float)m_length_write_transaction/m_cpt_write_transaction << std::endl; 286 286 } 287 ///////////////////////// 288 tmpl(void)::print_trace( )289 ///////////////////////// 287 //////////////////////////////////// 288 tmpl(void)::print_trace(size_t mode) 289 //////////////////////////////////// 290 290 { 291 291 typename iss_t::InstructionRequest ireq; … … 294 294 295 295 std::cout << std::dec << "CC_XCACHE_WRAPPER " << name() << std::endl; 296 std::cout << " proc state : PC = " << std::hex << ireq.addr << " / AD = " << dreq.addr 297 << std::dec << " / V = " << dreq.valid << " / TYPE = " << dreq.type << std::endl; 296 298 std::cout << " cache state : " << icache_fsm_state_str[r_icache_fsm] << " / " 297 299 << dcache_fsm_state_str[r_dcache_fsm] << " / " … … 299 301 << rsp_fsm_state_str[r_vci_rsp_fsm] << " / " 300 302 << tgt_fsm_state_str[r_vci_tgt_fsm] << std::endl; 301 std::cout << " proc state : PC = " << std::hex << ireq.addr << " / AD = " << dreq.addr 302 << std::dec << " / V = " << dreq.valid << " / TYPE = " << dreq.type << std::endl; 303 if( r_vci_tgt_fsm != TGT_IDLE ) 304 { 305 std::cout << " ... coherence request address = " << std::hex << r_tgt_addr.read() << std::endl; 306 } 307 if(mode & 0x1) 308 { 309 r_wbuf.printTrace(); 310 } 303 311 } 304 312 //////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.