Changeset 531 for trunk


Ignore:
Timestamp:
Sep 20, 2013, 9:39:26 AM (11 years ago)
Author:
cfuguet
Message:

Modification on vci_mem_cache:

  • Adding parentheses in two asserts expressions to fix GCC compilation warning
File:
1 edited

Legend:

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

    r530 r531  
    27382738
    27392739                    // check that SC command has constant address
    2740                     assert( not is_sc or (index == r_write_word_index) &&
     2740                    assert((not is_sc or (index == r_write_word_index)) &&
    27412741                            "MEMC ERROR in WRITE_NEXT state: "
    27422742                            "the address must be constant on a SC command");
    27432743
    27442744                    // check that SC command has two flits
    2745                     assert( not is_sc or m_cmd_write_eop_fifo.read() &&
     2745                    assert((not is_sc or m_cmd_write_eop_fifo.read()) &&
    27462746                            "MEMC ERROR in WRITE_NEXT state: "
    27472747                            "invalid packet format for SC command");
Note: See TracChangeset for help on using the changeset viewer.