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_wrapper_v1/caba/source/src/vci_cc_vcache_wrapper_v1.cpp

    r61 r104  
    614614
    615615            // multi-update or multi-invalidate for data type
    616             if ( ( address != 0x3 ) && ( ! m_segment.contains(address)) )
     616            if ( ( (address & 0x3) != 0x3 ) && ( ! m_segment.contains(address)) )
    617617            {
    618618                std::cout << "error in component VCI_CC_VCACHE_WRAPPER " << name() << std::endl;
     
    628628                          (paddr_t)p_vci_tgt.wdata.read() * m_dcache_words * 4;
    629629
    630             if ( address == 0x3 ) // broadcast invalidate for data or instruction type
     630            if ( (address & 0x3) == 0x3 ) // broadcast invalidate for data or instruction type
    631631            {
    632632                if ( ! p_vci_tgt.eop.read() )
Note: See TracChangeset for help on using the changeset viewer.