Changeset 635
- Timestamp:
- Feb 20, 2014, 4:41:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v4/modules/vci_cc_vcache_wrapper_v4/caba/source/src/vci_cc_vcache_wrapper_v4.cpp
r352 r635 884 884 m_cpt_total_cycles++; 885 885 886 m_debug_cleanup_fsm = (m_cpt_total_cycles > m_debug_start_cycle) and m_debug_ok; 887 m_debug_icache_fsm = (m_cpt_total_cycles > m_debug_start_cycle) and m_debug_ok; 888 m_debug_dcache_fsm = (m_cpt_total_cycles > m_debug_start_cycle) and m_debug_ok; 886 m_debug_cleanup_fsm = m_debug_cleanup_fsm || 887 ((m_cpt_total_cycles > m_debug_start_cycle) and m_debug_ok); 888 m_debug_icache_fsm = m_debug_icache_fsm || 889 ((m_cpt_total_cycles > m_debug_start_cycle) and m_debug_ok); 890 m_debug_dcache_fsm = m_debug_dcache_fsm || 891 ((m_cpt_total_cycles > m_debug_start_cycle) and m_debug_ok); 889 892 890 893 ///////////////////////////////////////////////////////////////////// … … 2445 2448 r_dcache_fsm = DCACHE_IDLE; 2446 2449 break; 2450 2451 case iss_t::XTN_DEBUG_MASK: // debug mask 2452 m_debug_dcache_fsm = ((m_dreq.wdata & 0x1) != 0); 2453 m_debug_icache_fsm = ((m_dreq.wdata & 0x2) != 0); 2454 m_debug_cleanup_fsm = ((m_dreq.wdata & 0x4) != 0); 2455 m_drsp.valid = true; 2456 r_dcache_fsm = DCACHE_IDLE; 2457 break; 2447 2458 2448 2459 default: … … 2598 2609 if ( m_debug_dcache_fsm ) 2599 2610 { 2600 std::cout << " <PROC " << name() << ".DCACHE_IDLE> HIT in dcache" << std::endl; 2611 std::cout << " <PROC " << name() << ".DCACHE_IDLE> HIT read in dcache" 2612 << " / PADDR=" << std::hex << paddr 2613 << std::endl; 2601 2614 } 2602 2615 #endif … … 3445 3458 r_dcache_fsm = DCACHE_IDLE; 3446 3459 m_drsp.valid = true; 3460 #if DEBUG_DCACHE 3461 if ( m_debug_dcache_fsm ) 3462 { 3463 std::cout << "<PROC " << name() 3464 << " SWITCH PTPR>: PADDR=" << std::hex 3465 << (m_dreq.wdata << (INDEX1_NBITS+2)) 3466 << std::endl; 3467 } 3468 #endif 3447 3469 } 3448 3470 break;
Note: See TracChangeset
for help on using the changeset viewer.