Changeset 384 for trunk/modules/vci_cc_vcache_wrapper/caba/source
- Timestamp:
- Apr 30, 2013, 4:18:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_vcache_wrapper/caba/source/src/vci_cc_vcache_wrapper.cpp
r383 r384 96 96 "DCACHE_XTN_DT_INVAL", 97 97 98 "DCACHE_DIRTY_ PTE_GET",98 "DCACHE_DIRTY_GET_PTE", 99 99 "DCACHE_DIRTY_WAIT", 100 100 … … 1230 1230 // A cleanup request is generated for each valid line 1231 1231 { 1232 // coherence request (from CC_RECEIVE FSM) 1233 if ( r_cc_receive_icache_req.read() ) 1234 { 1235 r_icache_fsm = ICACHE_CC_CHECK; 1236 r_icache_fsm_save = r_icache_fsm.read(); 1237 break; 1238 } 1239 1232 1240 if ( not r_icache_cc_send_req.read() ) // blocked until previous cc_send request is sent 1233 1241 { … … 1249 1257 // request cleanup 1250 1258 r_icache_cc_send_req = true; 1251 r_icache_cc_send_nline = tag * m_icache_sets ;1259 r_icache_cc_send_nline = tag * m_icache_sets + set; 1252 1260 r_icache_cc_send_way = way; 1253 1261 r_icache_cc_send_type = CC_TYPE_CLEANUP; … … 3541 3549 // returns to IDLE and flush TLBs when last slot 3542 3550 { 3551 // coherence request (from CC_RECEIVE FSM) 3552 if ( r_cc_receive_dcache_req.read() ) 3553 { 3554 r_dcache_fsm = DCACHE_CC_CHECK; 3555 r_dcache_fsm_cc_save = r_dcache_fsm.read(); 3556 break; 3557 } 3558 3543 3559 if ( not r_dcache_cc_send_req.read() ) // blocked until previous cc_send request is sent 3544 3560 { … … 3560 3576 // request cleanup 3561 3577 r_dcache_cc_send_req = true; 3562 r_dcache_cc_send_nline = tag * m_dcache_sets ;3578 r_dcache_cc_send_nline = tag * m_dcache_sets + set; 3563 3579 r_dcache_cc_send_way = way; 3564 3580 r_dcache_cc_send_type = CC_TYPE_CLEANUP;
Note: See TracChangeset
for help on using the changeset viewer.