Ignore:
Timestamp:
Oct 5, 2010, 4:04:18 PM (14 years ago)
Author:
gao
Message:

Verify broadcast address using mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_cc_vcache_wrapper2_v1/caba/source/src/vci_cc_vcache_wrapper2_v1.cpp

    r101 r104  
    686686
    687687            // multi-update or multi-invalidate for data type
    688             if ( ( address != 0x3 ) && ( ! m_segment.contains(address)) )
     688            if ( ( (address & 0x3) != 0x3 ) && ( ! m_segment.contains(address)) )
    689689            {
    690690                std::cout << "error in component VCI_CC_VCACHE_WRAPPER " << name() << std::endl;
     
    700700                          (paddr_t)p_vci_tgt.wdata.read() * m_dcache_words * 4;
    701701
    702             if ( address == 0x3 ) // broadcast invalidate for data or instruction type
     702            if ( (address & 0x3) == 0x3 ) // broadcast invalidate for data or instruction type
    703703            {
    704704                if ( ! p_vci_tgt.eop.read() )
Note: See TracChangeset for help on using the changeset viewer.