Ignore:
Timestamp:
Feb 27, 2014, 12:09:51 PM (11 years ago)
Author:
devigne
Message:

Problem of concurrency in MEMC on r_write_to_cc_send_nline register.
There was a case where the MEMC created a CC_INVAL request (due to a transition
to NCC -> CC) while sending a request CC_UPDATE what caused the crash of
r_write_to_cc_send_nline register required to send the request CC_UPDATE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RWT/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h

    r611 r644  
    427427
    428428      // Counters accessible in software (not yet but eventually)
     429      uint32_t     m_cpt_reset_count;    // Last cycle at which counters have been reset
    429430      uint32_t     m_cpt_read_local;     // Number of local READ transactions
    430       uint32_t     m_cpt_read_remote;   // number of remote READ transactions
    431       uint32_t     m_cpt_read_cost;     // Number of (flits * distance) for READs
     431      uint32_t     m_cpt_read_remote;    // number of remote READ transactions
     432      uint32_t     m_cpt_read_cost;      // Number of (flits * distance) for READs
    432433
    433434      uint32_t     m_cpt_write_local;    // Number of local WRITE transactions
    434       uint32_t     m_cpt_write_remote;  // number of remote WRITE transactions
     435      uint32_t     m_cpt_write_remote;   // number of remote WRITE transactions
    435436      uint32_t     m_cpt_write_flits_local;  // number of flits for local WRITEs
    436437      uint32_t     m_cpt_write_flits_remote; // number of flits for remote WRITEs
    437       uint32_t     m_cpt_write_cost;    // Number of (flits * distance) for WRITEs
     438      uint32_t     m_cpt_write_cost;     // Number of (flits * distance) for WRITEs
    438439
    439440      uint32_t     m_cpt_ll_local;       // Number of local LL transactions
     
    633634      ~VciMemCache();
    634635
     636      void reset_counters();
    635637      void print_stats(bool activity_counters, bool stats);
    636638      void print_trace( size_t detailled = 0 );
Note: See TracChangeset for help on using the changeset viewer.