Changeset 341 for branches


Ignore:
Timestamp:
Mar 28, 2013, 7:08:48 PM (12 years ago)
Author:
joannou
Message:

In vci_cc_vcache_wrapper_dspin_coherence, DCACHE_TLB_PTE1_MISS and DCACHE_TLB_PTE2_MIS are now interruptible by a coherence request.
\o/ v5 works \o/ ... or does it :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/vci_cc_vcache_wrapper_dspin_coherence/caba/source/src/vci_cc_vcache_wrapper_dspin_coherence.cpp

    r338 r341  
    28572857    case DCACHE_TLB_PTE1_GET:   // try to read a PT1 entry in dcache
    28582858    {
     2859        // coherence request (from CC_RECEIVE FSM)
     2860        if ( r_cc_receive_dcache_req.read() )
     2861        {
     2862            r_dcache_fsm = DCACHE_CC_CHECK;
     2863            r_dcache_fsm_cc_save = r_dcache_fsm.read();
     2864            break;
     2865        }
     2866
    28592867        uint32_t        entry;
    28602868        size_t          way;
     
    31373145    case DCACHE_TLB_PTE2_GET:   // Try to get a PTE2 (64 bits) in the dcache
    31383146    {
     3147        // coherence request (from CC_RECEIVE FSM)
     3148        if ( r_cc_receive_dcache_req.read() )
     3149        {
     3150            r_dcache_fsm = DCACHE_CC_CHECK;
     3151            r_dcache_fsm_cc_save = r_dcache_fsm.read();
     3152            break;
     3153        }
     3154
    31393155        uint32_t        pte_flags;
    31403156        uint32_t        pte_ppn;
Note: See TracChangeset for help on using the changeset viewer.