Ignore:
Timestamp:
Jul 24, 2013, 3:09:43 PM (11 years ago)
Author:
alain
Message:

cosmetic

File:
1 edited

Legend:

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

    r468 r473  
    52485248                    if ( r_vci_rsp_fifo_icache.wok() )
    52495249                    {
    5250                         assert( (r_vci_rsp_cpt.read() < m_icache_words) and
    5251                         "The VCI response packet for instruction miss is too long" );
    5252 
     5250                        if ( r_vci_rsp_cpt.read() >= m_icache_words )
     5251                        {
     5252                            std::cout << "ERROR in VCI_CC_VCACHE " << name()
     5253                                      << " VCI response packet too long "
     5254                                      << " for instruction miss" << std::endl;
     5255                            exit(0);
     5256                        }
    52535257                        r_vci_rsp_cpt                 = r_vci_rsp_cpt.read() + 1;
    52545258                        vci_rsp_fifo_icache_put       = true,
     
    52565260                        if ( p_vci.reop.read() )
    52575261                        {
    5258                             assert( (r_vci_rsp_cpt.read() == m_icache_words - 1) and
    5259                             "The VCI response packet for instruction miss is too short");
    5260 
     5262                            if ( r_vci_rsp_cpt.read() != (m_icache_words - 1) )
     5263                            {
     5264                                std::cout << "ERROR in VCI_CC_VCACHE " << name()
     5265                                          << " VCI response packet too short"
     5266                                          << " for instruction miss" << std::endl;
     5267                                exit(0);
     5268                            }
    52615269                            r_vci_rsp_fsm    = RSP_IDLE;
    52625270                        }
Note: See TracChangeset for help on using the changeset viewer.