Ignore:
Timestamp:
Aug 6, 2012, 3:30:44 PM (12 years ago)
Author:
cfuguet
Message:

Bug fix in IXR_RSP FSM. Erroneous condition for the error verification

File:
1 edited

Legend:

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

    r245 r246  
    27142714                bool   eop      = p_vci_ixr.reop.read();
    27152715                data_t data     = p_vci_ixr.rdata.read();
    2716                 bool   error    = (p_vci_ixr.rerror.read()&0x1 == 0);
     2716                bool   error    = ((p_vci_ixr.rerror.read() & 0x1) == 1);
    27172717                assert(((eop == (r_ixr_rsp_cpt.read() == (m_words-1))) || p_vci_ixr.rerror.read())
    27182718                    and "Error in VCI_MEM_CACHE : invalid length for a response from XRAM");
Note: See TracChangeset for help on using the changeset viewer.