Changeset 160


Ignore:
Timestamp:
May 9, 2011, 7:49:29 PM (14 years ago)
Author:
alain
Message:

Bug fixing : the VCI RERROR field should be masked with 0x1 before to be tested.
It was not done in two places (lines 2132 & 2149).

File:
1 edited

Legend:

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

    r147 r160  
    21292129                    ASSERT(p_vci_ini_c.reop and (p_vci_ini_c.rtrdid.read() == TYPE_DATA_CLEANUP),
    21302130                            "illegal response packet received for a cleanup transaction");
    2131                     ASSERT(p_vci_ini_c.rerror.read() == vci_param::ERR_NORMAL,
     2131                    ASSERT( (p_vci_ini_c.rerror.read()&0x1) == vci_param::ERR_NORMAL,
    21322132                           "error signaled in a cleanup response" );
    21332133                   
     
    21462146                    ASSERT(p_vci_ini_c.reop and (p_vci_ini_c.rtrdid.read() == TYPE_INS_CLEANUP),
    21472147                           "illegal response packet received for a cleanup transaction");
    2148                     ASSERT(p_vci_ini_c.rerror.read() == vci_param::ERR_NORMAL,
     2148                    ASSERT( (p_vci_ini_c.rerror.read()&0x1) == vci_param::ERR_NORMAL,
    21492149                           "error signaled in a cleanup response" );
    21502150                   
     
    23802380                    {
    23812381                        PRINTF("      * <RSP> have reop\n");
    2382 
    23832382                        ASSERT( ((r_vci_rsp_cpt == m_icache_words - 1) or
    23842383                                 p_vci_ini_rw.rerror.read() or
Note: See TracChangeset for help on using the changeset viewer.