Changeset 321
- Timestamp:
- Mar 13, 2013, 6:17:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/modules/vci_cc_vcache_wrapper_dspin_coherence/caba/source/src/vci_cc_vcache_wrapper.cpp
r318 r321 1719 1719 // The return state is defined in r_icache_fsm_save. 1720 1720 { 1721 paddr_t paddr = r_cc_receive_icache_nline.read() ; // Warning : not valid in case of CLACK1721 paddr_t paddr = r_cc_receive_icache_nline.read() * m_icache_words * 4; 1722 1722 paddr_t mask = ~((m_icache_words<<2)-1); 1723 1723 … … 4341 4341 // The return state is defined in r_dcache_fsm_cc_save 4342 4342 { 4343 paddr_t paddr = r_cc_receive_dcache_nline.read() ;4343 paddr_t paddr = r_cc_receive_dcache_nline.read() * m_dcache_words * 4; 4344 4344 paddr_t mask = ~((m_dcache_words<<2)-1); 4345 4345 … … 4569 4569 r_dcache_fsm_scan_save = r_dcache_fsm.read(); 4570 4570 r_dcache_fsm = DCACHE_INVAL_TLB_SCAN; 4571 break; 4571 4572 } 4572 4573 else … … 5326 5327 5327 5328 /////////////////////////////////////////////////////////////////////////////// 5328 // C C_RECEIVE FSM5329 // C_RECEIVE FSM 5329 5330 // This FSM receive all coherence packets on a DSPIN40 port. 5330 5331 // There is 4 packet types: … … 5358 5359 r_cc_receive_fsm = CC_RECEIVE_CLACK; 5359 5360 // test for a multi updt 5360 else if(receive_type == DspinDhccpParam::TYPE_MULTI_UPDT) 5361 else if((receive_type == DspinDhccpParam::TYPE_MULTI_UPDT_DATA) or 5362 (receive_type == DspinDhccpParam::TYPE_MULTI_UPDT_INST)) 5361 5363 r_cc_receive_fsm = CC_RECEIVE_UPDT_HEADER; 5362 5364 // test for a multi inval 5363 5365 else 5364 5366 r_cc_receive_fsm = CC_RECEIVE_INVAL_HEADER; 5365 5366 5367 } 5367 5368 break; … … 5519 5520 { 5520 5521 r_cc_receive_dcache_nline = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::MULTI_UPDT_NLINE); 5521 r_cc_receive_word_idx = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::MULTI_UPDT_ NLINE);5522 r_cc_receive_word_idx = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::MULTI_UPDT_WORD_INDEX); 5522 5523 r_cc_receive_dcache_type = CC_TYPE_UPDT; 5523 5524 // get back to idle state … … 5530 5531 { 5531 5532 r_cc_receive_icache_nline = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::MULTI_UPDT_NLINE); 5532 r_cc_receive_word_idx = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::MULTI_UPDT_ NLINE);5533 r_cc_receive_word_idx = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::MULTI_UPDT_WORD_INDEX); 5533 5534 r_cc_receive_icache_type = CC_TYPE_UPDT; 5534 5535 // get back to idle state
Note: See TracChangeset
for help on using the changeset viewer.