Changeset 211
- Timestamp:
- Mar 21, 2012, 12:43:18 PM (13 years ago)
- Location:
- trunk/modules/vci_cc_vcache_wrapper_v4/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/include/vci_cc_vcache_wrapper_v4.h
r206 r211 274 274 bool m_debug_ok; 275 275 bool m_debug_previous_hit; 276 bool m_idebug_previous_hit; 276 277 bool m_debug_dcache_fsm; 277 278 bool m_debug_icache_fsm; -
trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/src/vci_cc_vcache_wrapper_v4.cpp
r210 r211 483 483 &cache_set, 484 484 &cache_word ); 485 bool icache_hit = r_icache.read_neutral( addr, 486 &cache_rdata, 487 &cache_way, 488 &cache_set, 489 &cache_word ); 485 490 if ( cache_hit != m_debug_previous_hit ) 486 491 { 487 492 std::cout << "PROC " << name() 488 << " cache change at cycle " << std::dec << m_cpt_total_cycles493 << " dcache change at cycle " << std::dec << m_cpt_total_cycles 489 494 << " for adresse " << std::hex << addr 490 495 << " / HIT = " << cache_hit << std::endl; 491 } 492 m_debug_previous_hit = cache_hit; 496 m_debug_previous_hit = cache_hit; 497 } 498 if ( icache_hit != m_idebug_previous_hit ) 499 { 500 std::cout << "PROC " << name() 501 << " icache change at cycle " << std::dec << m_cpt_total_cycles 502 << " for adresse " << std::hex << addr 503 << " / HIT = " << icache_hit << std::endl; 504 m_idebug_previous_hit = icache_hit; 505 } 493 506 } 494 495 496 507 497 508 /* … … 721 732 // Debug variables 722 733 m_debug_previous_hit = false; 734 m_idebug_previous_hit = false; 723 735 m_debug_dcache_fsm = false; 724 736 m_debug_icache_fsm = false; … … 4709 4721 #endif 4710 4722 } 4723 break; 4711 4724 } 4712 4725 //////////////////////// … … 4727 4740 #endif 4728 4741 } 4742 break; 4729 4743 } 4730 4744 } // end switch CLEANUP FSM
Note: See TracChangeset
for help on using the changeset viewer.