Changeset 700 for branches/MESI/modules/vci_cc_vcache_wrapper/caba/source
- Timestamp:
- May 20, 2014, 2:43:42 PM (11 years ago)
- Location:
- branches/MESI/modules/vci_cc_vcache_wrapper/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MESI/modules/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h
r686 r700 560 560 sc_signal<bool> r_dcache_read_state; 561 561 sc_signal<bool> r_dcache_read_for_modify; // a command intent to write 562 sc_signal<bool> r_dcache_getm_hit; // getm for a shared line 562 563 sc_signal<bool> r_dcache_rsp_state; 563 564 -
branches/MESI/modules/vci_cc_vcache_wrapper/caba/source/src/vci_cc_vcache_wrapper.cpp
r686 r700 2330 2330 &cache_way, 2331 2331 &cache_set, 2332 &cache_word ); 2332 &cache_word 2333 ); 2333 2334 2334 2335 r_dcache.write( r_dcache_save_cache_way.read(), … … 2921 2922 r_dcache_vci_miss_req = true; 2922 2923 r_dcache_read_for_modify = true; 2924 r_dcache_getm_hit = true; 2923 2925 r_dcache_miss_type = PROC_MISS; 2924 2926 r_dcache_fsm = DCACHE_MISS_WAIT; … … 2947 2949 r_dcache_fsm = DCACHE_MISS_SELECT; 2948 2950 r_dcache_read_for_modify = true; 2951 r_dcache_getm_hit = false; 2949 2952 } 2950 2953 else … … 6543 6546 p_vci.trdid = 0; 6544 6547 if(r_dcache_read_for_modify.read()) 6545 p_vci.pktid = TYPE_WRITE; 6548 { 6549 if(r_dcache_getm_hit.read()) 6550 p_vci.pktid = TYPE_WRITE + 0x8; 6551 else 6552 p_vci.pktid = TYPE_WRITE; 6553 6554 } 6546 6555 else 6556 { 6547 6557 p_vci.pktid = TYPE_READ_DATA_MISS; 6558 } 6548 6559 p_vci.plen = m_dcache_words << 2; 6549 6560 p_vci.cmd = vci_param::CMD_READ;
Note: See TracChangeset
for help on using the changeset viewer.