Ignore:
Timestamp:
Apr 11, 2014, 5:44:17 PM (11 years ago)
Author:
haoliu
Message:

MESI bug fixed

File:
1 edited

Legend:

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

    r675 r676  
    31003100                    }
    31013101
    3102                     bool s_getm_hit         = m_cmd_read_pktid_fifo.read() & 0x8;
     3102                    //bool s_getm_hit         = m_cmd_read_pktid_fifo.read() & 0x8;
    31033103
    31043104                    r_read_is_cnt           = entry.is_cnt;
     
    31233123                        {
    31243124                                // Invalid the line in the others processors and put the line in trt with data.
    3125                                 if( (entry.count == 0) or
    3126                                     ((entry.count == 1) and not entry.is_cnt and (entry.state == ENTRY_SHARED) and (entry.owner.srcid == m_cmd_read_srcid_fifo.read())) or
    3127                                     (entry.count == 1 and entry.is_cnt and entry.state == ENTRY_SHARED and s_getm_hit))
     3125                                if(entry.count == 0)
     3126                                  //  ((entry.count == 1) and not entry.is_cnt and (entry.state == ENTRY_SHARED) and (entry.owner.srcid == m_cmd_read_srcid_fifo.read())) or
     3127                                  //  (entry.count == 1 and entry.is_cnt and entry.state == ENTRY_SHARED and s_getm_hit))
    31283128                                {
    31293129                                    r_read_fsm = READ_DIR_HIT;
Note: See TracChangeset for help on using the changeset viewer.